mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 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 KubeSeal

type KubeSeal struct {
	mock.Mock
}

KubeSeal is an autogenerated mock type for the KubeSeal type

func NewKubeSeal

func NewKubeSeal(t mockConstructorTestingTNewKubeSeal) *KubeSeal

NewKubeSeal creates a new instance of KubeSeal. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*KubeSeal) BuildSecretFile

func (_m *KubeSeal) BuildSecretFile(secretValues domain.SecretValues)

BuildSecretFile provides a mock function with given fields: secretValues

func (*KubeSeal) Seal

func (_m *KubeSeal) Seal(secret string)

Seal provides a mock function with given fields: secret

type SecretsManager

type SecretsManager struct {
	mock.Mock
}

SecretsManager is an autogenerated mock type for the SecretsManager type

func NewSecretsManager

func NewSecretsManager(t mockConstructorTestingTNewSecretsManager) *SecretsManager

NewSecretsManager creates a new instance of SecretsManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*SecretsManager) GetSecret

func (_m *SecretsManager) GetSecret(secretName string) map[string]interface{}

GetSecret provides a mock function with given fields: secretName

type Vault

type Vault struct {
	mock.Mock
}

Vault is an autogenerated mock type for the Vault type

func NewVault

func NewVault(t mockConstructorTestingTNewVault) *Vault

NewVault creates a new instance of Vault. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Vault) GetSecret

func (_m *Vault) GetSecret(secretName string) map[string]interface{}

GetSecret provides a mock function with given fields: secretName

Jump to

Keyboard shortcuts

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