Documentation ¶
Overview ¶
Run go generate to regenerate this mock.
Package mock_keyvault is a generated GoMock package.
Index ¶
- type MockKeyVault
- func (m *MockKeyVault) EXPECT() *MockKeyVaultMockRecorder
- func (m *MockKeyVault) GetCertificate(ctx context.Context, name, version string) (*azcertificates.CertificateBundle, error)
- func (m *MockKeyVault) GetCertificateVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)
- func (m *MockKeyVault) GetKey(ctx context.Context, name, version string) (*azkeys.KeyBundle, error)
- func (m *MockKeyVault) GetKeyVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)
- func (m *MockKeyVault) GetSecret(ctx context.Context, name, version string) (*azsecrets.SecretBundle, error)
- func (m *MockKeyVault) GetSecretVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)
- type MockKeyVaultMockRecorder
- func (mr *MockKeyVaultMockRecorder) GetCertificate(ctx, name, version interface{}) *gomock.Call
- func (mr *MockKeyVaultMockRecorder) GetCertificateVersions(ctx, name interface{}) *gomock.Call
- func (mr *MockKeyVaultMockRecorder) GetKey(ctx, name, version interface{}) *gomock.Call
- func (mr *MockKeyVaultMockRecorder) GetKeyVersions(ctx, name interface{}) *gomock.Call
- func (mr *MockKeyVaultMockRecorder) GetSecret(ctx, name, version interface{}) *gomock.Call
- func (mr *MockKeyVaultMockRecorder) GetSecretVersions(ctx, name interface{}) *gomock.Call
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 ¶
func (m *MockKeyVault) EXPECT() *MockKeyVaultMockRecorder
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) 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.