mock_providers

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Package mock_providers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAWSSSMClient

type MockAWSSSMClient struct {
	// contains filtered or unexported fields
}

MockAWSSSMClient is a mock of AWSSSMClient interface.

func NewMockAWSSSMClient

func NewMockAWSSSMClient(ctrl *gomock.Controller) *MockAWSSSMClient

NewMockAWSSSMClient creates a new mock instance.

func (*MockAWSSSMClient) DeleteParameter

func (m *MockAWSSSMClient) DeleteParameter(ctx context.Context, params *ssm.DeleteParameterInput, optFns ...func(*ssm.Options)) (*ssm.DeleteParameterOutput, error)

DeleteParameter mocks base method.

func (*MockAWSSSMClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAWSSSMClient) GetParameter

func (m *MockAWSSSMClient) GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)

GetParameter mocks base method.

func (*MockAWSSSMClient) PutParameter

func (m *MockAWSSSMClient) PutParameter(ctx context.Context, params *ssm.PutParameterInput, optFns ...func(*ssm.Options)) (*ssm.PutParameterOutput, error)

PutParameter mocks base method.

type MockAWSSSMClientMockRecorder

type MockAWSSSMClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAWSSSMClientMockRecorder is the mock recorder for MockAWSSSMClient.

func (*MockAWSSSMClientMockRecorder) DeleteParameter

func (mr *MockAWSSSMClientMockRecorder) DeleteParameter(ctx, params interface{}, optFns ...interface{}) *gomock.Call

DeleteParameter indicates an expected call of DeleteParameter.

func (*MockAWSSSMClientMockRecorder) GetParameter

func (mr *MockAWSSSMClientMockRecorder) GetParameter(ctx, params interface{}, optFns ...interface{}) *gomock.Call

GetParameter indicates an expected call of GetParameter.

func (*MockAWSSSMClientMockRecorder) PutParameter

func (mr *MockAWSSSMClientMockRecorder) PutParameter(ctx, params interface{}, optFns ...interface{}) *gomock.Call

PutParameter indicates an expected call of PutParameter.

type MockAWSSecretsManagerClient

type MockAWSSecretsManagerClient struct {
	// contains filtered or unexported fields
}

MockAWSSecretsManagerClient is a mock of AWSSecretsManagerClient interface.

func NewMockAWSSecretsManagerClient

func NewMockAWSSecretsManagerClient(ctrl *gomock.Controller) *MockAWSSecretsManagerClient

NewMockAWSSecretsManagerClient creates a new mock instance.

func (*MockAWSSecretsManagerClient) CreateSecret

CreateSecret mocks base method.

func (*MockAWSSecretsManagerClient) DeleteSecret

DeleteSecret mocks base method.

func (*MockAWSSecretsManagerClient) DescribeSecret

DescribeSecret mocks base method.

func (*MockAWSSecretsManagerClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAWSSecretsManagerClient) GetSecretValue

GetSecretValue mocks base method.

func (*MockAWSSecretsManagerClient) PutSecretValue

PutSecretValue mocks base method.

type MockAWSSecretsManagerClientMockRecorder

type MockAWSSecretsManagerClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAWSSecretsManagerClientMockRecorder is the mock recorder for MockAWSSecretsManagerClient.

func (*MockAWSSecretsManagerClientMockRecorder) CreateSecret

func (mr *MockAWSSecretsManagerClientMockRecorder) CreateSecret(ctx, params interface{}, optFns ...interface{}) *gomock.Call

CreateSecret indicates an expected call of CreateSecret.

func (*MockAWSSecretsManagerClientMockRecorder) DeleteSecret

func (mr *MockAWSSecretsManagerClientMockRecorder) DeleteSecret(ctx, params interface{}, optFns ...interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret.

func (*MockAWSSecretsManagerClientMockRecorder) DescribeSecret

func (mr *MockAWSSecretsManagerClientMockRecorder) DescribeSecret(ctx, params interface{}, optFns ...interface{}) *gomock.Call

DescribeSecret indicates an expected call of DescribeSecret.

func (*MockAWSSecretsManagerClientMockRecorder) GetSecretValue

func (mr *MockAWSSecretsManagerClientMockRecorder) GetSecretValue(ctx, params interface{}, optFns ...interface{}) *gomock.Call

GetSecretValue indicates an expected call of GetSecretValue.

func (*MockAWSSecretsManagerClientMockRecorder) PutSecretValue

func (mr *MockAWSSecretsManagerClientMockRecorder) PutSecretValue(ctx, params interface{}, optFns ...interface{}) *gomock.Call

PutSecretValue indicates an expected call of PutSecretValue.

type MockAnsibleVaultClient

type MockAnsibleVaultClient struct {
	// contains filtered or unexported fields
}

MockAnsibleVaultClient is a mock of AnsibleVaultClient interface.

func NewMockAnsibleVaultClient

func NewMockAnsibleVaultClient(ctrl *gomock.Controller) *MockAnsibleVaultClient

NewMockAnsibleVaultClient creates a new mock instance.

func (*MockAnsibleVaultClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAnsibleVaultClient) Read

func (m *MockAnsibleVaultClient) Read(p string) (map[string]string, error)

Read mocks base method.

type MockAnsibleVaultClientMockRecorder

type MockAnsibleVaultClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAnsibleVaultClientMockRecorder is the mock recorder for MockAnsibleVaultClient.

func (*MockAnsibleVaultClientMockRecorder) Read

func (mr *MockAnsibleVaultClientMockRecorder) Read(p interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockAzureKeyVaultClient

type MockAzureKeyVaultClient struct {
	// contains filtered or unexported fields
}

MockAzureKeyVaultClient is a mock of AzureKeyVaultClient interface.

func NewMockAzureKeyVaultClient

func NewMockAzureKeyVaultClient(ctrl *gomock.Controller) *MockAzureKeyVaultClient

NewMockAzureKeyVaultClient creates a new mock instance.

func (*MockAzureKeyVaultClient) DeleteSecret

func (m *MockAzureKeyVaultClient) DeleteSecret(ctx context.Context, vaultBaseURL, secretName string) (keyvault.DeletedSecretBundle, error)

DeleteSecret mocks base method.

func (*MockAzureKeyVaultClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAzureKeyVaultClient) GetSecret

func (m *MockAzureKeyVaultClient) GetSecret(ctx context.Context, vaultBaseURL, secretName, secretVersion string) (keyvault.SecretBundle, error)

GetSecret mocks base method.

func (*MockAzureKeyVaultClient) GetSecrets

func (m *MockAzureKeyVaultClient) GetSecrets(ctx context.Context, vaultBaseURL string, maxresults *int32) (keyvault.SecretListResultPage, error)

GetSecrets mocks base method.

func (*MockAzureKeyVaultClient) SetSecret

func (m *MockAzureKeyVaultClient) SetSecret(ctx context.Context, vaultBaseURL, secretName string, parameters keyvault.SecretSetParameters) (keyvault.SecretBundle, error)

SetSecret mocks base method.

type MockAzureKeyVaultClientMockRecorder

type MockAzureKeyVaultClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAzureKeyVaultClientMockRecorder is the mock recorder for MockAzureKeyVaultClient.

func (*MockAzureKeyVaultClientMockRecorder) DeleteSecret

func (mr *MockAzureKeyVaultClientMockRecorder) DeleteSecret(ctx, vaultBaseURL, secretName interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret.

func (*MockAzureKeyVaultClientMockRecorder) GetSecret

func (mr *MockAzureKeyVaultClientMockRecorder) GetSecret(ctx, vaultBaseURL, secretName, secretVersion interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret.

func (*MockAzureKeyVaultClientMockRecorder) GetSecrets

func (mr *MockAzureKeyVaultClientMockRecorder) GetSecrets(ctx, vaultBaseURL, maxresults interface{}) *gomock.Call

GetSecrets indicates an expected call of GetSecrets.

func (*MockAzureKeyVaultClientMockRecorder) SetSecret

func (mr *MockAzureKeyVaultClientMockRecorder) SetSecret(ctx, vaultBaseURL, secretName, parameters interface{}) *gomock.Call

SetSecret indicates an expected call of SetSecret.

type MockCloudflareClient

type MockCloudflareClient struct {
	// contains filtered or unexported fields
}

MockCloudflareClient is a mock of CloudflareClient interface.

func NewMockCloudflareClient

func NewMockCloudflareClient(ctrl *gomock.Controller) *MockCloudflareClient

NewMockCloudflareClient creates a new mock instance.

func (*MockCloudflareClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCloudflareClient) ListWorkersKVs

func (m *MockCloudflareClient) ListWorkersKVs(ctx context.Context, namespaceID string) (cloudflare.ListStorageKeysResponse, error)

ListWorkersKVs mocks base method.

func (*MockCloudflareClient) ReadWorkersKV

func (m *MockCloudflareClient) ReadWorkersKV(ctx context.Context, namespaceID, key string) ([]byte, error)

ReadWorkersKV mocks base method.

func (*MockCloudflareClient) WriteWorkersKV

func (m *MockCloudflareClient) WriteWorkersKV(ctx context.Context, namespaceID, key string, value []byte) (cloudflare.Response, error)

WriteWorkersKV mocks base method.

func (*MockCloudflareClient) WriteWorkersKVBulk

WriteWorkersKVBulk mocks base method.

type MockCloudflareClientMockRecorder

type MockCloudflareClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockCloudflareClientMockRecorder is the mock recorder for MockCloudflareClient.

func (*MockCloudflareClientMockRecorder) ListWorkersKVs

func (mr *MockCloudflareClientMockRecorder) ListWorkersKVs(ctx, namespaceID interface{}) *gomock.Call

ListWorkersKVs indicates an expected call of ListWorkersKVs.

func (*MockCloudflareClientMockRecorder) ReadWorkersKV

func (mr *MockCloudflareClientMockRecorder) ReadWorkersKV(ctx, namespaceID, key interface{}) *gomock.Call

ReadWorkersKV indicates an expected call of ReadWorkersKV.

func (*MockCloudflareClientMockRecorder) WriteWorkersKV

func (mr *MockCloudflareClientMockRecorder) WriteWorkersKV(ctx, namespaceID, key, value interface{}) *gomock.Call

WriteWorkersKV indicates an expected call of WriteWorkersKV.

func (*MockCloudflareClientMockRecorder) WriteWorkersKVBulk

func (mr *MockCloudflareClientMockRecorder) WriteWorkersKVBulk(ctx, namespaceID, kvs interface{}) *gomock.Call

WriteWorkersKVBulk indicates an expected call of WriteWorkersKVBulk.

type MockCloudflareSecretsClient

type MockCloudflareSecretsClient struct {
	// contains filtered or unexported fields
}

MockCloudflareSecretsClient is a mock of CloudflareSecretsClient interface.

func NewMockCloudflareSecretsClient

func NewMockCloudflareSecretsClient(ctrl *gomock.Controller) *MockCloudflareSecretsClient

NewMockCloudflareSecretsClient creates a new mock instance.

func (*MockCloudflareSecretsClient) DeleteWorkersSecret

func (m *MockCloudflareSecretsClient) DeleteWorkersSecret(ctx context.Context, script, secretName string) (cloudflare.Response, error)

DeleteWorkersSecret mocks base method.

func (*MockCloudflareSecretsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCloudflareSecretsClient) SetWorkersSecret

SetWorkersSecret mocks base method.

type MockCloudflareSecretsClientMockRecorder

type MockCloudflareSecretsClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockCloudflareSecretsClientMockRecorder is the mock recorder for MockCloudflareSecretsClient.

func (*MockCloudflareSecretsClientMockRecorder) DeleteWorkersSecret

func (mr *MockCloudflareSecretsClientMockRecorder) DeleteWorkersSecret(ctx, script, secretName interface{}) *gomock.Call

DeleteWorkersSecret indicates an expected call of DeleteWorkersSecret.

func (*MockCloudflareSecretsClientMockRecorder) SetWorkersSecret

func (mr *MockCloudflareSecretsClientMockRecorder) SetWorkersSecret(ctx, script, req interface{}) *gomock.Call

SetWorkersSecret indicates an expected call of SetWorkersSecret.

type MockConjurClient

type MockConjurClient struct {
	// contains filtered or unexported fields
}

MockConjurClient is a mock of ConjurClient interface.

func NewMockConjurClient

func NewMockConjurClient(ctrl *gomock.Controller) *MockConjurClient

NewMockConjurClient creates a new mock instance.

func (*MockConjurClient) AddSecret

func (m *MockConjurClient) AddSecret(variableId, secretValue string) error

AddSecret mocks base method.

func (*MockConjurClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockConjurClient) RetrieveSecret

func (m *MockConjurClient) RetrieveSecret(variableId string) ([]byte, error)

RetrieveSecret mocks base method.

type MockConjurClientMockRecorder

type MockConjurClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockConjurClientMockRecorder is the mock recorder for MockConjurClient.

func (*MockConjurClientMockRecorder) AddSecret

func (mr *MockConjurClientMockRecorder) AddSecret(variableId, secretValue interface{}) *gomock.Call

AddSecret indicates an expected call of AddSecret.

func (*MockConjurClientMockRecorder) RetrieveSecret

func (mr *MockConjurClientMockRecorder) RetrieveSecret(variableId interface{}) *gomock.Call

RetrieveSecret indicates an expected call of RetrieveSecret.

type MockConsulClient

type MockConsulClient struct {
	// contains filtered or unexported fields
}

MockConsulClient is a mock of ConsulClient interface.

func NewMockConsulClient

func NewMockConsulClient(ctrl *gomock.Controller) *MockConsulClient

NewMockConsulClient creates a new mock instance.

func (*MockConsulClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockConsulClient) Get

Get mocks base method.

func (*MockConsulClient) List

List mocks base method.

func (*MockConsulClient) Put

Put mocks base method.

type MockConsulClientMockRecorder

type MockConsulClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockConsulClientMockRecorder is the mock recorder for MockConsulClient.

func (*MockConsulClientMockRecorder) Get

func (mr *MockConsulClientMockRecorder) Get(key, q interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockConsulClientMockRecorder) List

func (mr *MockConsulClientMockRecorder) List(prefix, q interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockConsulClientMockRecorder) Put

func (mr *MockConsulClientMockRecorder) Put(p, q interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockDopplerClient

type MockDopplerClient struct {
	// contains filtered or unexported fields
}

MockDopplerClient is a mock of DopplerClient interface.

func NewMockDopplerClient

func NewMockDopplerClient(ctrl *gomock.Controller) *MockDopplerClient

NewMockDopplerClient creates a new mock instance.

func (*MockDopplerClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDopplerClient) GetSecrets

func (m *MockDopplerClient) GetSecrets(host string, verifyTLS bool, apiKey, project, config string) ([]byte, http.Error)

GetSecrets mocks base method.

type MockDopplerClientMockRecorder

type MockDopplerClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDopplerClientMockRecorder is the mock recorder for MockDopplerClient.

func (*MockDopplerClientMockRecorder) GetSecrets

func (mr *MockDopplerClientMockRecorder) GetSecrets(host, verifyTLS, apiKey, project, config interface{}) *gomock.Call

GetSecrets indicates an expected call of GetSecrets.

type MockDotEnvClient

type MockDotEnvClient struct {
	// contains filtered or unexported fields
}

MockDotEnvClient is a mock of DotEnvClient interface.

func NewMockDotEnvClient

func NewMockDotEnvClient(ctrl *gomock.Controller) *MockDotEnvClient

NewMockDotEnvClient creates a new mock instance.

func (*MockDotEnvClient) Delete

func (m *MockDotEnvClient) Delete(p string) error

Delete mocks base method.

func (*MockDotEnvClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDotEnvClient) Exists

func (m *MockDotEnvClient) Exists(p string) (bool, error)

Exists mocks base method.

func (*MockDotEnvClient) Read

func (m *MockDotEnvClient) Read(p string) (map[string]string, error)

Read mocks base method.

func (*MockDotEnvClient) Write

func (m *MockDotEnvClient) Write(p string, kvs map[string]string) error

Write mocks base method.

type MockDotEnvClientMockRecorder

type MockDotEnvClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDotEnvClientMockRecorder is the mock recorder for MockDotEnvClient.

func (*MockDotEnvClientMockRecorder) Delete

func (mr *MockDotEnvClientMockRecorder) Delete(p interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDotEnvClientMockRecorder) Exists

func (mr *MockDotEnvClientMockRecorder) Exists(p interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockDotEnvClientMockRecorder) Read

func (mr *MockDotEnvClientMockRecorder) Read(p interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockDotEnvClientMockRecorder) Write

func (mr *MockDotEnvClientMockRecorder) Write(p, kvs interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockEtcdClient

type MockEtcdClient struct {
	// contains filtered or unexported fields
}

MockEtcdClient is a mock of EtcdClient interface.

func NewMockEtcdClient

func NewMockEtcdClient(ctrl *gomock.Controller) *MockEtcdClient

NewMockEtcdClient creates a new mock instance.

func (*MockEtcdClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEtcdClient) Get

Get mocks base method.

func (*MockEtcdClient) Put

func (m *MockEtcdClient) Put(ctx context.Context, key, val string, opts ...clientv3.OpOption) (*clientv3.PutResponse, error)

Put mocks base method.

type MockEtcdClientMockRecorder

type MockEtcdClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockEtcdClientMockRecorder is the mock recorder for MockEtcdClient.

func (*MockEtcdClientMockRecorder) Get

func (mr *MockEtcdClientMockRecorder) Get(ctx, key interface{}, opts ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockEtcdClientMockRecorder) Put

func (mr *MockEtcdClientMockRecorder) Put(ctx, key, val interface{}, opts ...interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockGitHubActionClient

type MockGitHubActionClient struct {
	// contains filtered or unexported fields
}

MockGitHubActionClient is a mock of GitHubActionClient interface.

func NewMockGitHubActionClient

func NewMockGitHubActionClient(ctrl *gomock.Controller) *MockGitHubActionClient

NewMockGitHubActionClient creates a new mock instance.

func (*MockGitHubActionClient) CreateOrUpdateRepoSecret

func (m *MockGitHubActionClient) CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, eSecret *github.EncryptedSecret) (*github.Response, error)

CreateOrUpdateRepoSecret mocks base method.

func (*MockGitHubActionClient) DeleteRepoSecret

func (m *MockGitHubActionClient) DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*github.Response, error)

DeleteRepoSecret mocks base method.

func (*MockGitHubActionClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGitHubActionClient) GetRepoPublicKey

func (m *MockGitHubActionClient) GetRepoPublicKey(ctx context.Context, owner, repo string) (*github.PublicKey, *github.Response, error)

GetRepoPublicKey mocks base method.

func (*MockGitHubActionClient) ListRepoSecrets

func (m *MockGitHubActionClient) ListRepoSecrets(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)

ListRepoSecrets mocks base method.

type MockGitHubActionClientMockRecorder

type MockGitHubActionClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockGitHubActionClientMockRecorder is the mock recorder for MockGitHubActionClient.

func (*MockGitHubActionClientMockRecorder) CreateOrUpdateRepoSecret

func (mr *MockGitHubActionClientMockRecorder) CreateOrUpdateRepoSecret(ctx, owner, repo, eSecret interface{}) *gomock.Call

CreateOrUpdateRepoSecret indicates an expected call of CreateOrUpdateRepoSecret.

func (*MockGitHubActionClientMockRecorder) DeleteRepoSecret

func (mr *MockGitHubActionClientMockRecorder) DeleteRepoSecret(ctx, owner, repo, name interface{}) *gomock.Call

DeleteRepoSecret indicates an expected call of DeleteRepoSecret.

func (*MockGitHubActionClientMockRecorder) GetRepoPublicKey

func (mr *MockGitHubActionClientMockRecorder) GetRepoPublicKey(ctx, owner, repo interface{}) *gomock.Call

GetRepoPublicKey indicates an expected call of GetRepoPublicKey.

func (*MockGitHubActionClientMockRecorder) ListRepoSecrets

func (mr *MockGitHubActionClientMockRecorder) ListRepoSecrets(ctx, owner, repo, opts interface{}) *gomock.Call

ListRepoSecrets indicates an expected call of ListRepoSecrets.

type MockGoogleSMClient

type MockGoogleSMClient struct {
	// contains filtered or unexported fields
}

MockGoogleSMClient is a mock of GoogleSMClient interface.

func NewMockGoogleSMClient

func NewMockGoogleSMClient(ctrl *gomock.Controller) *MockGoogleSMClient

NewMockGoogleSMClient creates a new mock instance.

func (*MockGoogleSMClient) AccessSecretVersion

AccessSecretVersion mocks base method.

func (*MockGoogleSMClient) AddSecretVersion

AddSecretVersion mocks base method.

func (*MockGoogleSMClient) DestroySecretVersion

DestroySecretVersion mocks base method.

func (*MockGoogleSMClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGoogleSMClient) ListSecrets

ListSecrets mocks base method.

type MockGoogleSMClientMockRecorder

type MockGoogleSMClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockGoogleSMClientMockRecorder is the mock recorder for MockGoogleSMClient.

func (*MockGoogleSMClientMockRecorder) AccessSecretVersion

func (mr *MockGoogleSMClientMockRecorder) AccessSecretVersion(ctx, req interface{}, opts ...interface{}) *gomock.Call

AccessSecretVersion indicates an expected call of AccessSecretVersion.

func (*MockGoogleSMClientMockRecorder) AddSecretVersion

func (mr *MockGoogleSMClientMockRecorder) AddSecretVersion(ctx, req interface{}, opts ...interface{}) *gomock.Call

AddSecretVersion indicates an expected call of AddSecretVersion.

func (*MockGoogleSMClientMockRecorder) DestroySecretVersion

func (mr *MockGoogleSMClientMockRecorder) DestroySecretVersion(ctx, req interface{}, opts ...interface{}) *gomock.Call

DestroySecretVersion indicates an expected call of DestroySecretVersion.

func (*MockGoogleSMClientMockRecorder) ListSecrets

func (mr *MockGoogleSMClientMockRecorder) ListSecrets(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListSecrets indicates an expected call of ListSecrets.

type MockGopassClient

type MockGopassClient struct {
	// contains filtered or unexported fields
}

MockGopassClient is a mock of GopassClient interface.

func NewMockGopassClient

func NewMockGopassClient(ctrl *gomock.Controller) *MockGopassClient

NewMockGopassClient creates a new mock instance.

func (*MockGopassClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGopassClient) Get

func (m *MockGopassClient) Get(ctx context.Context, name, revision string) (gopass.Secret, error)

Get mocks base method.

func (*MockGopassClient) List

func (m *MockGopassClient) List(ctx context.Context) ([]string, error)

List mocks base method.

func (*MockGopassClient) Set

func (m *MockGopassClient) Set(ctx context.Context, name string, sec gopass.Byter) error

Set mocks base method.

type MockGopassClientMockRecorder

type MockGopassClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockGopassClientMockRecorder is the mock recorder for MockGopassClient.

func (*MockGopassClientMockRecorder) Get

func (mr *MockGopassClientMockRecorder) Get(ctx, name, revision interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockGopassClientMockRecorder) List

func (mr *MockGopassClientMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockGopassClientMockRecorder) Set

func (mr *MockGopassClientMockRecorder) Set(ctx, name, sec interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockHashicorpClient

type MockHashicorpClient struct {
	// contains filtered or unexported fields
}

MockHashicorpClient is a mock of HashicorpClient interface.

func NewMockHashicorpClient

func NewMockHashicorpClient(ctrl *gomock.Controller) *MockHashicorpClient

NewMockHashicorpClient creates a new mock instance.

func (*MockHashicorpClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHashicorpClient) Read

func (m *MockHashicorpClient) Read(path string) (*api.Secret, error)

Read mocks base method.

func (*MockHashicorpClient) Write

func (m *MockHashicorpClient) Write(path string, data map[string]interface{}) (*api.Secret, error)

Write mocks base method.

type MockHashicorpClientMockRecorder

type MockHashicorpClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockHashicorpClientMockRecorder is the mock recorder for MockHashicorpClient.

func (*MockHashicorpClientMockRecorder) Read

func (mr *MockHashicorpClientMockRecorder) Read(path interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockHashicorpClientMockRecorder) Write

func (mr *MockHashicorpClientMockRecorder) Write(path, data interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockHerokuClient

type MockHerokuClient struct {
	// contains filtered or unexported fields
}

MockHerokuClient is a mock of HerokuClient interface.

func NewMockHerokuClient

func NewMockHerokuClient(ctrl *gomock.Controller) *MockHerokuClient

NewMockHerokuClient creates a new mock instance.

func (*MockHerokuClient) ConfigVarInfoForApp

func (m *MockHerokuClient) ConfigVarInfoForApp(ctx context.Context, appIdentity string) (v5.ConfigVarInfoForAppResult, error)

ConfigVarInfoForApp mocks base method.

func (*MockHerokuClient) ConfigVarUpdate

func (m *MockHerokuClient) ConfigVarUpdate(ctx context.Context, appIdentity string, o map[string]*string) (v5.ConfigVarUpdateResult, error)

ConfigVarUpdate mocks base method.

func (*MockHerokuClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockHerokuClientMockRecorder

type MockHerokuClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockHerokuClientMockRecorder is the mock recorder for MockHerokuClient.

func (*MockHerokuClientMockRecorder) ConfigVarInfoForApp

func (mr *MockHerokuClientMockRecorder) ConfigVarInfoForApp(ctx, appIdentity interface{}) *gomock.Call

ConfigVarInfoForApp indicates an expected call of ConfigVarInfoForApp.

func (*MockHerokuClientMockRecorder) ConfigVarUpdate

func (mr *MockHerokuClientMockRecorder) ConfigVarUpdate(ctx, appIdentity, o interface{}) *gomock.Call

ConfigVarUpdate indicates an expected call of ConfigVarUpdate.

type MockKsmClient

type MockKsmClient struct {
	// contains filtered or unexported fields
}

MockKsmClient is a mock of KsmClient interface.

func NewMockKsmClient

func NewMockKsmClient(ctrl *gomock.Controller) *MockKsmClient

NewMockKsmClient creates a new mock instance.

func (*MockKsmClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockKsmClient) GetSecret

func (m *MockKsmClient) GetSecret(p core.KeyPath) (*core.EnvEntry, error)

GetSecret mocks base method.

func (*MockKsmClient) GetSecrets

func (m *MockKsmClient) GetSecrets(p core.KeyPath) ([]core.EnvEntry, error)

GetSecrets mocks base method.

type MockKsmClientMockRecorder

type MockKsmClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockKsmClientMockRecorder is the mock recorder for MockKsmClient.

func (*MockKsmClientMockRecorder) GetSecret

func (mr *MockKsmClientMockRecorder) GetSecret(p interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret.

func (*MockKsmClientMockRecorder) GetSecrets

func (mr *MockKsmClientMockRecorder) GetSecrets(p interface{}) *gomock.Call

GetSecrets indicates an expected call of GetSecrets.

type MockOnePasswordClient

type MockOnePasswordClient struct {
	// contains filtered or unexported fields
}

MockOnePasswordClient is a mock of OnePasswordClient interface.

func NewMockOnePasswordClient

func NewMockOnePasswordClient(ctrl *gomock.Controller) *MockOnePasswordClient

NewMockOnePasswordClient creates a new mock instance.

func (*MockOnePasswordClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOnePasswordClient) GetItemByTitle

func (m *MockOnePasswordClient) GetItemByTitle(title, vaultUUID string) (*onepassword.Item, error)

GetItemByTitle mocks base method.

func (*MockOnePasswordClient) UpdateItem

func (m *MockOnePasswordClient) UpdateItem(item *onepassword.Item, vaultUUID string) (*onepassword.Item, error)

UpdateItem mocks base method.

type MockOnePasswordClientMockRecorder

type MockOnePasswordClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockOnePasswordClientMockRecorder is the mock recorder for MockOnePasswordClient.

func (*MockOnePasswordClientMockRecorder) GetItemByTitle

func (mr *MockOnePasswordClientMockRecorder) GetItemByTitle(title, vaultUUID interface{}) *gomock.Call

GetItemByTitle indicates an expected call of GetItemByTitle.

func (*MockOnePasswordClientMockRecorder) UpdateItem

func (mr *MockOnePasswordClientMockRecorder) UpdateItem(item, vaultUUID interface{}) *gomock.Call

UpdateItem indicates an expected call of UpdateItem.

type MockVercelClient

type MockVercelClient struct {
	// contains filtered or unexported fields
}

MockVercelClient is a mock of VercelClient interface.

func NewMockVercelClient

func NewMockVercelClient(ctrl *gomock.Controller) *MockVercelClient

NewMockVercelClient creates a new mock instance.

func (*MockVercelClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVercelClient) GetProject

func (m *MockVercelClient) GetProject(path string) (map[string]*string, error)

GetProject mocks base method.

type MockVercelClientMockRecorder

type MockVercelClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockVercelClientMockRecorder is the mock recorder for MockVercelClient.

func (*MockVercelClientMockRecorder) GetProject

func (mr *MockVercelClientMockRecorder) GetProject(path interface{}) *gomock.Call

GetProject indicates an expected call of GetProject.

Jump to

Keyboard shortcuts

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