Documentation ¶
Overview ¶
Package mock_keyvault is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) CreateSignedCertificate(arg0 context.Context, arg1, arg2, arg3 string, arg4 keyvault.Eku) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) EnsureCertificateDeleted(arg0 context.Context, arg1 string) error
- func (m *MockManager) GetBase64Secret(arg0 context.Context, arg1, arg2 string) ([]byte, error)
- func (m *MockManager) GetBase64Secrets(arg0 context.Context, arg1 string) ([][]byte, error)
- func (m *MockManager) GetCertificate(arg0 context.Context, arg1 string) (keyvault0.CertificateBundle, error)
- func (m *MockManager) GetCertificatePolicy(arg0 context.Context, arg1 string) (keyvault0.CertificatePolicy, error)
- func (m *MockManager) GetCertificateSecret(arg0 context.Context, arg1 string) (*rsa.PrivateKey, []*x509.Certificate, error)
- func (m *MockManager) GetSecret(arg0 context.Context, arg1 string) (keyvault0.SecretBundle, error)
- func (m *MockManager) GetSecrets(arg0 context.Context) ([]keyvault0.SecretItem, error)
- func (m *MockManager) SetCertificateIssuer(arg0 context.Context, arg1 string, ...) (keyvault0.IssuerBundle, error)
- func (m *MockManager) SetSecret(arg0 context.Context, arg1 string, arg2 keyvault0.SecretSetParameters) error
- func (m *MockManager) UpdateCertificatePolicy(arg0 context.Context, arg1 string, arg2 keyvault0.CertificatePolicy) error
- func (m *MockManager) WaitForCertificateOperation(arg0 context.Context, arg1 string) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) CreateSignedCertificate(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockManagerMockRecorder) EnsureCertificateDeleted(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetBase64Secret(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetBase64Secrets(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetCertificate(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetCertificatePolicy(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetCertificateSecret(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetSecret(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetSecrets(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) SetCertificateIssuer(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockManagerMockRecorder) SetSecret(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateCertificatePolicy(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockManagerMockRecorder) WaitForCertificateOperation(arg0, arg1 any) *gomock.Call
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 ¶
GetBase64Secret mocks base method.
func (*MockManager) GetBase64Secrets ¶
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 ¶
func (m *MockManager) SetCertificateIssuer(arg0 context.Context, arg1 string, arg2 keyvault0.CertificateIssuerSetParameters) (keyvault0.IssuerBundle, error)
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.