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 keyvault0.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) GetCertificateSecret(arg0 context.Context, arg1 string) (*rsa.PrivateKey, []*x509.Certificate, error)
- func (m *MockManager) GetSecret(arg0 context.Context, arg1 string) (keyvault.SecretBundle, error)
- func (m *MockManager) GetSecrets(arg0 context.Context) ([]keyvault.SecretItem, error)
- func (m *MockManager) SetCertificateIssuer(arg0 context.Context, arg1 string, ...) (keyvault.IssuerBundle, error)
- func (m *MockManager) SetSecret(arg0 context.Context, arg1 string, arg2 keyvault.SecretSetParameters) error
- func (m *MockManager) WaitForCertificateOperation(arg0 context.Context, arg1 string) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) CreateSignedCertificate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) EnsureCertificateDeleted(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetBase64Secret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetBase64Secrets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetCertificateSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetSecrets(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SetCertificateIssuer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SetSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) WaitForCertificateOperation(arg0, arg1 interface{}) *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 keyvault0.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) 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) (keyvault.SecretBundle, error)
GetSecret mocks base method.
func (*MockManager) GetSecrets ¶
func (m *MockManager) GetSecrets(arg0 context.Context) ([]keyvault.SecretItem, error)
GetSecrets mocks base method.
func (*MockManager) SetCertificateIssuer ¶
func (m *MockManager) SetCertificateIssuer(arg0 context.Context, arg1 string, arg2 keyvault.CertificateIssuerSetParameters) (keyvault.IssuerBundle, error)
SetCertificateIssuer mocks base method.
func (*MockManager) SetSecret ¶
func (m *MockManager) SetSecret(arg0 context.Context, arg1 string, arg2 keyvault.SecretSetParameters) error
SetSecret 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 interface{}) *gomock.Call
CreateSignedCertificate indicates an expected call of CreateSignedCertificate.
func (*MockManagerMockRecorder) EnsureCertificateDeleted ¶
func (mr *MockManagerMockRecorder) EnsureCertificateDeleted(arg0, arg1 interface{}) *gomock.Call
EnsureCertificateDeleted indicates an expected call of EnsureCertificateDeleted.
func (*MockManagerMockRecorder) GetBase64Secret ¶
func (mr *MockManagerMockRecorder) GetBase64Secret(arg0, arg1, arg2 interface{}) *gomock.Call
GetBase64Secret indicates an expected call of GetBase64Secret.
func (*MockManagerMockRecorder) GetBase64Secrets ¶
func (mr *MockManagerMockRecorder) GetBase64Secrets(arg0, arg1 interface{}) *gomock.Call
GetBase64Secrets indicates an expected call of GetBase64Secrets.
func (*MockManagerMockRecorder) GetCertificateSecret ¶
func (mr *MockManagerMockRecorder) GetCertificateSecret(arg0, arg1 interface{}) *gomock.Call
GetCertificateSecret indicates an expected call of GetCertificateSecret.
func (*MockManagerMockRecorder) GetSecret ¶
func (mr *MockManagerMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockManagerMockRecorder) GetSecrets ¶
func (mr *MockManagerMockRecorder) GetSecrets(arg0 interface{}) *gomock.Call
GetSecrets indicates an expected call of GetSecrets.
func (*MockManagerMockRecorder) SetCertificateIssuer ¶
func (mr *MockManagerMockRecorder) SetCertificateIssuer(arg0, arg1, arg2 interface{}) *gomock.Call
SetCertificateIssuer indicates an expected call of SetCertificateIssuer.
func (*MockManagerMockRecorder) SetSecret ¶
func (mr *MockManagerMockRecorder) SetSecret(arg0, arg1, arg2 interface{}) *gomock.Call
SetSecret indicates an expected call of SetSecret.
func (*MockManagerMockRecorder) WaitForCertificateOperation ¶
func (mr *MockManagerMockRecorder) WaitForCertificateOperation(arg0, arg1 interface{}) *gomock.Call
WaitForCertificateOperation indicates an expected call of WaitForCertificateOperation.