validatingwebhook

package
v0.0.0-...-f9efdd4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoleBindingRequestValidator

type RoleBindingRequestValidator struct {
	Client runtimeClient.Client
}

func (RoleBindingRequestValidator) HandleValidate

type SSPRequestValidator

type SSPRequestValidator struct {
	Client runtimeClient.Client
}

The SSP resources is a CNV specific resource

func (SSPRequestValidator) HandleValidate

func (v SSPRequestValidator) HandleValidate(w http.ResponseWriter, r *http.Request)

type SpaceBindingRequestValidator

type SpaceBindingRequestValidator struct {
	Client runtimeClient.Client
}

SpaceBindingRequestValidator webhook validates SpaceBindingRequest CRs, Specifically it makes sure that once an SBR resource is created, the SpaceBindingRequest.Spec.MasterUserRecord field is not changed by the user. The reason for making SpaceBindingRequest.Spec.MasterUserRecord field immutable is that as of now the SpaceBinding resource name is composed as follows: <Space.Name>-checksum(<Space.Name>-<MasterUserRecord.Name>), thus changing it will trigger an updated of the SpaceBinding content but the name will still be based on the old MUR name. All the webhook configuration is available at member-operator/deploy/webhook/member-operator-webhook.yaml

func (SpaceBindingRequestValidator) HandleValidate

type VMRequestValidator

type VMRequestValidator struct {
	Client runtimeClient.Client
}

func (VMRequestValidator) HandleValidate

func (v VMRequestValidator) HandleValidate(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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