Documentation ¶
Index ¶
- func Destroy(gitClient *git.Client, adapt AdaptFunc) error
- func JoinPath(base string, append ...string) string
- 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 CIDR
- type Common
- type DestroyFunc
- type EnsureFunc
- type IPAddress
- type Orb
- type PushSecretsFunc
- type Secret
- type Tree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadSecret ¶
Types ¶
type AdaptFunc ¶
type AdaptFunc func(desired *Tree, secrets *Tree, current *Tree) (EnsureFunc, DestroyFunc, map[string]*Secret, bool, 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
Click to show internal directories.
Click to hide internal directories.