Documentation ¶
Index ¶
- func LabelPatch(labels map[string]string) ([]byte, error)
- func LabelPatchWithDelete(labels map[string]*string) ([]byte, error)
- func LabelsToAzureResource(namespacedName types.NamespacedName, computeResource azrsrc.ComputeResource, ...) (map[string]*string, error)
- func TagsToNodes(namespacedName types.NamespacedName, computeResource azrsrc.ComputeResource, ...) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LabelsToAzureResource ¶
func LabelsToAzureResource(namespacedName types.NamespacedName, computeResource azrsrc.ComputeResource, node *corev1.Node, configOptions *options.ConfigOptions, log logr.Logger, recorder record.EventRecorder) (map[string]*string, error)
func TagsToNodes ¶
func TagsToNodes(namespacedName types.NamespacedName, computeResource azrsrc.ComputeResource, node *corev1.Node, configOptions *options.ConfigOptions, log logr.Logger, recorder record.EventRecorder) ([]byte, error)
return patch with new labels, if any, otherwise return nil for no new labels or an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.