Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "Trident Orchestrator" ControllerVersion = "0.1" CRDName = "TridentOrchestrator" Operator = "trident-operator.netapp.io" CacheSyncPeriod = 300 * time.Second AppStatusNotInstalled AppStatus = "" // default AppStatusInstalling AppStatus = "Installing" // Set only on controlling CR AppStatusInstalled AppStatus = "Installed" // Set only on controlling CR AppStatusUninstalling AppStatus = "Uninstalling" // Set only on controlling CR AppStatusUninstalled AppStatus = "Uninstalled" // Set only on controlling CR AppStatusFailed AppStatus = "Failed" // Set only on controlling CR AppStatusUpdating AppStatus = "Updating" // Set only on controlling CR AppStatusError AppStatus = "Error" // Should not be set on controlling CR ResourceTridentOrchestratorCR ResourceType = "resourceTridentOrchestratorCR" ResourceDeployment ResourceType = "resourceDeployment" ResourceDaemonSet ResourceType = "resourceDaemonset" TridentOrchestratorCRDName = "tridentorchestrators.trident.netapp.io" TridentProvisionersCRDName = "tridentprovisioners.trident.netapp.io" UninstallationNote = ". NOTE: This CR has uninstalled status; delete this CR to allow new Trident installation." K8sVersionCheckSupportWarning = "Warning: Trident is running on an unsupported version of Kubernetes; %s. " + "NetApp will not take Support calls or open Support tickets when using Trident with an unsupported version " + "of Kubernetes." )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
func NewController ¶
func NewController(clients *clients.Clients) (*Controller, error)
func (*Controller) Activate ¶
func (c *Controller) Activate() error
func (*Controller) Deactivate ¶
func (c *Controller) Deactivate() error
func (*Controller) GetName ¶
func (c *Controller) GetName() string
func (*Controller) Version ¶
func (c *Controller) Version() string
type ResourceType ¶
type ResourceType string // If Operator starts to List and Watch other CR types, this can be used to differentiate.
Directories ¶
Path | Synopsis |
---|---|
apis
|
|
client
|
|
clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/netapp/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/netapp/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.