github.com/redhat-appstudio/release-service@v0.0.0-20240507143925-083712697924/api/v1alpha1/webhooks/webhooks.go (about)

     1  package webhooks
     2  
     3  import (
     4  	"github.com/konflux-ci/operator-toolkit/webhook"
     5  	"github.com/redhat-appstudio/release-service/api/v1alpha1/webhooks/author"
     6  	"github.com/redhat-appstudio/release-service/api/v1alpha1/webhooks/release"
     7  	"github.com/redhat-appstudio/release-service/api/v1alpha1/webhooks/releaseplan"
     8  	"github.com/redhat-appstudio/release-service/api/v1alpha1/webhooks/releaseplanadmission"
     9  )
    10  
    11  // EnabledWebhooks is a slice containing references to all the webhooks that have to be registered
    12  var EnabledWebhooks = []webhook.Webhook{
    13  	&author.Webhook{},
    14  	&release.Webhook{},
    15  	&releaseplan.Webhook{},
    16  	&releaseplanadmission.Webhook{},
    17  }