labelmanager

package
v1.11.4-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2018 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) 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