webhook

package
v2.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init added in v2.19.0

func Init(mgr ctrl.Manager)

Types

type DSCDefaulter added in v2.18.2

type DSCDefaulter struct {
	Name string
}

func (*DSCDefaulter) Default added in v2.18.2

func (m *DSCDefaulter) Default(_ context.Context, obj runtime.Object) error

Implement admission.CustomDefaulter interface. It currently only sets defaults for modelregiestry in datascienceclusters.

func (*DSCDefaulter) SetupWithManager added in v2.18.2

func (m *DSCDefaulter) SetupWithManager(mgr ctrl.Manager)

type OpenDataHubValidatingWebhook added in v2.18.0

type OpenDataHubValidatingWebhook struct {
	Client  client.Client
	Decoder *admission.Decoder
	Name    string
}

TODO: Get rid of platform in name, rename to ValidatingWebhook.

func (*OpenDataHubValidatingWebhook) Handle added in v2.18.0

func (*OpenDataHubValidatingWebhook) SetupWithManager added in v2.18.0

func (w *OpenDataHubValidatingWebhook) SetupWithManager(mgr ctrl.Manager)

Jump to

Keyboard shortcuts

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