Documentation ¶
Index ¶
Constants ¶
View Source
const ( NamePrefix = "candice" PartOf = "Candice" ManagedBy = "Candice" OperatorImageReference = "tliron/candice-operator" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Config *restpkg.Config Dynamic *kubernetesutil.Dynamic Kubernetes kubernetes.Interface Candice candiceclientset.Interface Client *client.Client CachePath string StopChannel <-chan struct{} Processors *kubernetesutil.Processors Events record.EventRecorder KubernetesInformerFactory informers.SharedInformerFactory CandiceInformerFactory candiceinformers.SharedInformerFactory Devices candicelisters.DeviceLister Context contextpkg.Context Log *logging.Logger }
func NewController ¶
func NewController(context contextpkg.Context, toolName string, clusterMode bool, clusterRole string, namespace string, dynamic dynamicpkg.Interface, kubernetes kubernetes.Interface, apiExtensions apiextensionspkg.Interface, candice candiceclientset.Interface, config *restpkg.Config, informerResyncPeriod time.Duration, stopChannel <-chan struct{}) *Controller
func (*Controller) Run ¶
func (self *Controller) Run(concurrency uint, startup func()) error
func (*Controller) UpdateDeviceLastError ¶
Click to show internal directories.
Click to hide internal directories.