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 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 EnsureResult
- 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
Types ¶
type DestroyFunc ¶
type DestroyFunc func() error
type EnsureFunc ¶
type EnsureFunc func(psf push.Func) *EnsureResult
func QueryFuncGoroutine ¶ added in v0.20.4
func QueryFuncGoroutine(query func() (EnsureFunc, error)) (EnsureFunc, error)
type EnsureResult ¶ added in v0.22.0
func EnsureFuncGoroutine ¶ added in v0.20.4
func EnsureFuncGoroutine(ensure func() *EnsureResult) *EnsureResult
func ToEnsureResult ¶ added in v0.22.0
func ToEnsureResult(done bool, err error) *EnsureResult
type QueryFunc ¶
type QueryFunc func(nodeAgentsCurrent *common.CurrentNodeAgents, nodeAgentsDesired *common.DesiredNodeAgents, queried map[string]interface{}) (EnsureFunc, error)
Click to show internal directories.
Click to hide internal directories.