Documentation ¶
Index ¶
- type Store
- func (s *Store) Add(ctx context.Context, id apieventsrc.EventSourceID, ...) error
- func (s *Store) AddProjectBinding(ctx context.Context, srcid apieventsrc.EventSourceID, pid apiproject.ProjectID, ...) error
- func (s *Store) Get(ctx context.Context, id apieventsrc.EventSourceID) (*apieventsrc.EventSource, error)
- func (s *Store) GetProjectBindings(ctx context.Context, srcid *apieventsrc.EventSourceID, ...) ([]*apieventsrc.EventSourceProjectBinding, error)
- func (s *Store) List(ctx context.Context, aname *apiaccount.AccountName) ([]apieventsrc.EventSourceID, error)
- func (s *Store) Setup(ctx context.Context) error
- func (s *Store) Teardown(ctx context.Context) error
- func (s *Store) Update(ctx context.Context, id apieventsrc.EventSourceID, ...) error
- func (s *Store) UpdateProjectBinding(ctx context.Context, srcid apieventsrc.EventSourceID, pid apiproject.ProjectID, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (*Store) Add ¶
func (s *Store) Add(ctx context.Context, id apieventsrc.EventSourceID, data *apieventsrc.EventSourceSettings) error
func (*Store) AddProjectBinding ¶
func (s *Store) AddProjectBinding(ctx context.Context, srcid apieventsrc.EventSourceID, pid apiproject.ProjectID, name, assoc, cfg string, approved bool, data *apieventsrc.EventSourceProjectBindingSettings) error
func (*Store) Get ¶
func (s *Store) Get(ctx context.Context, id apieventsrc.EventSourceID) (*apieventsrc.EventSource, error)
func (*Store) GetProjectBindings ¶
func (s *Store) GetProjectBindings(ctx context.Context, srcid *apieventsrc.EventSourceID, pid *apiproject.ProjectID, name, assoc string, onlyApproved bool) ([]*apieventsrc.EventSourceProjectBinding, error)
func (*Store) List ¶
func (s *Store) List(ctx context.Context, aname *apiaccount.AccountName) ([]apieventsrc.EventSourceID, error)
func (*Store) Update ¶
func (s *Store) Update(ctx context.Context, id apieventsrc.EventSourceID, data *apieventsrc.EventSourceSettings) error
func (*Store) UpdateProjectBinding ¶
func (s *Store) UpdateProjectBinding(ctx context.Context, srcid apieventsrc.EventSourceID, pid apiproject.ProjectID, name string, approved bool, data *apieventsrc.EventSourceProjectBindingSettings) error
Click to show internal directories.
Click to hide internal directories.