labelsync

package
v0.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LabelPatch

func LabelPatch(labels map[string]string) ([]byte, error)

func LabelPatchWithDelete

func LabelPatchWithDelete(labels map[string]*string) ([]byte, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL