Documentation ¶
Index ¶
- type GlobalSecretProvider
- func (_m *GlobalSecretProvider) GetForSecret(ctx context.Context, secret *core.Secret) (string, error)
- func (_m *GlobalSecretProvider) OnGetForSecret(ctx context.Context, secret *core.Secret) *GlobalSecretProvider_GetForSecret
- func (_m *GlobalSecretProvider) OnGetForSecretMatch(matchers ...interface{}) *GlobalSecretProvider_GetForSecret
- type GlobalSecretProvider_GetForSecret
- type Mutator
- func (_m *Mutator) ID() string
- func (_m *Mutator) Mutate(ctx context.Context, p *v1.Pod) (*v1.Pod, bool, error)
- func (_m *Mutator) OnID() *Mutator_ID
- func (_m *Mutator) OnIDMatch(matchers ...interface{}) *Mutator_ID
- func (_m *Mutator) OnMutate(ctx context.Context, p *v1.Pod) *Mutator_Mutate
- func (_m *Mutator) OnMutateMatch(matchers ...interface{}) *Mutator_Mutate
- type Mutator_ID
- type Mutator_Mutate
- type SecretsInjector
- func (_m *SecretsInjector) ID() string
- func (_m *SecretsInjector) Inject(ctx context.Context, secrets *core.Secret, p *v1.Pod) (*v1.Pod, bool, error)
- func (_m *SecretsInjector) OnID() *SecretsInjector_ID
- func (_m *SecretsInjector) OnIDMatch(matchers ...interface{}) *SecretsInjector_ID
- func (_m *SecretsInjector) OnInject(ctx context.Context, secrets *core.Secret, p *v1.Pod) *SecretsInjector_Inject
- func (_m *SecretsInjector) OnInjectMatch(matchers ...interface{}) *SecretsInjector_Inject
- type SecretsInjector_ID
- type SecretsInjector_Inject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalSecretProvider ¶
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 (_m *GlobalSecretProvider) OnGetForSecret(ctx context.Context, secret *core.Secret) *GlobalSecretProvider_GetForSecret
func (*GlobalSecretProvider) OnGetForSecretMatch ¶
func (_m *GlobalSecretProvider) OnGetForSecretMatch(matchers ...interface{}) *GlobalSecretProvider_GetForSecret
type GlobalSecretProvider_GetForSecret ¶
func (GlobalSecretProvider_GetForSecret) Return ¶
func (_m GlobalSecretProvider_GetForSecret) Return(_a0 string, _a1 error) *GlobalSecretProvider_GetForSecret
type Mutator ¶
Mutator is an autogenerated mock type for the Mutator type
func (*Mutator) OnID ¶
func (_m *Mutator) OnID() *Mutator_ID
func (*Mutator) OnIDMatch ¶
func (_m *Mutator) OnIDMatch(matchers ...interface{}) *Mutator_ID
func (*Mutator) OnMutateMatch ¶
func (_m *Mutator) OnMutateMatch(matchers ...interface{}) *Mutator_Mutate
type Mutator_ID ¶
func (Mutator_ID) Return ¶
func (_m Mutator_ID) Return(_a0 string) *Mutator_ID
type Mutator_Mutate ¶
func (Mutator_Mutate) Return ¶
func (_m Mutator_Mutate) Return(newP *v1.Pod, changed bool, err error) *Mutator_Mutate
type SecretsInjector ¶
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 ¶
func (SecretsInjector_ID) Return ¶
func (_m SecretsInjector_ID) Return(_a0 string) *SecretsInjector_ID
type SecretsInjector_Inject ¶
func (SecretsInjector_Inject) Return ¶
func (_m SecretsInjector_Inject) Return(newP *v1.Pod, injected bool, err error) *SecretsInjector_Inject
Click to show internal directories.
Click to hide internal directories.