Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller to reconcile aranya self related resouces in POD_NAMESPACE when elected as leader
func NewController ¶
func NewController( appCtx context.Context, logger log.Interface, kubeClient kubernetes.Interface, edCtrl *edgedevice.Controller, ) (*Controller, error)
func (*Controller) OnEjected ¶
func (c *Controller) OnEjected()
func (*Controller) OnElected ¶
func (c *Controller) OnElected(ctx context.Context)
func (*Controller) OnNewLeader ¶
func (c *Controller) OnNewLeader(podName string)
func (*Controller) Start ¶
func (c *Controller) Start() error
Click to show internal directories.
Click to hide internal directories.