Documentation ¶
Index ¶
- Variables
- func AppendSecrets(prefix string, into, add map[string]*Secret)
- func Read(monitor mntr.Monitor, gitClient *git.Client, path string, getFunc GetFuncs) (string, error)
- func Rewrite(monitor mntr.Monitor, gitClient *git.Client, newMasterKey string, ...) error
- func Write(monitor mntr.Monitor, gitClient *git.Client, path, value string, ...) error
- type Existing
- type ExistingIDSecret
- type GetFuncs
- type PushFunc
- type PushFuncs
- type Secret
Constants ¶
This section is empty.
Variables ¶
View Source
var Masterkey = "empty"
Functions ¶
func AppendSecrets ¶ added in v0.32.6
Types ¶
type Existing ¶
type Existing struct { //Name of the Secret Name string `json:"name" yaml:"name"` //Key in the secret from where the value should be used Key string `json:"key" yaml:"key"` //Name which should be used internally, should be unique for the volume and volumemounts InternalName string `json:"internalName,omitempty" yaml:"internalName,omitempty"` }
Existing: Used secret that has to be already existing in the cluster
type ExistingIDSecret ¶
type ExistingIDSecret struct { //Name of the Secret Name string `json:"name" yaml:"name"` //Key in the secret which contains the ID IDKey string `json:"idKey" yaml:"idKey"` //Key in the secret which contains the secret SecretKey string `json:"secretKey" yaml:"secretKey"` //Name which should be used internally, should be unique for the volume and volumemounts InternalName string `json:"internalName,omitempty" yaml:"internalName,omitempty"` }
Existing: Used secret that has to be already existing in the cluster and should contain id/username and secret/password
type Secret ¶
type Secret struct { //Encryption algorithm used for the secret Encryption string `json:"encryption,omitempty" yaml:"encryption,omitempty"` //Encoding algorithm used for the secret Encoding string `json:"encoding,omitempty" yaml:"encoding,omitempty"` //Encrypted and encoded Value Value string `json:"value,omitempty" yaml:"value,omitempty"` }
Secret: Secret handled with orbctl so no manual changes are required
func (*Secret) MarshalYAML ¶
func (*Secret) UnmarshalYAML ¶
func (*Secret) UnmarshalYAMLWithExisting ¶ added in v0.21.0
Click to show internal directories.
Click to hide internal directories.