Documentation ¶
Index ¶
- type SitesManager
- func (m *SitesManager) DeleteSpec(ctx context.Context, name string) error
- func (s *SitesManager) Enabled() bool
- func (m *SitesManager) GetState(ctx context.Context, name string) (model.SiteState, error)
- func (s *SitesManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, ...) error
- func (t *SitesManager) ListState(ctx context.Context) ([]model.SiteState, error)
- func (s *SitesManager) Poll() []error
- func (s *SitesManager) Reconcil() []error
- func (t *SitesManager) ReportState(ctx context.Context, current model.SiteState) error
- func (m *SitesManager) UpsertSpec(ctx context.Context, name string, spec model.SiteSpec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SitesManager ¶
type SitesManager struct { managers.Manager StateProvider states.IStateProvider // contains filtered or unexported fields }
func (*SitesManager) DeleteSpec ¶
func (m *SitesManager) DeleteSpec(ctx context.Context, name string) error
func (*SitesManager) Enabled ¶
func (s *SitesManager) Enabled() bool
func (*SitesManager) Init ¶
func (s *SitesManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, providers map[string]providers.IProvider) error
func (*SitesManager) Poll ¶
func (s *SitesManager) Poll() []error
func (*SitesManager) Reconcil ¶
func (s *SitesManager) Reconcil() []error
func (*SitesManager) ReportState ¶
func (*SitesManager) UpsertSpec ¶
Click to show internal directories.
Click to hide internal directories.