Documentation ¶
Index ¶
- type Configuration
- func (_m *Configuration) EmptyWritablePtr() interface{}
- func (_m *Configuration) GetBootstrap() config.BootstrapConfiguration
- func (_m *Configuration) GetInsecureSecrets() config.InsecureSecrets
- func (_m *Configuration) GetLogLevel() string
- func (_m *Configuration) GetRegistryInfo() config.RegistryInfo
- func (_m *Configuration) UpdateFromRaw(rawConfig interface{}) bool
- func (_m *Configuration) UpdateWritableFromRaw(rawWritableConfig interface{}) bool
- type SecretProvider
- func (_m *SecretProvider) GetAccessToken(tokenType string, serviceKey string) (string, error)
- func (_m *SecretProvider) GetSecret(path string, keys ...string) (map[string]string, error)
- func (_m *SecretProvider) SecretsLastUpdated() time.Time
- func (_m *SecretProvider) SecretsUpdated()
- func (_m *SecretProvider) StoreSecret(path string, secrets map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶ added in v2.2.0
Configuration is an autogenerated mock type for the Configuration type
func (*Configuration) EmptyWritablePtr ¶ added in v2.2.0
func (_m *Configuration) EmptyWritablePtr() interface{}
EmptyWritablePtr provides a mock function with given fields:
func (*Configuration) GetBootstrap ¶ added in v2.2.0
func (_m *Configuration) GetBootstrap() config.BootstrapConfiguration
GetBootstrap provides a mock function with given fields:
func (*Configuration) GetInsecureSecrets ¶ added in v2.2.0
func (_m *Configuration) GetInsecureSecrets() config.InsecureSecrets
GetInsecureSecrets provides a mock function with given fields:
func (*Configuration) GetLogLevel ¶ added in v2.2.0
func (_m *Configuration) GetLogLevel() string
GetLogLevel provides a mock function with given fields:
func (*Configuration) GetRegistryInfo ¶ added in v2.2.0
func (_m *Configuration) GetRegistryInfo() config.RegistryInfo
GetRegistryInfo provides a mock function with given fields:
func (*Configuration) UpdateFromRaw ¶ added in v2.2.0
func (_m *Configuration) UpdateFromRaw(rawConfig interface{}) bool
UpdateFromRaw provides a mock function with given fields: rawConfig
func (*Configuration) UpdateWritableFromRaw ¶ added in v2.2.0
func (_m *Configuration) UpdateWritableFromRaw(rawWritableConfig interface{}) bool
UpdateWritableFromRaw provides a mock function with given fields: rawWritableConfig
type SecretProvider ¶
SecretProvider is an autogenerated mock type for the SecretProvider type
func (*SecretProvider) GetAccessToken ¶
func (_m *SecretProvider) GetAccessToken(tokenType string, serviceKey string) (string, error)
GetAccessToken provides a mock function with given fields: tokenType, serviceKey
func (*SecretProvider) SecretsLastUpdated ¶
func (_m *SecretProvider) SecretsLastUpdated() time.Time
SecretsLastUpdated provides a mock function with given fields:
func (*SecretProvider) SecretsUpdated ¶
func (_m *SecretProvider) SecretsUpdated()
SecretsUpdated provides a mock function with given fields:
func (*SecretProvider) StoreSecret ¶
func (_m *SecretProvider) StoreSecret(path string, secrets map[string]string) error
StoreSecret provides a mock function with given fields: path, secrets