Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MakeHandler ¶
func MakeHandler(svc Service, logger log.Logger, repository repository.Repository) http.Handler
Types ¶
type Service ¶
type Service interface { AccessAudit(ctx context.Context, ns, name string) error AuditStep(ctx context.Context, ns, name, kind string) error Refused(ctx context.Context, ns, name string) error }
func NewService ¶
func NewService(logger log.Logger, config *config.Config, jenkins jenkins.Jenkins, k8sClient kubernetes.K8sClient, amqpClient amqp.AmqpClient, store repository.Repository, hookQueueSvc hooks.ServiceHookQueue, buildSvc build.Service) Service
Click to show internal directories.
Click to hide internal directories.