Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnotationKeySyncedAtVersion is used to tag destination resources with the resource version of // source. AnnotationKeySyncedAtVersion = "galley.istio.io/synced-at-version" // KubectlLastAppliedConfiguration is used by Kubernetes/kubectl. We remove them from the destination // resources to avoid confusing tools. KubectlLastAppliedConfiguration = "kubectl.kubernetes.io/last-applied-configuration" )
Variables ¶
View Source
var KnownAnnotations = []string{AnnotationKeySyncedAtVersion, KubectlLastAppliedConfiguration}
KnownAnnotations is as its name implies.
Functions ¶
Types ¶
type Kube ¶
type Kube interface { CustomResourceDefinitionInterface() (v1beta1.CustomResourceDefinitionInterface, error) DynamicInterface(gv schema.GroupVersion, kind string, listKind string) (dynamic.Interface, error) KubernetesInterface() (kubernetes.Interface, error) }
Kube interface allows access to the Kubernetes API Service methods. It is mainly used for test/injection purposes
Click to show internal directories.
Click to hide internal directories.