Documentation ¶
Index ¶
- func Annotations(object k8sutil.Object) map[string]string
- func GVK(object k8sutil.Object) schema.GroupVersionKind
- func Labels(object k8sutil.Object) map[string]string
- func PodSpec(obj k8sutil.Object) (coreV1.PodSpec, bool)
- func PodTemplateSpec(obj k8sutil.Object) (coreV1.PodTemplateSpec, bool)
- func Replicas(obj k8sutil.Object) (int32, bool)
- func Selector(obj k8sutil.Object) (*metaV1.LabelSelector, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Annotations ¶
Annotations extracts annotations from the given object.
func GVK ¶
func GVK(object k8sutil.Object) schema.GroupVersionKind
GVK extracts the GroupVersionKind of an object.
func PodTemplateSpec ¶
func PodTemplateSpec(obj k8sutil.Object) (coreV1.PodTemplateSpec, bool)
PodTemplateSpec extracts a pod template spec from the given object, if available.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.