Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventAdd EventType = "add" EventUpdate EventType = "update" EventForceUpdate EventType = "forceupdate" EventDelete EventType = "delete" ObjectTypeTridentBackendConfig ObjectType = "trident-backend-config" ObjectTypeTridentBackend ObjectType = "trident-backend" ObjectTypeSecret ObjectType = "secret" ObjectTypeTridentMirrorRelationship ObjectType = "mirror-relationship" ObjectTypeTridentSnapshotInfo ObjectType = "snapshot-info" OperationStatusSuccess string = "Success" OperationStatusFailed string = "Failed" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ObjectType ¶
type ObjectType string
type ResourceType ¶
type ResourceType string
type TridentCrdController ¶
type TridentCrdController struct {
// contains filtered or unexported fields
}
TridentCrdController is the controller implementation for Trident's CRD resources
func NewTridentCrdController ¶
func NewTridentCrdController( orchestrator core.Orchestrator, masterURL, kubeConfigPath string, ) (*TridentCrdController, error)
NewTridentCrdController returns a new Trident CRD controller frontend
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{})
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.