Documentation ¶
Index ¶
- func ConvertToConfigV1(unstructuredConfig *unstructured.Unstructured) *cnaov1.NetworkAddonsConfig
- func ConvertToConfigV1alpha1(unstructuredConfig *unstructured.Unstructured) *cnaov1alpha1.NetworkAddonsConfig
- func CreateConfig(gvk schema.GroupVersionKind, configSpec cnao.NetworkAddonsConfigSpec)
- func DeleteConfig(gvk schema.GroupVersionKind)
- func GetCnaoV1GroupVersionKind() schema.GroupVersionKind
- func GetCnaoV1alpha1GroupVersionKind() schema.GroupVersionKind
- func GetConfig(gvk schema.GroupVersionKind) *unstructured.Unstructured
- func GetConfigStatus(gvk schema.GroupVersionKind) *cnao.NetworkAddonsConfigStatus
- func ScaleDeployment(deploymentName, deploymentNamespace string, replicas int32)
- func UpdateConfig(gvk schema.GroupVersionKind, configSpec cnao.NetworkAddonsConfigSpec)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToConfigV1 ¶ added in v0.43.0
func ConvertToConfigV1(unstructuredConfig *unstructured.Unstructured) *cnaov1.NetworkAddonsConfig
func ConvertToConfigV1alpha1 ¶ added in v0.43.0
func ConvertToConfigV1alpha1(unstructuredConfig *unstructured.Unstructured) *cnaov1alpha1.NetworkAddonsConfig
func CreateConfig ¶
func CreateConfig(gvk schema.GroupVersionKind, configSpec cnao.NetworkAddonsConfigSpec)
func DeleteConfig ¶
func DeleteConfig(gvk schema.GroupVersionKind)
func GetCnaoV1GroupVersionKind ¶ added in v0.43.0
func GetCnaoV1GroupVersionKind() schema.GroupVersionKind
func GetCnaoV1alpha1GroupVersionKind ¶ added in v0.43.0
func GetCnaoV1alpha1GroupVersionKind() schema.GroupVersionKind
func GetConfig ¶
func GetConfig(gvk schema.GroupVersionKind) *unstructured.Unstructured
func GetConfigStatus ¶ added in v0.43.0
func GetConfigStatus(gvk schema.GroupVersionKind) *cnao.NetworkAddonsConfigStatus
func ScaleDeployment ¶ added in v0.65.7
func UpdateConfig ¶
func UpdateConfig(gvk schema.GroupVersionKind, configSpec cnao.NetworkAddonsConfigSpec)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.