crd

package
v19.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SuccessSynced is used as part of the Event 'reason' when a CRD is synced
	SuccessSynced = "Synced"

	// MessageResourceSynced is the message used for an Event fired when a CRD is synced successfully
	MessageResourceSynced = "CRD synced successfully"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CrdPlugin

type CrdPlugin interface {
	frontend.Plugin
}

type TridentCrdController

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

TridentCrdController is the controller implementation for Trident's CRD resources

func NewTridentCrdController

func NewTridentCrdController(o core.Orchestrator, apiServerIP, kubeConfigPath string) (*TridentCrdController, error)

func NewTridentCrdControllerInCluster

func NewTridentCrdControllerInCluster(o core.Orchestrator) (*TridentCrdController, error)

func (*TridentCrdController) Activate

func (c *TridentCrdController) Activate() error

func (*TridentCrdController) Deactivate

func (c *TridentCrdController) Deactivate() error

func (*TridentCrdController) GetName

func (c *TridentCrdController) GetName() string

func (*TridentCrdController) Run

func (c *TridentCrdController) Run(threadiness int, stopCh <-chan struct{}) error

Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers. It will block until stopCh is closed, at which point it will shutdown the workqueue and wait for workers to finish processing their current work items.

func (*TridentCrdController) Version

func (c *TridentCrdController) Version() string

Jump to

Keyboard shortcuts

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