Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyReplica ¶
func ApplyReplica(workload *unstructured.Unstructured, desireReplica int64, field string) error
ApplyReplica applies the Replica value for the specific field.
func ConvertToTypedObject ¶
func ConvertToTypedObject(in, out interface{}) error
ConvertToTypedObject converts an unstructured object to typed.
func ToUnstructured ¶
func ToUnstructured(obj interface{}) (*unstructured.Unstructured, error)
ToUnstructured converts a typed object to an unstructured object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.