Documentation ¶
Index ¶
- func AdaptFuncGoroutine(adapt func() (QueryFunc, DestroyFunc, bool, error)) (QueryFunc, DestroyFunc, bool, error)
- func Destroy(monitor mntr.Monitor, gitClient *git.Client, adapt AdaptFunc, ...) error
- func DestroyFuncGoroutine(query func() error) error
- func EnsureFuncGoroutine(ensure func() error) error
- func Metrics()
- func Parse(gitClient *git.Client, files ...string) (trees []*tree.Tree, err error)
- func Takeoff(monitor mntr.Monitor, conf *Config) func()
- type AdaptFunc
- type CIDR
- type CIDRs
- type Config
- type DestroyFunc
- type EnsureFunc
- type IPAddress
- type QueryFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptFuncGoroutine ¶ added in v0.20.4
func AdaptFuncGoroutine(adapt func() (QueryFunc, DestroyFunc, bool, error)) (QueryFunc, DestroyFunc, bool, error)
func DestroyFuncGoroutine ¶ added in v0.20.4
func EnsureFuncGoroutine ¶ added in v0.20.4
Types ¶
type DestroyFunc ¶
type DestroyFunc func() error
type EnsureFunc ¶
func QueryFuncGoroutine ¶ added in v0.20.4
func QueryFuncGoroutine(query func() (EnsureFunc, error)) (EnsureFunc, error)
type QueryFunc ¶
type QueryFunc func(nodeAgentsCurrent map[string]*common.NodeAgentCurrent, nodeAgentsDesired map[string]*common.NodeAgentSpec, queried map[string]interface{}) (EnsureFunc, error)
Click to show internal directories.
Click to hide internal directories.