labelmanager

package
v1.11.9 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package labelmanager includes internal functions used to add/delete labels to kubernetes nodes for corresponding CSI drivers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	AddLabels(driverName string, driverNodeId string) error
}

Interface implements an interface for managing labels of a node

func NewLabelManager

func NewLabelManager(nodeName types.NodeName, kubeClient kubernetes.Interface) Interface

NewLabelManager initializes labelManagerStruct and returns available interfaces

Jump to

Keyboard shortcuts

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