configdata

package
v0.0.0-...-aabfe33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigLocation string
View Source
var ConfigSecret map[string]corev1.Secret
View Source
var NeedsExport string
View Source
var PublicKeyFilePath string
View Source
var RefreshInterval v1.Duration

Functions

func GetConfigES

func GetConfigES(s string) (r esv1alpha1.ExternalSecret)

func GetConfigSS

func GetConfigSS(s string) (r esv1alpha1.SecretStore)

func GetConfigSecret

func GetConfigSecret(s string) (r corev1.Secret)

func InitConfig

func InitConfig()

func YAMLSSToRealSS

func YAMLSSToRealSS(y YAMLSecretStore) *esv1alpha1.SecretStore

Types

type AWS

type AWS struct {
	Service string `yaml:"service"`
	Region  string `yaml:"region"`
	Auth    Auth   `yaml:"auth"`
}

type AccessKeyIDSecretRef

type AccessKeyIDSecretRef struct {
	Name string `yaml:"name"`
	Key  string `yaml:"key"`
}

type Auth

type Auth struct {
	SecretRef SecretRef `yaml:"secretRef"`
	Testfield string    `yaml:"testfield"`
}

type Data

type Data struct {
	SecretKey string    `yaml:"secretKey"`
	RemoteRef RemoteRef `yaml:"remoteRef"`
}

type DataFrom

type DataFrom struct {
	Key      string `yaml:"key"`
	Version  string `yaml:"version"`
	Property string `yaml:"property"`
}

type Metadata

type Metadata struct {
	Name      string `yaml:"name"`
	Namespace string `yaml:"namespace"`
}

type Provider

type Provider struct {
	// AWS only for now
	AWS AWS `yaml:"aws"`
}

type RemoteRef

type RemoteRef struct {
	Key      string `yaml:"key"`
	Version  string `yaml:"version"`
	Property string `yaml:"property"`
}

type SecretAccessKeySecretRef

type SecretAccessKeySecretRef struct {
	Name string `yaml:"name"`
	Key  string `yaml:"key"`
}

type SecretRef

type SecretRef struct {
	Testfield2               string                   `yaml:"testfield"`
	AccessKeyIDSecretRef     AccessKeyIDSecretRef     `yaml:"accessKeyIDSecretRef"`
	SecretAccessKeySecretRef SecretAccessKeySecretRef `yaml:"secretAccessKeySecretRef"`
}

type SecretStoreRef

type SecretStoreRef struct {
	Name string `yaml:"name"`
	Kind string `yaml:"kind"`
}

type Target

type Target struct {
	Name           string `yaml:"name"`
	CreationPolicy string `yaml:"creationPolicy"`
}

type YAMLExternalSecret

type YAMLExternalSecret struct {
	Metadata Metadata               `yaml:"metadata"`
	Spec     YAMLExternalSecretSpec `yaml:"spec"`
}

type YAMLExternalSecretSpec

type YAMLExternalSecretSpec struct {
	RefeshInterval string         `yaml:"refreshInterval"`
	SecretStoreRef SecretStoreRef `yaml:"secretStoreRef"`
	Target         Target         `yaml:"target"`
	Data           []Data         `yaml:"data"`
	DataFrom       []DataFrom     `yaml:"dataFrom"`
}

type YAMLSecretStore

type YAMLSecretStore struct {
	Metadata Metadata            `yaml:"metadata"`
	Spec     YAMLSecretStoreSpec `yaml:"spec"`
}

type YAMLSecretStoreSpec

type YAMLSecretStoreSpec struct {
	Provider Provider `yaml:"provider"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL