Documentation ¶
Index ¶
- func AdaptReadSecret(path []string, deps map[string]ReadSecretFunc, mapping map[string]*Secret) (string, error)
- func AdaptWriteSecret(path []string, value string, deps map[string]WriteSecretFunc, ...) error
- func Destroy(gitClient *git.Client, adapt AdaptFunc) error
- func ReadSecret(gitClient *git.Client, adapt AdaptFunc, path string) (string, error)
- func Takeoff(ctx context.Context, logger logging.Logger, gitClient *git.Client, ...) func()
- func WriteSecret(gitClient *git.Client, adapt AdaptFunc, path, value string) error
- type AdaptFunc
- type Common
- type DestroyFunc
- type EnsureFunc
- type Orb
- type PushSecretsFunc
- type ReadSecretFunc
- type Secret
- type Tree
- type WriteSecretFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptReadSecret ¶
func AdaptWriteSecret ¶
func ReadSecret ¶
Types ¶
type AdaptFunc ¶
type AdaptFunc func(desired *Tree, secrets *Tree, current *Tree) (EnsureFunc, DestroyFunc, ReadSecretFunc, WriteSecretFunc, error)
type DestroyFunc ¶
type DestroyFunc func() error
type EnsureFunc ¶
type EnsureFunc func(psf PushSecretsFunc, nodeAgentsCurrent map[string]*common.NodeAgentCurrent, nodeAgentsDesired map[string]*common.NodeAgentSpec) (err error)
type PushSecretsFunc ¶
type PushSecretsFunc func() error
type ReadSecretFunc ¶
type Tree ¶
type Tree struct { Common *Common `yaml:",inline"` Original yaml.Node Parsed interface{} `yaml:",inline"` }
func (*Tree) MarshalYAML ¶
func (*Tree) UnmarshalYAML ¶
type WriteSecretFunc ¶
Click to show internal directories.
Click to hide internal directories.