Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionWebhookServer ¶
type AdmissionWebhookServer struct {
// contains filtered or unexported fields
}
AdmissionWebhookServer for listening the AdmissionReview request sent by the apiservers
func New ¶
func New(ctx context.Context, restConfig *rest.Config, name string, options *config.Options) *AdmissionWebhookServer
New admission webhook server
func (*AdmissionWebhookServer) Register ¶
func (s *AdmissionWebhookServer) Register(admitters []types.Admitter)
Register validator or mutator to the admission webhook server. Call it before start the admission webhook server.
func (*AdmissionWebhookServer) Start ¶
func (s *AdmissionWebhookServer) Start() error
Start the admission webhook server. The server will apply the validatingwebhookconfiguration and mutatingwebhookconfiguration with cert authentication automatically.
Click to show internal directories.
Click to hide internal directories.