Documentation ¶
Index ¶
Constants ¶
View Source
const ( InstanceMetadataSecretName = "replicated-meta-data" InstanceTagSecretKey = "instance-tag-data" )
Variables ¶
View Source
var ( ErrInstanceTagDataIsEmpty = errors.New("instance tag data is empty") ErrInstanceTagDataSecretNotFound = errors.New("instance tag secret not found") )
Functions ¶
func Get ¶
func Get(ctx context.Context, clientset kubernetes.Interface, namespace string) (*types.InstanceTagData, error)
func Save ¶
func Save(ctx context.Context, clientset kubernetes.Interface, namespace string, tdata types.InstanceTagData) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.