package
0.0.0-20200922164111-e3fd3401e6cd
Repository: https://github.com/rhd-gitops-example/gitops-backend.git
Documentation: pkg.go.dev

# Functions

New creates and returns a KubeSecretGetter that looks up secrets in k8s.
NewFromConfig creates a secret getter from a rest.Config.
NewMock returns a simple secret getter.
NewRestConfigFactory creates and returns a RESTConfigFactory with a known config.

# Structs

K8sRESTConfigFactory is an implementation of the RESTConfigFactory interface that doles out configs based on a base one.
KubeSecretGetter is an implementation of SecretGetter.
MockSecret implements the SecretGetter interface.

# Interfaces

RESTConfigFactory creates and returns new Kubernetes client configurations for accessing the API.
SecretGetter takes a namespaced name and finds a secret with that name, or returns an error.