mocks

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 4 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) ID

func (_m *SecretsInjector) ID() string

ID provides a mock function with given fields:

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) OnID

func (_m *SecretsInjector) OnID() *SecretsInjector_ID

func (*SecretsInjector) OnIDMatch

func (_m *SecretsInjector) OnIDMatch(matchers ...interface{}) *SecretsInjector_ID

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

type SecretsInjector_ID

type SecretsInjector_ID struct {
	*mock.Call
}

func (SecretsInjector_ID) Return

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

Jump to

Keyboard shortcuts

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