mock_keyvault

package
v0.0.0-...-33deb92 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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 MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) CreateSignedCertificate

func (m *MockManager) CreateSignedCertificate(arg0 context.Context, arg1, arg2, arg3 string, arg4 keyvault.Eku) error

CreateSignedCertificate mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) EnsureCertificateDeleted

func (m *MockManager) EnsureCertificateDeleted(arg0 context.Context, arg1 string) error

EnsureCertificateDeleted mocks base method.

func (*MockManager) GetBase64Secret

func (m *MockManager) GetBase64Secret(arg0 context.Context, arg1, arg2 string) ([]byte, error)

GetBase64Secret mocks base method.

func (*MockManager) GetBase64Secrets

func (m *MockManager) GetBase64Secrets(arg0 context.Context, arg1 string) ([][]byte, error)

GetBase64Secrets mocks base method.

func (*MockManager) GetCertificate

func (m *MockManager) GetCertificate(arg0 context.Context, arg1 string) (keyvault0.CertificateBundle, error)

GetCertificate mocks base method.

func (*MockManager) GetCertificatePolicy

func (m *MockManager) GetCertificatePolicy(arg0 context.Context, arg1 string) (keyvault0.CertificatePolicy, error)

GetCertificatePolicy mocks base method.

func (*MockManager) GetCertificateSecret

func (m *MockManager) GetCertificateSecret(arg0 context.Context, arg1 string) (*rsa.PrivateKey, []*x509.Certificate, error)

GetCertificateSecret mocks base method.

func (*MockManager) GetSecret

func (m *MockManager) GetSecret(arg0 context.Context, arg1 string) (keyvault0.SecretBundle, error)

GetSecret mocks base method.

func (*MockManager) GetSecrets

func (m *MockManager) GetSecrets(arg0 context.Context) ([]keyvault0.SecretItem, error)

GetSecrets mocks base method.

func (*MockManager) SetCertificateIssuer

SetCertificateIssuer mocks base method.

func (*MockManager) SetSecret

func (m *MockManager) SetSecret(arg0 context.Context, arg1 string, arg2 keyvault0.SecretSetParameters) error

SetSecret mocks base method.

func (*MockManager) UpdateCertificatePolicy

func (m *MockManager) UpdateCertificatePolicy(arg0 context.Context, arg1 string, arg2 keyvault0.CertificatePolicy) error

UpdateCertificatePolicy mocks base method.

func (*MockManager) WaitForCertificateOperation

func (m *MockManager) WaitForCertificateOperation(arg0 context.Context, arg1 string) error

WaitForCertificateOperation mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) CreateSignedCertificate

func (mr *MockManagerMockRecorder) CreateSignedCertificate(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

CreateSignedCertificate indicates an expected call of CreateSignedCertificate.

func (*MockManagerMockRecorder) EnsureCertificateDeleted

func (mr *MockManagerMockRecorder) EnsureCertificateDeleted(arg0, arg1 any) *gomock.Call

EnsureCertificateDeleted indicates an expected call of EnsureCertificateDeleted.

func (*MockManagerMockRecorder) GetBase64Secret

func (mr *MockManagerMockRecorder) GetBase64Secret(arg0, arg1, arg2 any) *gomock.Call

GetBase64Secret indicates an expected call of GetBase64Secret.

func (*MockManagerMockRecorder) GetBase64Secrets

func (mr *MockManagerMockRecorder) GetBase64Secrets(arg0, arg1 any) *gomock.Call

GetBase64Secrets indicates an expected call of GetBase64Secrets.

func (*MockManagerMockRecorder) GetCertificate

func (mr *MockManagerMockRecorder) GetCertificate(arg0, arg1 any) *gomock.Call

GetCertificate indicates an expected call of GetCertificate.

func (*MockManagerMockRecorder) GetCertificatePolicy

func (mr *MockManagerMockRecorder) GetCertificatePolicy(arg0, arg1 any) *gomock.Call

GetCertificatePolicy indicates an expected call of GetCertificatePolicy.

func (*MockManagerMockRecorder) GetCertificateSecret

func (mr *MockManagerMockRecorder) GetCertificateSecret(arg0, arg1 any) *gomock.Call

GetCertificateSecret indicates an expected call of GetCertificateSecret.

func (*MockManagerMockRecorder) GetSecret

func (mr *MockManagerMockRecorder) GetSecret(arg0, arg1 any) *gomock.Call

GetSecret indicates an expected call of GetSecret.

func (*MockManagerMockRecorder) GetSecrets

func (mr *MockManagerMockRecorder) GetSecrets(arg0 any) *gomock.Call

GetSecrets indicates an expected call of GetSecrets.

func (*MockManagerMockRecorder) SetCertificateIssuer

func (mr *MockManagerMockRecorder) SetCertificateIssuer(arg0, arg1, arg2 any) *gomock.Call

SetCertificateIssuer indicates an expected call of SetCertificateIssuer.

func (*MockManagerMockRecorder) SetSecret

func (mr *MockManagerMockRecorder) SetSecret(arg0, arg1, arg2 any) *gomock.Call

SetSecret indicates an expected call of SetSecret.

func (*MockManagerMockRecorder) UpdateCertificatePolicy

func (mr *MockManagerMockRecorder) UpdateCertificatePolicy(arg0, arg1, arg2 any) *gomock.Call

UpdateCertificatePolicy indicates an expected call of UpdateCertificatePolicy.

func (*MockManagerMockRecorder) WaitForCertificateOperation

func (mr *MockManagerMockRecorder) WaitForCertificateOperation(arg0, arg1 any) *gomock.Call

WaitForCertificateOperation indicates an expected call of WaitForCertificateOperation.

Jump to

Keyboard shortcuts

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