Documentation ¶
Index ¶
Constants ¶
View Source
const (
// UIDIndex is the name for the uid index function
UIDIndex = "uid"
)
Variables ¶
This section is empty.
Functions ¶
func MetaUIDIndexFunc ¶
MetaUIDIndexFunc indexes by uid.
Types ¶
type Cluster ¶
type Cluster struct {
ProjectID, Zone, ID string
}
Cluster contains information about a GKE cluster
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a nodeset controller for GKE node pools
func New ¶
func New(name string, clusterID string, clusterZone string, projectID string, client nodesetclientset.Interface, nodesets nodesetinformers.NodeSetInformer) (*Controller, error)
New returns a instance of the GKE 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.