Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// DoLeaderLocation returns the location
DoLeaderLocation func() (*url.URL, error)
// DoIsLeader returns true if manager is leader
DoIsLeader func() (bool, error)
// DoEnforce enforces infrastructure state to match that of the specs
DoEnforce func(specs []types.Spec) error
// DoInspect returns the current state of the infrastructure
DoInspect func() ([]types.Object, error)
// DoTerminate destroys all resources associated with the specs
DoTerminate func(specs []types.Spec) error
}
Plugin implements manager.Manager
func (*Plugin) LeaderLocation ¶
LeaderLocation returns the location of the leader
Click to show internal directories.
Click to hide internal directories.