nodeconfig

package
v2.1.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 21 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 {
	Deps

	CrdClient *crdClientSet.Clientset
	APIClient *apiextcs.Clientset
	// contains filtered or unexported fields
}

Controller struct defines how a controller should encapsulate logging, client connectivity, informing (list and watching) queueing, and handling of resource changes

func (*Controller) HasSynced

func (c *Controller) HasSynced() bool

HasSynced indicates when the controller is synced up with the K8s.

func (*Controller) Init

func (c *Controller) Init() error

Init performs the initialization of NodeConfig Controller

func (*Controller) Run

func (c *Controller) Run(ctx <-chan struct{})

Run this in the plugin_crd_impl, it's the controller loop

type Deps

type Deps struct {
	Log     logging.Logger
	Publish *kvdbsync.Plugin // KeyProtoValWriter does not define Delete
}

Deps defines dependencies for the CRD plugin

type Event

type Event struct {
	// contains filtered or unexported fields
}

Event indicate the informerEvent

Jump to

Keyboard shortcuts

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