Documentation ¶
Index ¶
Constants ¶
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.
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.