aranya

package
v0.0.0-...-735b8cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL