mock_keyvault

package
v0.0.0-...-968b1e8 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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 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

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) 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

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.

Jump to

Keyboard shortcuts

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