Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( APIService = schema.GroupVersionKind{Group: "apiregistration.k8s.io", Version: "v1", Kind: "APIService"} AppReplicaSet = schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSet"} ClusterRoleBinding = schema.GroupVersionKind{Group: "rbac.authorization.k8s.io", Version: "v1", Kind: "ClusterRoleBinding"} ClusterRole = schema.GroupVersionKind{Group: "rbac.authorization.k8s.io", Version: "v1", Kind: "ClusterRole"} ConfigMap = schema.GroupVersionKind{Version: "v1", Kind: "ConfigMap"} CronJob = schema.GroupVersionKind{Group: "batch", Version: "v1beta1", Kind: "CronJob"} CustomResourceDefinition = schema.GroupVersionKind{Group: "apiextensions.k8s.io", Version: "v1", Kind: "CustomResourceDefinition"} DaemonSet = schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSet"} Deployment = schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "Deployment"} ExtDeployment = schema.GroupVersionKind{Group: "extensions", Version: "v1beta1", Kind: "Deployment"} ExtReplicaSet = schema.GroupVersionKind{Group: "extensions", Version: "v1beta1", Kind: "ReplicaSet"} Event = schema.GroupVersionKind{Version: "v1", Kind: "Event"} HorizontalPodAutoscaler = schema.GroupVersionKind{Group: "autoscaling", Version: "v1", Kind: "HorizontalPodAutoscaler"} Ingress = schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "Ingress"} Job = schema.GroupVersionKind{Group: "batch", Version: "v1", Kind: "Job"} MutatingWebhookConfiguration = schema.GroupVersionKind{Group: "admissionregistration.k8s.io", Version: "v1", Kind: "MutatingWebhookConfiguration"} Node = schema.GroupVersionKind{Version: "v1", Kind: "Node"} Namespace = schema.GroupVersionKind{Version: "v1", Kind: "Namespace"} NetworkPolicy = schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "NetworkPolicy"} ServiceAccount = schema.GroupVersionKind{Version: "v1", Kind: "ServiceAccount"} Secret = schema.GroupVersionKind{Version: "v1", Kind: "Secret"} Service = schema.GroupVersionKind{Version: "v1", Kind: "Service"} Pod = schema.GroupVersionKind{Version: "v1", Kind: "Pod"} PodMetrics = schema.GroupVersionKind{Group: "metrics.k8s.io", Version: "v1beta1", Kind: "PodMetrics"} PersistentVolume = schema.GroupVersionKind{Version: "v1", Kind: "PersistentVolume"} PersistentVolumeClaim = schema.GroupVersionKind{Version: "v1", Kind: "PersistentVolumeClaim"} ReplicationController = schema.GroupVersionKind{Version: "v1", Kind: "ReplicationController"} StatefulSet = schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "StatefulSet"} RoleBinding = schema.GroupVersionKind{Group: "rbac.authorization.k8s.io", Version: "v1", Kind: "RoleBinding"} Role = schema.GroupVersionKind{Group: "rbac.authorization.k8s.io", Version: "v1", Kind: "Role"} ValidatingWebhookConfiguration = schema.GroupVersionKind{Group: "admissionregistration.k8s.io", Version: "v1", Kind: "ValidatingWebhookConfiguration"} StorageClass = schema.GroupVersionKind{Group: "storage.k8s.io", Version: "v1", Kind: "StorageClass"} )
Functions ¶
func CustomResource ¶ added in v0.10.0
func CustomResource(crd *unstructured.Unstructured, version string) (schema.GroupVersionKind, error)
CustomResource generates a `schema.GroupVersionKind` for a custom resource given a version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.