mocks

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalSecretProvider

type GlobalSecretProvider struct {
	mock.Mock
}

GlobalSecretProvider is an autogenerated mock type for the GlobalSecretProvider type

func (*GlobalSecretProvider) GetForSecret

func (_m *GlobalSecretProvider) GetForSecret(ctx context.Context, secret *core.Secret) (string, error)

GetForSecret provides a mock function with given fields: ctx, secret

func (*GlobalSecretProvider) OnGetForSecret

func (*GlobalSecretProvider) OnGetForSecretMatch

func (_m *GlobalSecretProvider) OnGetForSecretMatch(matchers ...interface{}) *GlobalSecretProvider_GetForSecret

type GlobalSecretProvider_GetForSecret

type GlobalSecretProvider_GetForSecret struct {
	*mock.Call
}

func (GlobalSecretProvider_GetForSecret) Return

type Mutator

type Mutator struct {
	mock.Mock
}

Mutator is an autogenerated mock type for the Mutator type

func (*Mutator) ID

func (_m *Mutator) ID() string

ID provides a mock function with given fields:

func (*Mutator) Mutate

func (_m *Mutator) Mutate(ctx context.Context, p *v1.Pod) (*v1.Pod, bool, error)

Mutate provides a mock function with given fields: ctx, p

func (*Mutator) OnID

func (_m *Mutator) OnID() *Mutator_ID

func (*Mutator) OnIDMatch

func (_m *Mutator) OnIDMatch(matchers ...interface{}) *Mutator_ID

func (*Mutator) OnMutate

func (_m *Mutator) OnMutate(ctx context.Context, p *v1.Pod) *Mutator_Mutate

func (*Mutator) OnMutateMatch

func (_m *Mutator) OnMutateMatch(matchers ...interface{}) *Mutator_Mutate

type Mutator_ID

type Mutator_ID struct {
	*mock.Call
}

func (Mutator_ID) Return

func (_m Mutator_ID) Return(_a0 string) *Mutator_ID

type Mutator_Mutate

type Mutator_Mutate struct {
	*mock.Call
}

func (Mutator_Mutate) Return

func (_m Mutator_Mutate) Return(newP *v1.Pod, changed bool, err error) *Mutator_Mutate

type SecretsInjector

type SecretsInjector struct {
	mock.Mock
}

SecretsInjector is an autogenerated mock type for the SecretsInjector type

func (*SecretsInjector) Inject

func (_m *SecretsInjector) Inject(ctx context.Context, secrets *core.Secret, p *v1.Pod) (*v1.Pod, bool, error)

Inject provides a mock function with given fields: ctx, secrets, p

func (*SecretsInjector) OnInject

func (_m *SecretsInjector) OnInject(ctx context.Context, secrets *core.Secret, p *v1.Pod) *SecretsInjector_Inject

func (*SecretsInjector) OnInjectMatch

func (_m *SecretsInjector) OnInjectMatch(matchers ...interface{}) *SecretsInjector_Inject

func (*SecretsInjector) OnType added in v0.11.1

func (_m *SecretsInjector) OnType() *SecretsInjector_Type

func (*SecretsInjector) OnTypeMatch added in v0.11.1

func (_m *SecretsInjector) OnTypeMatch(matchers ...interface{}) *SecretsInjector_Type

func (*SecretsInjector) Type added in v0.11.1

Type provides a mock function with given fields:

type SecretsInjector_Inject

type SecretsInjector_Inject struct {
	*mock.Call
}

func (SecretsInjector_Inject) Return

func (_m SecretsInjector_Inject) Return(newP *v1.Pod, injected bool, err error) *SecretsInjector_Inject

type SecretsInjector_Type added in v0.11.1

type SecretsInjector_Type struct {
	*mock.Call
}

func (SecretsInjector_Type) Return added in v0.11.1

Jump to

Keyboard shortcuts

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