Documentation ¶
Index ¶
- func GetContainers(obj *unstructured.Unstructured) []map[string]interface{}
- func GetDataVolumeClaims(obj *unstructured.Unstructured) []map[string]interface{}
- func GetReplicas(obj *unstructured.Unstructured) *int32
- func GetSpec(obj *unstructured.Unstructured) map[string]interface{}
- func GetStatus(obj *unstructured.Unstructured) map[string]interface{}
- func GetTemplateSpec(obj *unstructured.Unstructured) map[string]interface{}
- func IsUpdating(obj *unstructured.Unstructured) bool
- func ObjectEqual(newUnstruct, oldUnstruct *unstructured.Unstructured) bool
- func PodTemplateEqual(newUnstruct, oldUnstruct *unstructured.Unstructured) bool
- func SetContainerImage(obj *unstructured.Unstructured, containerName, image string) error
- func SetLastAppliedConfigAnnotation(obj *unstructured.Unstructured) error
- func SetLastReplicasAnnotation(obj *unstructured.Unstructured) error
- func SetRestartTimestamp(obj *unstructured.Unstructured) error
- func SetSpecField(obj *unstructured.Unstructured, value interface{}, fields ...string) error
- func SetTemplateAnnotations(obj *unstructured.Unstructured, ann map[string]string) error
- func SetUpdatePartition(obj *unstructured.Unstructured, upgradeOrdinal, gracePeriod int64, ...) error
- func UpdateWorkload(workloadClient kube.Workload, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainers ¶
func GetContainers(obj *unstructured.Unstructured) []map[string]interface{}
func GetDataVolumeClaims ¶ added in v1.5.0
func GetDataVolumeClaims(obj *unstructured.Unstructured) []map[string]interface{}
func GetReplicas ¶
func GetReplicas(obj *unstructured.Unstructured) *int32
func GetSpec ¶
func GetSpec(obj *unstructured.Unstructured) map[string]interface{}
func GetStatus ¶
func GetStatus(obj *unstructured.Unstructured) map[string]interface{}
func GetTemplateSpec ¶
func GetTemplateSpec(obj *unstructured.Unstructured) map[string]interface{}
func IsUpdating ¶
func IsUpdating(obj *unstructured.Unstructured) bool
func ObjectEqual ¶
func ObjectEqual(newUnstruct, oldUnstruct *unstructured.Unstructured) bool
func PodTemplateEqual ¶
func PodTemplateEqual(newUnstruct, oldUnstruct *unstructured.Unstructured) bool
func SetContainerImage ¶
func SetContainerImage(obj *unstructured.Unstructured, containerName, image string) error
func SetLastAppliedConfigAnnotation ¶
func SetLastAppliedConfigAnnotation(obj *unstructured.Unstructured) error
func SetLastReplicasAnnotation ¶ added in v1.8.0
func SetLastReplicasAnnotation(obj *unstructured.Unstructured) error
func SetRestartTimestamp ¶ added in v1.8.0
func SetRestartTimestamp(obj *unstructured.Unstructured) error
func SetSpecField ¶
func SetSpecField(obj *unstructured.Unstructured, value interface{}, fields ...string) error
func SetTemplateAnnotations ¶
func SetTemplateAnnotations(obj *unstructured.Unstructured, ann map[string]string) error
func SetUpdatePartition ¶
func SetUpdatePartition( obj *unstructured.Unstructured, upgradeOrdinal, gracePeriod int64, advanced bool, ) error
func UpdateWorkload ¶
func UpdateWorkload( workloadClient kube.Workload, newUnstruct, oldUnstruct *unstructured.Unstructured, ) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.