Documentation ¶
Index ¶
Constants ¶
View Source
const ( PodType = "pod" ClusterType = "cluster" EventType = "event" NodeType = "node" DeploymentType = "deployment" StatefulsetType = "statefulset" DaemonsetType = "daemonset" CronjobType = "cronjob" JobType = "job" NamespaceType = "namespace" ServiceType = "service" IngressType = "ingress" NetworkPolicyType = "networkpolicy" EndpointType = "endpoints" ServiceAccountType = "serviceaccount" RoleBindingType = "rolebinding" ClusterRoleBindingType = "clusterrolebinding" RoleType = "role" ClusterRoleType = "clusterrole" ConfigMapType = "configmap" SecretType = "secret" HpaType = "horizontalPodAutoscaler" PersistentVolumeClaimType = "persistentVolumeClaim" PersistentVolumeType = "persistentVolume" StorageClassType = "storageclass" HelmType = "helm" CustomResourceDefinitionType = "crd" CustomResourceType = "cr" )
View Source
const ( WatchAction = "watch" ListAction = "list" GetAction = "get" CreateAction = "create" DeleteAction = "delete" UpdateAction = "update" ApplyAction = "apply" PatchAction = "patch" ExecAction = "exec" StdinAction = "stdin" LogAction = "log" CloseSession = "close_session" )
View Source
const ServerVersion16 = "v1.16.0"
View Source
const ServerVersion17 = "v1.17.0"
View Source
const ServerVersion19 = "v1.19.0"
View Source
const ServerVersion21 = "v1.21.0"
View Source
const ServerVersion22 = "v1.22.0"
Variables ¶
View Source
var ProjectLabelSelector = &metav1.LabelSelector{ MatchLabels: map[string]string{"kubespace.cn/belong-to": "project"}, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.