Documentation ¶
Index ¶
- Variables
- func GetConfig(config string)
- func GetLeases(config string)
- func GetNodes(config string)
- func GetNodes2(config string)
- func GetPods(namespace string, allnamespaces bool, config string)
- func GetResources()
- func GetResourcesByGVR(config string)
- func GetSources(config string)
- func TTTTTT(config string)
- type DescriberSettings
- type RegoRulesList
Constants ¶
This section is empty.
Variables ¶
View Source
var ResourceGroupMapping = map[string]string{
"services": "/v1",
"pods": "/v1",
"replicationcontrollers": "/v1",
"podtemplates": "/v1",
"namespaces": "/v1",
"nodes": "/v1",
"configmaps": "/v1",
"secrets": "/v1",
"serviceaccounts": "/v1",
"persistentvolumeclaims": "/v1",
"limitranges": "/v1",
"resourcequotas": "/v1",
"daemonsets": "apps/v1",
"deployments": "apps/v1",
"replicasets": "apps/v1",
"statefulsets": "apps/v1",
"controllerrevisions": "apps/v1",
"jobs": "batch/v1",
"cronjobs": "batch/v1beta1",
"horizontalpodautoscalers": "autoscaling/v1",
"ingresses": "extensions/v1beta1",
"networkpolicies": "networking.k8s.io/v1",
"clusterroles": "rbac.authorization.k8s.io/v1",
"clusterrolebindings": "rbac.authorization.k8s.io/v1",
"roles": "rbac.authorization.k8s.io/v1",
"rolebindings": "rbac.authorization.k8s.io/v1",
"mutatingwebhookconfigurations": "admissionregistration.k8s.io/v1",
"validatingwebhookconfigurations": "admissionregistration.k8s.io/v1",
}
Functions ¶
func GetResources ¶
func GetResources()
func GetResourcesByGVR ¶
func GetResourcesByGVR(config string)
func GetSources ¶
func GetSources(config string)
Types ¶
type DescriberSettings ¶
type RegoRulesList ¶
type RegoRulesList struct {
RegoRules []string
}
Click to show internal directories.
Click to hide internal directories.