package
0.15.2-fef4a42
Repository: https://github.com/ydataai/go-core.git
Documentation: pkg.go.dev

# Functions

NewK8sAuthenticator defines a new K8sAuthenticator struct.
NewLocalAuthenticator defines a new LocalAuthenticator.
NewPrometheusClient creates a PrometheusClient instance.
NewStorageClient returns an initialized struct with the required dependencies injected.
NewVaultClient returns an initialized struct with the required dependencies injected.

# Structs

K8sAuthenticator defines a struct for authenticating with Kubernetes.
LocalAuthenticator is used to configure the development mode.
PrometheusClient represents the Prometheus client.
PrometheusConfiguration represents the client configuration to connect to Prometheus.
StorageClient is a structure that holds all the dependencies for the following client.
StorageClientConfiguration is a struct that holds all the environment variables required to the Storage Client.
VaultClient defines the Vault client struct, holding all the required dependencies.
VaultClientConfiguration is a struct that holds all the environment variables required to the Vault client.

# Interfaces

Authenticator is an interface to identify which way to authenticate.
StorageClientInterface defines storage client interface.