v1beta1

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Install is a function which adds this version to a scheme
	Install = schemeBuilder.AddToScheme
)

Functions

func AllowBindingToClusterSet added in v0.10.0

func AllowBindingToClusterSet(kubeClient kubernetes.Interface, clusterSetName string, userInfo authenticationv1.UserInfo) error

allowBindingToClusterSet checks if the user has permission to bind a particular cluster set

func ClustersetbindingGroupKind added in v0.10.0

func ClustersetbindingGroupKind() schema.GroupKind

Types

type ManagedClusterSet

type ManagedClusterSet struct {
	v1beta1.ManagedClusterSet
}

func (*ManagedClusterSet) Hub

func (r *ManagedClusterSet) Hub()

Hub marks this type as a conversion hub.

func (*ManagedClusterSet) SetupWebhookWithManager added in v0.10.0

func (r *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 (*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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL