File: README.md

package info (click to toggle)
cockpit 188-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 119,768 kB
  • sloc: ansic: 66,833; xml: 5,776; python: 3,122; sh: 2,322; makefile: 1,289; sed: 7
file content (47 lines) | stat: -rw-r--r-- 1,329 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
OpenShift Object Describer
===========================

Provides extensions to the [kubernetes-object-describer](https://github.com/kubernetes-ui/object-describer) for OpenShift's resources.

#### Disclaimer
This is an early implementation and is subject to change. 

Getting Started
---------------

The OpenShift describers are provided in the openshift-object-describer bower package. To install run

```
bower install openshift-object-describer --save
```

To use the extensions include the `dist/object-describer.js`. Make sure your angular app / module includes `openshiftUI` as a module dependency.

```
angular.module('exampleApp', ['openshiftUI'])
```

To see a simple running example git clone this repo and run

```
npm install
bower install
grunt serve
```

This will install any required dependencies and then make the `index.html` example available on [http://localhost:9000](http://localhost:9000)

Usage
-----

Using the existing describers:

```
<!-- Build describer -->
<kubernetes-object-describer resource="k8s-API-JSON-Object" more-details-link="optional/path/to/more/details.html" kind="Build"></kubernetes-object-describer>
```

Theme
-----

The example theme used in `index.html` is based on bootstrap, however bootstrap is not required as a bower dependency and you can change the theme however you want.