sites

package
v0.0.0-...-5ea7d2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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) GetState

func (m *SitesManager) GetState(ctx context.Context, name string) (model.SiteState, error)

func (*SitesManager) Init

func (s *SitesManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, providers map[string]providers.IProvider) error

func (*SitesManager) ListState

func (t *SitesManager) ListState(ctx context.Context) ([]model.SiteState, error)

func (*SitesManager) Poll

func (s *SitesManager) Poll() []error

func (*SitesManager) Reconcil

func (s *SitesManager) Reconcil() []error

func (*SitesManager) ReportState

func (t *SitesManager) ReportState(ctx context.Context, current model.SiteState) error

func (*SitesManager) UpsertSpec

func (m *SitesManager) UpsertSpec(ctx context.Context, name string, spec model.SiteSpec) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL