Skip to main content

lib/k8s

Type Aliases​

Type AliasDescription
CancellablePromise-

Variables​

VariableDescription
ResourceClasses-

Functions​

FunctionDescription
getVersionGets the version of the cluster given by the parameter.
labelSelectorToQuerySee [selector examples](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#list-and-watch-filtering
matchExpressionSimplifierSimplifies a matchExpressions array into an array of string representations.
matchLabelsSimplifierSimplifies a matchLabels object into an array of string expressions.
useClusterGet the currently selected cluster name.
useClustersConfHook for getting or fetching the clusters configuration. This gets the clusters from the redux store. The redux store is updated when the user changes the configuration. The configuration is stored in the local storage. When stateless clusters are present, it combines the stateless clusters with the clusters from the redux store.
useClustersVersionHook to get the version of the clusters given by the parameter.
useConnectApiHook to manage multiple cancellable API calls tied to the active cluster.
useSelectedClustersGet a list of selected clusters. Updates when the cluster changes.

References​

cluster​

Renames and re-exports lib/k8s/cluster


clusterRole​

Renames and re-exports lib/k8s/clusterRole


clusterRoleBinding​

Renames and re-exports lib/k8s/clusterRoleBinding


configMap​

Renames and re-exports lib/k8s/configMap


controllerRevision​

Renames and re-exports lib/k8s/controllerRevision


crd​

Renames and re-exports lib/k8s/crd


cronJob​

Renames and re-exports lib/k8s/cronJob


daemonSet​

Renames and re-exports lib/k8s/daemonSet


deployment​

Renames and re-exports lib/k8s/deployment


event​

Renames and re-exports lib/k8s/event


ingress​

Renames and re-exports lib/k8s/ingress


ingressClass​

Renames and re-exports lib/k8s/ingressClass


job​

Renames and re-exports lib/k8s/job


jobSet​

Renames and re-exports lib/k8s/jobSet


namespace​

Renames and re-exports lib/k8s/namespace


node​

Renames and re-exports lib/k8s/node


persistentVolume​

Renames and re-exports lib/k8s/persistentVolume


persistentVolumeClaim​

Renames and re-exports lib/k8s/persistentVolumeClaim


pod​

Renames and re-exports lib/k8s/pod


replicaSet​

Renames and re-exports lib/k8s/replicaSet


role​

Renames and re-exports lib/k8s/role


roleBinding​

Renames and re-exports lib/k8s/roleBinding


secret​

Renames and re-exports lib/k8s/secret


service​

Renames and re-exports lib/k8s/service


serviceAccount​

Renames and re-exports lib/k8s/serviceAccount


statefulSet​

Renames and re-exports lib/k8s/statefulSet


storageClass​

Renames and re-exports lib/k8s/storageClass


volumeAttributesClass​

Renames and re-exports lib/k8s/volumeAttributesClass