webhook

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoleAssignment

type RoleAssignment struct {
}

func (*RoleAssignment) CustomDefault

func (webhook *RoleAssignment) CustomDefault(ctx context.Context, obj runtime.Object) error

func (*RoleAssignment) Default

func (assignment *RoleAssignment) Default(ctx context.Context, obj runtime.Object) error

Default applies defaults to the RoleAssignment resource

func (*RoleAssignment) ValidateCreate

func (assignment *RoleAssignment) ValidateCreate(ctx context.Context, resource runtime.Object) (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*RoleAssignment) ValidateDelete

func (assignment *RoleAssignment) ValidateDelete(ctx context.Context, resource runtime.Object) (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*RoleAssignment) ValidateUpdate

func (assignment *RoleAssignment) ValidateUpdate(ctx context.Context, oldResource runtime.Object, newResource runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type RoleDefinition

type RoleDefinition struct {
}

func (*RoleDefinition) CustomDefault

func (webhook *RoleDefinition) CustomDefault(ctx context.Context, obj runtime.Object) error

func (*RoleDefinition) Default

func (definition *RoleDefinition) Default(ctx context.Context, obj runtime.Object) error

Default applies defaults to the RoleDefinition resource

func (*RoleDefinition) ValidateCreate

func (definition *RoleDefinition) ValidateCreate(ctx context.Context, resource runtime.Object) (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*RoleDefinition) ValidateDelete

func (definition *RoleDefinition) ValidateDelete(ctx context.Context, resource runtime.Object) (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*RoleDefinition) ValidateUpdate

func (definition *RoleDefinition) ValidateUpdate(ctx context.Context, oldResource runtime.Object, newResource runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

Jump to

Keyboard shortcuts

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