Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GVR = map[string]schema.GroupVersionResource{
"c-role": {Group: "rbac.authorization.k8s.io", Version: "v1", Resource: "clusterroles"},
"crb": {Group: "rbac.authorization.k8s.io", Version: "v1", Resource: "clusterrolebindings"},
"crd": {Group: "apiextensions.k8s.io", Version: "v1", Resource: "customresourcedefinitions"},
"ic": {Group: "networking.k8s.io", Version: "v1", Resource: "ingressclasses"},
"no": {Version: "v1", Resource: "nodes"},
"pv": {Version: "v1", Resource: "persistentvolumes"},
"sc": {Group: "storage.k8s.io", Version: "v1", Resource: "storageclasses"},
"cm": {Version: "v1", Resource: "configmaps"},
"cronjob": {Group: "batch", Version: "v1", Resource: "cronjobs"},
"ds": {Group: "apps", Version: "v1", Resource: "daemonsets"},
"deploy": {Group: "apps", Version: "v1", Resource: "deployments"},
"ev": {Version: "v1", Resource: "events"},
"ing": {Group: "networking.k8s.io", Version: "v1", Resource: "ingresses"},
"job": {Group: "batch", Version: "v1", Resource: "jobs"},
"netpol": {Group: "networking.k8s.io", Version: "v1", Resource: "networkpolicies"},
"pvc": {Version: "v1", Resource: "persistentvolumeclaims"},
"pod": {Version: "v1", Resource: "pods"},
"rs": {Group: "apps", Version: "v1", Resource: "replicasets"},
"rc": {Version: "v1", Resource: "replicationcontrollers"},
"role": {Group: "rbac.authorization.k8s.io", Version: "v1", Resource: "roles"},
"rb": {Group: "rbac.authorization.k8s.io", Version: "v1", Resource: "rolebindings"},
"secret": {Version: "v1", Resource: "secrets"},
"svc": {Version: "v1", Resource: "services"},
"sa": {Version: "v1", Resource: "serviceaccounts"},
"sts": {Group: "apps", Version: "v1", Resource: "statefulsets"},
}
Functions ¶
func RandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.