package
1.39.0-1.dev
Repository: https://github.com/tigera/operator.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
AddCSRWatchWithRelevancyFn adds a watch for CSRs with the given label.
No description provided by the author
No description provided by the author
AddNamespacedWatch creates a watch on the given object.
No description provided by the author
AddNodeLocalDNSWatch creates a watch on the node-local-dns pods.
No description provided by the author
No description provided by the author
No description provided by the author
AddSecretWatchWithLabel adds a secret watch for secrets with the given label in the given namespace.
No description provided by the author
No description provided by the author
AddTigeraStatusWatch creates a watch on the given object.
ApplyDefaults sets any defaults that haven't been set on the given object and writes it to the k8s server.
No description provided by the author
ContextLoggerForResource provides a logger instance with context set for the provided object.
No description provided by the author
No description provided by the author
ElasticsearchSecrets gets the secrets needed for a component to be able to access Elasticsearch.
No description provided by the author
FetchLicenseKey returns the license if it has been installed.
GetAPIServer finds the correct API server instance and returns a message and error in the case of an error.
Return the AplicationLayer CR if present.
GetAuthentication finds the authentication CR in your cluster.
No description provided by the author
GetDNSServiceName returns the name and namespace for the DNS service based on the given provider.
GetElasticLicenseType returns the license type from elastic-licensing ConfigMap that ECK operator keeps updated.
No description provided by the author
GetElasticsearchClusterConfig retrieves the config map containing the elasticsearch configuration values, such as the the cluster name and replica count.
No description provided by the author
GetIDPSecret retrieves the Secret containing sensitive information for the configuration IdP specified in the given operatorv1.Authentication CR.
No description provided by the author
GetInstallation returns the current installation, for use by other controllers.
GetInstallationStatus returns the current installation status, for use by other controllers.
GetK8sServiceEndPoint returns the kubernetes-service-endpoint configmap.
GetKeyValidatorConfig uses the operatorv1.Authentication CR given to create the KeyValidatorConfig.
GetKubeControllerMetricsPort fetches kube controller metrics port.
No description provided by the author
Return the ManagementCluster CR if present.
Return the ManagementClusterConnection CR if present.
No description provided by the author
GetNonClusterHost finds the NonClusterHost CR in your cluster.
GetPacketCapture finds the PacketCapture CR in your cluster.
No description provided by the author
No description provided by the author
GetTenant returns the Tenant instance in the given namespace.
IgnoreObject returns true if the object has been marked as ignored by the user, and returns false otherwise.
No description provided by the author
IsFeatureActive return true if the feature is listed in LicenseStatusKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MonitorConfigMap starts a goroutine which exits if the given configmap's data is changed.
No description provided by the author
cr is allowed to be nil in the case we don't want to put ownership on a resource, this is useful for CRD management so that they are not removed automatically.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PopulateK8sServiceEndPoint reads the kubernetes-service-endpoint configmap and pushes KUBERNETES_SERVICE_HOST, KUBERNETES_SERVICE_PORT to calico-node daemonset, typha apiserver deployments.
No description provided by the author
RequiresTigeraSecure determines if the configuration requires we start the tigera secure controllers.
No description provided by the author
StrToElasticLicenseType maps Elasticsearch license to one of the known and expected value.
TenantNamespaces returns all namespaces that contain a tenant.
UseExternalElastic returns true if this cluster is configured to use an external elasticsearch cluster, and false otherwise.
ValidateCertPair checks if the given secret exists in the given namespace and if so that it contains key and cert fields.
ValidateResourceNameIsQualified returns a compiled list of errors which states which rule the name did not respect.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WaitToAddResourceWatch will check if projectcalico.org APIs are available and if so, it will add a watch for resource The completion of this operation will be signaled on a ready channel.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

AllowedSysctlKeys controls the allowed Sysctl keys can be set in Tuning plugin.
No description provided by the author
No description provided by the author
User's name in ES.
User's name in ES.
No description provided by the author
No description provided by the author
StandardRetry is the amount of time to wait beofre retrying a request in most scenarios.

# Structs

No description provided by the author
No description provided by the author
ReadyFlag is used to synchronize access to a boolean flag flag that can be shared between go routines.
Role represents an Elasticsearch role that may be attached to a User.
No description provided by the author
No description provided by the author
User represents an Elasticsearch user, which may or may not have roles attached to it.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author