types

package
v1.4.10 Latest Latest
Warning

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

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

Documentation

Overview

Package types is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryProvider

type CategoryProvider interface {
	GetCategory() string
}

type MockRegister

type MockRegister struct {
	// contains filtered or unexported fields
}

MockRegister is a mock of Register interface.

func NewMockRegister

func NewMockRegister(ctrl *gomock.Controller) *MockRegister

NewMockRegister creates a new mock instance.

func (*MockRegister) Default

func (m *MockRegister) Default(arg0 context.Context, arg1 runtime.Object) error

Default mocks base method.

func (*MockRegister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegister) GetCategory

func (m *MockRegister) GetCategory() string

GetCategory mocks base method.

func (*MockRegister) GetWebhookConfigurations

func (m *MockRegister) GetWebhookConfigurations() ([]v1.MutatingWebhook, []v1.ValidatingWebhook)

GetWebhookConfigurations mocks base method.

func (*MockRegister) ValidateCreate

func (m *MockRegister) ValidateCreate(arg0 context.Context, arg1 runtime.Object) (admission.Warnings, error)

ValidateCreate mocks base method.

func (*MockRegister) ValidateDelete

func (m *MockRegister) ValidateDelete(arg0 context.Context, arg1 runtime.Object) (admission.Warnings, error)

ValidateDelete mocks base method.

func (*MockRegister) ValidateUpdate

func (m *MockRegister) ValidateUpdate(arg0 context.Context, arg1, arg2 runtime.Object) (admission.Warnings, error)

ValidateUpdate mocks base method.

type MockRegisterMockRecorder

type MockRegisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockRegisterMockRecorder is the mock recorder for MockRegister.

func (*MockRegisterMockRecorder) Default

func (mr *MockRegisterMockRecorder) Default(arg0, arg1 interface{}) *gomock.Call

Default indicates an expected call of Default.

func (*MockRegisterMockRecorder) GetCategory

func (mr *MockRegisterMockRecorder) GetCategory() *gomock.Call

GetCategory indicates an expected call of GetCategory.

func (*MockRegisterMockRecorder) GetWebhookConfigurations

func (mr *MockRegisterMockRecorder) GetWebhookConfigurations() *gomock.Call

GetWebhookConfigurations indicates an expected call of GetWebhookConfigurations.

func (*MockRegisterMockRecorder) ValidateCreate

func (mr *MockRegisterMockRecorder) ValidateCreate(arg0, arg1 interface{}) *gomock.Call

ValidateCreate indicates an expected call of ValidateCreate.

func (*MockRegisterMockRecorder) ValidateDelete

func (mr *MockRegisterMockRecorder) ValidateDelete(arg0, arg1 interface{}) *gomock.Call

ValidateDelete indicates an expected call of ValidateDelete.

func (*MockRegisterMockRecorder) ValidateUpdate

func (mr *MockRegisterMockRecorder) ValidateUpdate(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateUpdate indicates an expected call of ValidateUpdate.

type Register

Register is the interface for webhook registers

type RegisterConfig

type RegisterConfig struct {
	*fctx.ControllerContext
	WebhookSvcNs   string
	WebhookSvcName string
	CaBundle       []byte
}

RegisterConfig is the configuration for webhook registers

type WebhookConfigurationProvider

type WebhookConfigurationProvider interface {
	GetWebhookConfigurations() ([]admissionregv1.MutatingWebhook, []admissionregv1.ValidatingWebhook)
}

WebhookConfigurationProvider interface for webhook configurations

Jump to

Keyboard shortcuts

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