nodeconfig

package
v1.5.1-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: Apache-2.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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