Skip to content

Commit

Permalink
docs: Generate api/ docs from latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
illume committed Jul 13, 2022
1 parent f70c878 commit f24d3d9
Show file tree
Hide file tree
Showing 94 changed files with 1,996 additions and 586 deletions.
1 change: 1 addition & 0 deletions docs/development/api/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ slug: "_index"
- [lib/k8s/serviceAccount](modules/lib_k8s_serviceAccount.md)
- [lib/k8s/statefulSet](modules/lib_k8s_statefulSet.md)
- [lib/k8s/storageClass](modules/lib_k8s_storageClass.md)
- [lib/k8s/token](modules/lib_k8s_token.md)
- [lib/router](modules/lib_router.md)
- [lib/util](modules/lib_util.md)
- [plugin/lib](modules/plugin_lib.md)
Expand Down
20 changes: 10 additions & 10 deletions docs/development/api/classes/lib_k8s_clusterRole.ClusterRole.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ slug: "lib_k8s_clusterRole.ClusterRole"

#### Defined in

[lib/k8s/cluster.ts:76](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L76)
[lib/k8s/cluster.ts:76](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L76)

## Properties

Expand All @@ -56,7 +56,7 @@ slug: "lib_k8s_clusterRole.ClusterRole"

#### Defined in

[lib/k8s/clusterRole.ts:5](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/clusterRole.ts#L5)
[lib/k8s/clusterRole.ts:5](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/clusterRole.ts#L5)

___

Expand All @@ -70,7 +70,7 @@ ___

#### Defined in

[lib/k8s/cluster.ts:77](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L77)
[lib/k8s/cluster.ts:77](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L77)

## Accessors

Expand All @@ -84,7 +84,7 @@ ___

#### Defined in

[lib/k8s/clusterRole.ts:7](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/clusterRole.ts#L7)
[lib/k8s/clusterRole.ts:7](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/clusterRole.ts#L7)

___

Expand All @@ -102,7 +102,7 @@ Role.rules

#### Defined in

[lib/k8s/role.ts:17](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/role.ts#L17)
[lib/k8s/role.ts:17](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/role.ts#L17)

## Methods

Expand All @@ -126,7 +126,7 @@ Role.rules

#### Defined in

[lib/k8s/cluster.ts:60](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L60)
[lib/k8s/cluster.ts:60](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L60)

___

Expand All @@ -150,7 +150,7 @@ ___

#### Defined in

[lib/k8s/cluster.ts:75](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L75)
[lib/k8s/cluster.ts:75](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L75)

___

Expand All @@ -177,7 +177,7 @@ ___

#### Defined in

[lib/k8s/cluster.ts:66](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L66)
[lib/k8s/cluster.ts:66](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L66)

___

Expand All @@ -203,7 +203,7 @@ ___

#### Defined in

[lib/k8s/cluster.ts:61](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L61)
[lib/k8s/cluster.ts:61](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L61)

___

Expand All @@ -227,4 +227,4 @@ ___

#### Defined in

[lib/k8s/cluster.ts:72](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L72)
[lib/k8s/cluster.ts:72](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L72)
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ slug: "lib_k8s_clusterRoleBinding.ClusterRoleBinding"

#### Defined in

[lib/k8s/cluster.ts:76](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L76)
[lib/k8s/cluster.ts:76](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L76)

## Properties

Expand All @@ -56,7 +56,7 @@ slug: "lib_k8s_clusterRoleBinding.ClusterRoleBinding"

#### Defined in

[lib/k8s/clusterRoleBinding.ts:5](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/clusterRoleBinding.ts#L5)
[lib/k8s/clusterRoleBinding.ts:5](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/clusterRoleBinding.ts#L5)

## Accessors

Expand All @@ -70,7 +70,7 @@ slug: "lib_k8s_clusterRoleBinding.ClusterRoleBinding"

#### Defined in

[lib/k8s/clusterRoleBinding.ts:11](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/clusterRoleBinding.ts#L11)
[lib/k8s/clusterRoleBinding.ts:11](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/clusterRoleBinding.ts#L11)

___

Expand All @@ -88,7 +88,7 @@ RoleBinding.roleRef

#### Defined in

[lib/k8s/roleBinding.ts:21](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/roleBinding.ts#L21)
[lib/k8s/roleBinding.ts:21](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/roleBinding.ts#L21)

___

Expand All @@ -106,7 +106,7 @@ RoleBinding.subjects

#### Defined in

[lib/k8s/roleBinding.ts:25](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/roleBinding.ts#L25)
[lib/k8s/roleBinding.ts:25](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/roleBinding.ts#L25)

___

Expand All @@ -124,7 +124,7 @@ RoleBinding.className

#### Defined in

[lib/k8s/clusterRoleBinding.ts:7](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/clusterRoleBinding.ts#L7)
[lib/k8s/clusterRoleBinding.ts:7](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/clusterRoleBinding.ts#L7)

## Methods

Expand All @@ -148,7 +148,7 @@ RoleBinding.className

#### Defined in

[lib/k8s/cluster.ts:60](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L60)
[lib/k8s/cluster.ts:60](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L60)

___

Expand All @@ -172,7 +172,7 @@ ___

#### Defined in

[lib/k8s/cluster.ts:75](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L75)
[lib/k8s/cluster.ts:75](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L75)

___

Expand All @@ -199,7 +199,7 @@ ___

#### Defined in

[lib/k8s/cluster.ts:66](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L66)
[lib/k8s/cluster.ts:66](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L66)

___

Expand All @@ -225,7 +225,7 @@ ___

#### Defined in

[lib/k8s/cluster.ts:61](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L61)
[lib/k8s/cluster.ts:61](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L61)

___

Expand All @@ -249,4 +249,4 @@ ___

#### Defined in

[lib/k8s/cluster.ts:72](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L72)
[lib/k8s/cluster.ts:72](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L72)
26 changes: 17 additions & 9 deletions docs/development/api/classes/lib_k8s_configMap.ConfigMap.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ makeKubeObject<KubeConfigMap\>('configMap').constructor

#### Defined in

[lib/k8s/cluster.ts:76](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L76)
[lib/k8s/cluster.ts:76](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L76)

## Properties

Expand All @@ -42,9 +42,17 @@ makeKubeObject<KubeConfigMap\>('configMap').constructor

[other: `string`]: `any`

#### Type declaration

| Name | Type |
| :------ | :------ |
| `scale?` | { `get`: (`namespace`: `string`, `name`: `string`) => `Promise`<`any`\> ; `put`: (`body`: { `metadata`: [`KubeMetadata`](../interfaces/lib_k8s_cluster.KubeMetadata.md) ; `spec`: { `replicas`: `number` } }) => `Promise`<`any`\> } |
| `scale.get` | (`namespace`: `string`, `name`: `string`) => `Promise`<`any`\> |
| `scale.put` | (`body`: { `metadata`: [`KubeMetadata`](../interfaces/lib_k8s_cluster.KubeMetadata.md) ; `spec`: { `replicas`: `number` } }) => `Promise`<`any`\> |

#### Defined in

[lib/k8s/configMap.ts:9](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/configMap.ts#L9)
[lib/k8s/configMap.ts:9](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/configMap.ts#L9)

___

Expand All @@ -58,7 +66,7 @@ makeKubeObject<KubeConfigMap\>('configMap').className

#### Defined in

[lib/k8s/cluster.ts:77](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L77)
[lib/k8s/cluster.ts:77](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L77)

## Accessors

Expand All @@ -72,7 +80,7 @@ makeKubeObject<KubeConfigMap\>('configMap').className

#### Defined in

[lib/k8s/configMap.ts:11](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/configMap.ts#L11)
[lib/k8s/configMap.ts:11](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/configMap.ts#L11)

## Methods

Expand All @@ -96,7 +104,7 @@ makeKubeObject<KubeConfigMap\>('configMap').apiList

#### Defined in

[lib/k8s/cluster.ts:60](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L60)
[lib/k8s/cluster.ts:60](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L60)

___

Expand All @@ -120,7 +128,7 @@ makeKubeObject<KubeConfigMap\>('configMap').getErrorMessage

#### Defined in

[lib/k8s/cluster.ts:75](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L75)
[lib/k8s/cluster.ts:75](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L75)

___

Expand All @@ -147,7 +155,7 @@ makeKubeObject<KubeConfigMap\>('configMap').useApiGet

#### Defined in

[lib/k8s/cluster.ts:66](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L66)
[lib/k8s/cluster.ts:66](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L66)

___

Expand All @@ -173,7 +181,7 @@ makeKubeObject<KubeConfigMap\>('configMap').useApiList

#### Defined in

[lib/k8s/cluster.ts:61](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L61)
[lib/k8s/cluster.ts:61](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L61)

___

Expand All @@ -197,4 +205,4 @@ makeKubeObject<KubeConfigMap\>('configMap').useList

#### Defined in

[lib/k8s/cluster.ts:72](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L72)
[lib/k8s/cluster.ts:72](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L72)
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ makeKubeObject<KubeCRD\>('crd').constructor

#### Defined in

[lib/k8s/cluster.ts:76](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L76)
[lib/k8s/cluster.ts:76](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L76)

## Properties

Expand All @@ -52,7 +52,7 @@ makeKubeObject<KubeCRD\>('crd').constructor

#### Defined in

[lib/k8s/crd.ts:35](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/crd.ts#L35)
[lib/k8s/crd.ts:35](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/crd.ts#L35)

## Accessors

Expand All @@ -66,7 +66,7 @@ makeKubeObject<KubeCRD\>('crd').constructor

#### Defined in

[lib/k8s/crd.ts:48](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/crd.ts#L48)
[lib/k8s/crd.ts:48](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/crd.ts#L48)

___

Expand All @@ -80,7 +80,7 @@ ___

#### Defined in

[lib/k8s/crd.ts:44](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/crd.ts#L44)
[lib/k8s/crd.ts:44](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/crd.ts#L44)

___

Expand All @@ -94,7 +94,7 @@ ___

#### Defined in

[lib/k8s/crd.ts:52](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/crd.ts#L52)
[lib/k8s/crd.ts:52](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/crd.ts#L52)

___

Expand All @@ -112,7 +112,7 @@ makeKubeObject&lt;KubeCRD\&gt;(&#x27;crd&#x27;).className

#### Defined in

[lib/k8s/crd.ts:40](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/crd.ts#L40)
[lib/k8s/crd.ts:40](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/crd.ts#L40)

## Methods

Expand All @@ -136,7 +136,7 @@ makeKubeObject<KubeCRD\>('crd').apiList

#### Defined in

[lib/k8s/cluster.ts:60](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L60)
[lib/k8s/cluster.ts:60](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L60)

___

Expand All @@ -160,7 +160,7 @@ makeKubeObject<KubeCRD\>('crd').getErrorMessage

#### Defined in

[lib/k8s/cluster.ts:75](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L75)
[lib/k8s/cluster.ts:75](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L75)

___

Expand All @@ -187,7 +187,7 @@ makeKubeObject<KubeCRD\>('crd').useApiGet

#### Defined in

[lib/k8s/cluster.ts:66](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L66)
[lib/k8s/cluster.ts:66](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L66)

___

Expand All @@ -213,7 +213,7 @@ makeKubeObject<KubeCRD\>('crd').useApiList

#### Defined in

[lib/k8s/cluster.ts:61](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L61)
[lib/k8s/cluster.ts:61](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L61)

___

Expand All @@ -237,4 +237,4 @@ makeKubeObject<KubeCRD\>('crd').useList

#### Defined in

[lib/k8s/cluster.ts:72](https://github.com/kinvolk/headlamp/blob/2fb68817/frontend/src/lib/k8s/cluster.ts#L72)
[lib/k8s/cluster.ts:72](https://github.com/kinvolk/headlamp/blob/f70c8787/frontend/src/lib/k8s/cluster.ts#L72)
Loading

0 comments on commit f24d3d9

Please sign in to comment.