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 ¶
MetaOwnerUIDIndexFunc indexes by owner uid.
func MetaUIDIndexFunc ¶
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 ¶
func New(name string, kubeClient kubernetes.Interface, nodesetClient nodesetclientset.Interface, nodesets nodesetinformers.NodeSetInformer, nodeclasses nodesetinformers.NodeClassInformer, nodes coreinformers.NodeInformer) (*Controller, error)
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.
Click to show internal directories.
Click to hide internal directories.