Documentation
¶
Index ¶
- Constants
- func AddCredentials(cluster *capi.Cluster, credentials *v1.Secret) (bool, error)
- func CredentialsSecretMeta(name string, namespace string) metav1.ObjectMeta
- func GenerateLoggingCredentialsBasicSecret(cluster *capi.Cluster) *v1.Secret
- func GenerateTracingCredentialsBasicSecret(cluster *capi.Cluster) *v1.Secret
- func GetPassword(cluster *capi.Cluster, credentialsSecret *v1.Secret, username string) (string, error)
- func RemoveCredentials(cluster *capi.Cluster, credentials *v1.Secret) bool
- type Resource
Constants ¶
View Source
const ( LoggingCredentialsName = "logging-credentials" // #nosec G101 LoggingCredentialsNamespace = "monitoring" TracingCredentialsName = "tracing-credentials" // #nosec G101 TracingCredentialsNamespace = "monitoring" )
Variables ¶
This section is empty.
Functions ¶
func AddCredentials ¶
AddCredentials - Add credentials to secret if needed
func CredentialsSecretMeta ¶
func CredentialsSecretMeta(name string, namespace string) metav1.ObjectMeta
credentialsSecretMeta returns metadata for the logging-operator credentials secret.
func GetPassword ¶
Types ¶
type Resource ¶
Resource implements a resource.Interface to handle Logging Credentials: store and maintain logging credentials
func (*Resource) ReconcileCreate ¶
ReconcileCreate ensures a secret exists for the given cluster.
Click to show internal directories.
Click to hide internal directories.