mocks

package
v2.2.0-dev.9 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration added in v2.2.0

type Configuration struct {
	mock.Mock
}

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

type SecretProvider struct {
	mock.Mock
}

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

func (_m *SecretProvider) GetSecret(path string, keys ...string) (map[string]string, error)

GetSecret provides a mock function with given fields: path, keys

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

Jump to

Keyboard shortcuts

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