mocks

package
v2.0.0-dev.43 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

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

GetSecrets 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) StoreSecrets

func (_m *SecretProvider) StoreSecrets(path string, secrets map[string]string) error

StoreSecrets 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