mocks

package
v2.0.1-dev.16 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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) 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