Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeployment ¶
func NewDeployment(obj *v1alpha1.KubeApi) *appsv1.Deployment
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller demonstrates how to implement a controller with client-go
func NewController ¶
func NewController( indexer cache.Indexer, queue workqueue.RateLimitingInterface, informer cache.Controller, kClient kubernetes.Interface, crdClient kubeapiClientset.Interface) *Controller
NewController creates a new controller.
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh chan struct{})
Click to show internal directories.
Click to hide internal directories.