initializer

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultElasticsearchStorageClass = "tigera-elasticsearch"
	TigeraStatusName                 = "log-storage"

	TigeraStatusLogStorageKubeController = "log-storage-kubecontrollers"
	TigeraStatusLogStorageAccess         = "log-storage-access"
	TigeraStatusLogStorageElastic        = "log-storage-elastic"
	TigeraStatusLogStorageSecrets        = "log-storage-secrets"
	TigeraStatusLogStorageUsers          = "log-storage-users"
	TigeraStatusLogStorageESMetrics      = "log-storage-esmetrics"
	TigeraStatusLogStorageDashboards     = "log-storage-dashboards"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, opts options.AddOptions) error

Add creates a new LogStorage Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddConditionsController

func AddConditionsController(mgr manager.Manager, opts options.AddOptions) error

func FillDefaults

func FillDefaults(opr *operatorv1.LogStorage)

FillDefaults populates the default values onto an LogStorage object.

Types

type LogStorageConditions

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

LogStorageConditions implements a controller that monitors the status of various log storage related TigeraStatus objects and updates the LogStorage object's status conditions accordingly.

func (*LogStorageConditions) Reconcile

type LogStorageInitializer

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

LogStorageInitializer is responsible for performing validation and defaulting on the LogStorage object, and creating the base namespaces for other controllers to deploy into. It updates the status of the LogStorage object to indicate that it has completed its work to other controllers.

func (*LogStorageInitializer) Reconcile

Jump to

Keyboard shortcuts

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