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) Inject(ctx context.Context, secrets *core.Secret, p *v1.Pod) (*v1.Pod, bool, error)
- func (_m *SecretsInjector) OnInject(ctx context.Context, secrets *core.Secret, p *v1.Pod) *SecretsInjector_Inject
- func (_m *SecretsInjector) OnInjectMatch(matchers ...interface{}) *SecretsInjector_Inject
- func (_m *SecretsInjector) OnType() *SecretsInjector_Type
- func (_m *SecretsInjector) OnTypeMatch(matchers ...interface{}) *SecretsInjector_Type
- func (_m *SecretsInjector) Type() config.SecretManagerType
- type SecretsInjector_Inject
- type SecretsInjector_Type
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) 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 ¶
func (_m *SecretsInjector) OnType() *SecretsInjector_Type
func (*SecretsInjector) OnTypeMatch ¶
func (_m *SecretsInjector) OnTypeMatch(matchers ...interface{}) *SecretsInjector_Type
func (*SecretsInjector) Type ¶
func (_m *SecretsInjector) Type() config.SecretManagerType
Type provides a mock function with given fields:
type SecretsInjector_Inject ¶
func (SecretsInjector_Inject) Return ¶
func (_m SecretsInjector_Inject) Return(newP *v1.Pod, injected bool, err error) *SecretsInjector_Inject
type SecretsInjector_Type ¶
func (SecretsInjector_Type) Return ¶
func (_m SecretsInjector_Type) Return(_a0 config.SecretManagerType) *SecretsInjector_Type
Click to show internal directories.
Click to hide internal directories.