Help us shape the future of Go! Take the 2026 Go Developer Survey

orchestrator

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

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 AppStatus

type AppStatus string

type Controller

type Controller struct {
	*clients.Clients
	// contains filtered or unexported fields
}

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 KeyItem

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

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.

Jump to

Keyboard shortcuts

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