Documentation ¶
Index ¶
- func Adapt(gitClient *git.Client, monitor mntr.Monitor, finished chan struct{}, ...) (QueryFunc, DestroyFunc, ConfigureFunc, bool, *tree.Tree, *tree.Tree, error)
- func AdaptFuncGoroutine(adapt func() (QueryFunc, DestroyFunc, ConfigureFunc, bool, error)) (QueryFunc, DestroyFunc, ConfigureFunc, bool, error)
- func Destroy(monitor mntr.Monitor, gitClient *git.Client, adapt AdaptFunc, ...) error
- func DestroyFuncGoroutine(query func() error) error
- func Metrics()
- func NoopConfigure(orb orbconfig.Orb) error
- func NoopDestroy() error
- func Takeoff(monitor mntr.Monitor, conf *Config) func()
- type AdaptFunc
- type CIDR
- type CIDRs
- type Config
- type ConfigureFunc
- 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, ConfigureFunc, bool, error)) (QueryFunc, DestroyFunc, ConfigureFunc, bool, error)
func DestroyFuncGoroutine ¶ added in v0.20.4
func NoopConfigure ¶ added in v0.25.0
func NoopDestroy ¶ added in v0.25.0
func NoopDestroy() error
Types ¶
type ConfigureFunc ¶ added in v0.25.0
type DestroyFunc ¶
type DestroyFunc func() error
type EnsureFunc ¶
type EnsureFunc func(pdf api.PushDesiredFunc) *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 NoopEnsure ¶ added in v0.25.0
func NoopEnsure(_ api.PushDesiredFunc) *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.