mock_keyvault

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Run go generate to regenerate this mock.

Package mock_keyvault is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKeyVault

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

MockKeyVault is a mock of KeyVault interface.

func NewMockKeyVault

func NewMockKeyVault(ctrl *gomock.Controller) *MockKeyVault

NewMockKeyVault creates a new mock instance.

func (*MockKeyVault) EXPECT

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

func (*MockKeyVault) GetCertificate

func (m *MockKeyVault) GetCertificate(ctx context.Context, name, version string) (*azcertificates.CertificateBundle, error)

GetCertificate mocks base method.

func (*MockKeyVault) GetCertificateVersions

func (m *MockKeyVault) GetCertificateVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)

GetCertificateVersions mocks base method.

func (*MockKeyVault) GetKey

func (m *MockKeyVault) GetKey(ctx context.Context, name, version string) (*azkeys.KeyBundle, error)

GetKey mocks base method.

func (*MockKeyVault) GetKeyVersions

func (m *MockKeyVault) GetKeyVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)

GetKeyVersions mocks base method.

func (*MockKeyVault) GetSecret

func (m *MockKeyVault) GetSecret(ctx context.Context, name, version string) (*azsecrets.SecretBundle, error)

GetSecret mocks base method.

func (*MockKeyVault) GetSecretVersions

func (m *MockKeyVault) GetSecretVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)

GetSecretVersions mocks base method.

type MockKeyVaultMockRecorder

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

MockKeyVaultMockRecorder is the mock recorder for MockKeyVault.

func (*MockKeyVaultMockRecorder) GetCertificate

func (mr *MockKeyVaultMockRecorder) GetCertificate(ctx, name, version interface{}) *gomock.Call

GetCertificate indicates an expected call of GetCertificate.

func (*MockKeyVaultMockRecorder) GetCertificateVersions

func (mr *MockKeyVaultMockRecorder) GetCertificateVersions(ctx, name interface{}) *gomock.Call

GetCertificateVersions indicates an expected call of GetCertificateVersions.

func (*MockKeyVaultMockRecorder) GetKey

func (mr *MockKeyVaultMockRecorder) GetKey(ctx, name, version interface{}) *gomock.Call

GetKey indicates an expected call of GetKey.

func (*MockKeyVaultMockRecorder) GetKeyVersions

func (mr *MockKeyVaultMockRecorder) GetKeyVersions(ctx, name interface{}) *gomock.Call

GetKeyVersions indicates an expected call of GetKeyVersions.

func (*MockKeyVaultMockRecorder) GetSecret

func (mr *MockKeyVaultMockRecorder) GetSecret(ctx, name, version interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret.

func (*MockKeyVaultMockRecorder) GetSecretVersions

func (mr *MockKeyVaultMockRecorder) GetSecretVersions(ctx, name interface{}) *gomock.Call

GetSecretVersions indicates an expected call of GetSecretVersions.

Jump to

Keyboard shortcuts

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