Documentation
¶
Index ¶
Constants ¶
View Source
const ( SuccessfulInitializeClusterReason = "SuccessfulInitialize" SuccessfulScaleOutClusterReason = "SuccessfulScaleOut" SuccessfulScaleInClusterReason = "SuccessfulScaleIn" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New( ctx context.Context, kubeClient kubernetes.Interface, godisClient godisclientset.Interface, clusterInformer godisinformers.GodisClusterInformer, godisInformer godisinformers.GodisInformer, clusterClient GodisClusterClient) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(ctx context.Context, workers int) error
Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers. It will block until stopCh is closed, at which point it will shut down the workqueue and wait for workers to finish processing their current work items.
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
apis
|
|
godis/v1
Package v1 is the v1 version of the API.
|
Package v1 is the v1 version of the API. |
generated
|
|
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/godis/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/godis/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.