Documentation ¶
Index ¶
- type Config
- type Service
- func (s *Service) Bundles() map[string]*bundle.Bundle
- func (s *Service) Config() *config.Config
- func (s *Service) HandleBundle(name string, w http.ResponseWriter, r *http.Request)
- func (s *Service) HandleCallback(name, typ string, matcher func(b *bundle.Bundle) bool) func()
- func (s *Service) HandleWebhook(name string, w http.ResponseWriter, r *http.Request)
- func (s *Service) LoadBundles(ctx context.Context) error
- func (s *Service) LoadDeployers(ctx context.Context) error
- func (s *Service) LoadPublishers(ctx context.Context) error
- func (s *Service) LoadStores(ctx context.Context) error
- func (s *Service) LoadSubscribers(ctx context.Context) error
- func (s *Service) LoadWebhooks(ctx context.Context) error
- func (s *Service) Lock(ctx context.Context) error
- func (s *Service) Logger() logger.Logger
- func (s *Service) ReloadConfig(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements service
func NewService ¶
NewService creates a new service
func (*Service) HandleBundle ¶
HandleBundle handles bundle requests
func (*Service) HandleCallback ¶
func (*Service) HandleWebhook ¶
HandleWebhook handles webhooks
func (*Service) LoadBundles ¶
LoadBundles loads bundles
func (*Service) LoadDeployers ¶
LoadDeployers loads and connects deployers
func (*Service) LoadPublishers ¶
LoadPublishers loads and connects publishers
func (*Service) LoadStores ¶
LoadStores loads and connects to stores
func (*Service) LoadSubscribers ¶
LoadSubscribers loads and connects subscribers
func (*Service) LoadWebhooks ¶
LoadWebhooks loads webhooks
Click to show internal directories.
Click to hide internal directories.