Documentation ¶
Index ¶
- Variables
- type ManagedClusterSet
- type ManagedClusterSetBindingWebhook
- func (b *ManagedClusterSetBindingWebhook) Init(mgr ctrl.Manager) error
- func (b *ManagedClusterSetBindingWebhook) SetExternalKubeClientSet(client kubernetes.Interface)
- func (b *ManagedClusterSetBindingWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (b *ManagedClusterSetBindingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
- func (b *ManagedClusterSetBindingWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error
- func (b *ManagedClusterSetBindingWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
var (
// Install is a function which adds this version to a scheme
Install = schemeBuilder.AddToScheme
)
Functions ¶
This section is empty.
Types ¶
type ManagedClusterSet ¶
type ManagedClusterSet struct {
v1beta2.ManagedClusterSet
}
func (*ManagedClusterSet) ConvertFrom ¶
func (dst *ManagedClusterSet) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1beta1) to this version.
func (*ManagedClusterSet) ConvertTo ¶
func (src *ManagedClusterSet) ConvertTo(dstRaw conversion.Hub) error
ConvertTo is expected to modify its argument to contain the converted object. Most of the conversion is straightforward copying, except for converting our changed field.
ConvertTo converts this ManagedClusterSet to the Hub(v1beta1) version.
func (*ManagedClusterSet) SetupWebhookWithManager ¶ added in v0.10.0
func (src *ManagedClusterSet) SetupWebhookWithManager(mgr ctrl.Manager) error
type ManagedClusterSetBindingWebhook ¶ added in v0.10.0
type ManagedClusterSetBindingWebhook struct {
// contains filtered or unexported fields
}
func (*ManagedClusterSetBindingWebhook) Init ¶ added in v0.10.0
func (b *ManagedClusterSetBindingWebhook) Init(mgr ctrl.Manager) error
func (*ManagedClusterSetBindingWebhook) SetExternalKubeClientSet ¶ added in v0.10.0
func (b *ManagedClusterSetBindingWebhook) SetExternalKubeClientSet(client kubernetes.Interface)
SetExternalKubeClientSet is function to enable the webhook injecting to kube admssion
func (*ManagedClusterSetBindingWebhook) SetupWebhookWithManager ¶ added in v0.10.0
func (b *ManagedClusterSetBindingWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ManagedClusterSetBindingWebhook) ValidateCreate ¶ added in v0.10.0
func (b *ManagedClusterSetBindingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ManagedClusterSetBindingWebhook) ValidateDelete ¶ added in v0.10.0
func (b *ManagedClusterSetBindingWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ManagedClusterSetBindingWebhook) ValidateUpdate ¶ added in v0.10.0
func (b *ManagedClusterSetBindingWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type