campaigns

package
v0.0.0-...-55f5e2d Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 (t *CampaignsManager) CampaignActivationsLookup(ctx context.Context, name string, namespace string) (bool, error)

func (*CampaignsManager) CampaignContainerLookup

func (t *CampaignsManager) CampaignContainerLookup(ctx context.Context, name string, namespace string) (interface{}, error)

func (*CampaignsManager) DeleteState

func (m *CampaignsManager) DeleteState(ctx context.Context, name string, namespace string) error

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

func (t *CampaignsManager) ValidateDelete(ctx context.Context, name string, namespace string) error

Jump to

Keyboard shortcuts

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