Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the server instance for the v1alpha1 version it will be used to handle the webhook call and store the data on the configured storages for the current spec
func NewServer ¶
func NewServer() *Server
NewServer creates a new server instance for the v1alpha1 version
func (*Server) WebhookHandler ¶
func (s *Server) WebhookHandler() http.HandlerFunc
WebhookHandler is the handler who will process the webhook call it will call the webhook service function with the current configuration and the request object. If an error is returned, it will be returned to the client otherwise, it will return a 200 OK response
Click to show internal directories.
Click to hide internal directories.