Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mutate ¶
func Mutate(deploy *appsv1.Deployment, sliceName string) *appsv1.Deployment
func NewWebhookClient ¶ added in v0.4.0
func NewWebhookClient() *webhookClient
Types ¶
type SliceInfoProvider ¶ added in v0.4.0
type WebhookServer ¶
type WebhookServer struct {
Client client.Client
SliceInfoClient SliceInfoProvider
// contains filtered or unexported fields
}
func (*WebhookServer) InjectDecoder ¶
func (wh *WebhookServer) InjectDecoder(d *admission.Decoder) error
func (*WebhookServer) MutationRequired ¶ added in v0.4.0
func (wh *WebhookServer) MutationRequired(metadata metav1.ObjectMeta) (bool, string)
Click to show internal directories.
Click to hide internal directories.