Documentation ¶
Index ¶
- func NewClusterWebhook(cfg *whtypes.RegisterConfig) whtypes.Register
- func NewGlobalTrafficPolicyWebhook(cfg *whtypes.RegisterConfig) whtypes.Register
- func NewServiceExportWebhook(cfg *whtypes.RegisterConfig) whtypes.Register
- func NewServiceImportWebhook(cfg *whtypes.RegisterConfig) whtypes.Register
- type ClusterWebhook
- type GlobalTrafficPolicyWebhook
- func (r *GlobalTrafficPolicyWebhook) Default(_ context.Context, obj runtime.Object) error
- func (r *GlobalTrafficPolicyWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (r *GlobalTrafficPolicyWebhook) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)
- type ServiceExportWebhook
- type ServiceImportWebhook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterWebhook ¶
func NewClusterWebhook(cfg *whtypes.RegisterConfig) whtypes.Register
func NewGlobalTrafficPolicyWebhook ¶
func NewGlobalTrafficPolicyWebhook(cfg *whtypes.RegisterConfig) whtypes.Register
func NewServiceExportWebhook ¶
func NewServiceExportWebhook(cfg *whtypes.RegisterConfig) whtypes.Register
func NewServiceImportWebhook ¶
func NewServiceImportWebhook(cfg *whtypes.RegisterConfig) whtypes.Register
Types ¶
type ClusterWebhook ¶
type ClusterWebhook struct {
webhook.DefaultWebhook
}
func (*ClusterWebhook) ValidateCreate ¶
func (*ClusterWebhook) ValidateUpdate ¶
type GlobalTrafficPolicyWebhook ¶
type GlobalTrafficPolicyWebhook struct {
webhook.DefaultWebhook
}
func (*GlobalTrafficPolicyWebhook) ValidateCreate ¶
func (*GlobalTrafficPolicyWebhook) ValidateUpdate ¶
type ServiceExportWebhook ¶
type ServiceExportWebhook struct {
webhook.DefaultWebhook
}
type ServiceImportWebhook ¶
type ServiceImportWebhook struct {
webhook.DefaultWebhook
}
Click to show internal directories.
Click to hide internal directories.