node

package
v0.0.0-...-6a55101 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UIDIndex is the name for the uid index function
	UIDIndex = "uid"
	// OwnerUIDIndex is the name for the owner uid index function
	OwnerUIDIndex = "owner-uid"
)

Variables

This section is empty.

Functions

func MetaOwnerUIDIndexFunc

func MetaOwnerUIDIndexFunc(obj interface{}) ([]string, error)

MetaOwnerUIDIndexFunc indexes by owner uid.

func MetaUIDIndexFunc

func MetaUIDIndexFunc(obj interface{}) ([]string, error)

MetaUIDIndexFunc indexes by uid.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller is a generic implementation of a nodeset controller which creates node resources

func New

New returns a instance of the node nodeset controller

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{})

Run starts the control loop. This method is blocking.

Jump to

Keyboard shortcuts

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