Documentation ¶
Index ¶
- Variables
- type Provider
- type Service
- func (s *Service) CreateGroup(ctx context.Context, req types.CreateTargetGroupRequest) (*target.Group, error)
- func (s *Service) CreateRoute(ctx context.Context, group string, req types.CreateTargetGroupLink) (*target.Route, error)
- func (s *Service) DeleteGroup(ctx context.Context, group *target.Group) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRuleNotFound is returned if a rule with the supplied id already exists. ErrTargetGroupIdAlreadyExists = errors.New("target group id already exists") // ErrProviderNotFound is returned if a matching provider could not be found in the registry ErrProviderNotFoundInRegistry = errors.New("provider not found in registry") // ErrKindIsRequired is returned if a if the kind was not provided ErrKindIsRequired = errors.New("kind is required, provider id should be in the format `common-fate/aws@v0.1.0/Kind`") // ErrProviderNotFound is returned if a matching provider could not be found in the registry ErrProviderDoesNotImplementKind = errors.New("provider does not implement the kind") )
Functions ¶
This section is empty.
Types ¶
type Provider ¶
func SplitProviderString ¶
type Service ¶
type Service struct { Clock clock.Clock DB ddb.Storage ProviderRegistryClient registry_types.ClientWithResponsesInterface }
func (*Service) CreateGroup ¶
func (*Service) CreateRoute ¶
Click to show internal directories.
Click to hide internal directories.