Documentation ¶
Index ¶
- type CampaignsManager
- func (t *CampaignsManager) CampaignActivationsLookup(ctx context.Context, name string, namespace string) (bool, error)
- func (t *CampaignsManager) CampaignContainerLookup(ctx context.Context, name string, namespace string) (interface{}, error)
- func (m *CampaignsManager) DeleteState(ctx context.Context, name string, namespace string) error
- func (m *CampaignsManager) GetState(ctx context.Context, name string, namespace string) (model.CampaignState, error)
- func (s *CampaignsManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, ...) error
- func (t *CampaignsManager) ListState(ctx context.Context, namespace string) ([]model.CampaignState, error)
- func (m *CampaignsManager) UpsertState(ctx context.Context, name string, state model.CampaignState) error
- func (t *CampaignsManager) ValidateDelete(ctx context.Context, name string, namespace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CampaignsManager ¶
type CampaignsManager struct { managers.Manager StateProvider states.IStateProvider CampaignValidator validation.CampaignValidator // contains filtered or unexported fields }
func (*CampaignsManager) CampaignActivationsLookup ¶
func (*CampaignsManager) CampaignContainerLookup ¶
func (*CampaignsManager) DeleteState ¶
func (*CampaignsManager) GetState ¶
func (m *CampaignsManager) GetState(ctx context.Context, name string, namespace string) (model.CampaignState, error)
GetCampaign retrieves a CampaignSpec object by name
func (*CampaignsManager) Init ¶
func (s *CampaignsManager) Init(context *contexts.VendorContext, config managers.ManagerConfig, providers map[string]providers.IProvider) error
func (*CampaignsManager) ListState ¶
func (t *CampaignsManager) ListState(ctx context.Context, namespace string) ([]model.CampaignState, error)
func (*CampaignsManager) UpsertState ¶
func (m *CampaignsManager) UpsertState(ctx context.Context, name string, state model.CampaignState) error
func (*CampaignsManager) ValidateDelete ¶
Click to show internal directories.
Click to hide internal directories.