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 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
Click to show internal directories.
Click to hide internal directories.