Skip to main content

lib/k8s

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.
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.

References​

CancellablePromise​

Re-exports CancellablePromise


cluster​

Renames and re-exports lib/k8s/cluster


clusterRole​

Renames and re-exports lib/k8s/clusterRole


clusterRoleBinding​

Renames and re-exports lib/k8s/clusterRoleBinding


compositePodGroup​

Renames and re-exports lib/k8s/compositePodGroup


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


deviceClass​

Renames and re-exports lib/k8s/deviceClass


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


leaderWorkerSet​

Renames and re-exports lib/k8s/leaderWorkerSet


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


podGroup​

Renames and re-exports lib/k8s/podGroup


replicaSet​

Renames and re-exports lib/k8s/replicaSet


resourceClaim​

Renames and re-exports lib/k8s/resourceClaim


role​

Renames and re-exports lib/k8s/role


roleBinding​

Renames and re-exports lib/k8s/roleBinding


schedulingWorkload​

Renames and re-exports lib/k8s/schedulingWorkload


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


useCluster​

Re-exports useCluster


useConnectApi​

Re-exports useConnectApi


useSelectedClusters​

Re-exports useSelectedClusters


volumeAttributesClass​

Renames and re-exports lib/k8s/volumeAttributesClass