Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockKeyVaultClient
- func (m *MockKeyVaultClient) DeleteSecret(ctx context.Context, name string, options *azsecrets.DeleteSecretOptions) (azsecrets.DeleteSecretResponse, error)
- func (m *MockKeyVaultClient) EXPECT() *MockKeyVaultClientMockRecorder
- func (m *MockKeyVaultClient) GetDeletedSecret(ctx context.Context, name string, options *azsecrets.GetDeletedSecretOptions) (azsecrets.GetDeletedSecretResponse, error)
- func (m *MockKeyVaultClient) GetSecret(ctx context.Context, name, version string, options *azsecrets.GetSecretOptions) (azsecrets.GetSecretResponse, error)
- func (m *MockKeyVaultClient) NewListDeletedSecretPropertiesPager(options *azsecrets.ListDeletedSecretPropertiesOptions) *runtime.Pager[azsecrets.ListDeletedSecretPropertiesResponse]
- func (m *MockKeyVaultClient) NewListSecretPropertiesPager(options *azsecrets.ListSecretPropertiesOptions) *runtime.Pager[azsecrets.ListSecretPropertiesResponse]
- func (m *MockKeyVaultClient) PurgeDeletedSecret(ctx context.Context, name string, options *azsecrets.PurgeDeletedSecretOptions) (azsecrets.PurgeDeletedSecretResponse, error)
- func (m *MockKeyVaultClient) SetSecret(ctx context.Context, name string, parameters azsecrets.SetSecretParameters, ...) (azsecrets.SetSecretResponse, error)
- type MockKeyVaultClientMockRecorder
- func (mr *MockKeyVaultClientMockRecorder) DeleteSecret(ctx, name, options any) *gomock.Call
- func (mr *MockKeyVaultClientMockRecorder) GetDeletedSecret(ctx, name, options any) *gomock.Call
- func (mr *MockKeyVaultClientMockRecorder) GetSecret(ctx, name, version, options any) *gomock.Call
- func (mr *MockKeyVaultClientMockRecorder) NewListDeletedSecretPropertiesPager(options any) *gomock.Call
- func (mr *MockKeyVaultClientMockRecorder) NewListSecretPropertiesPager(options any) *gomock.Call
- func (mr *MockKeyVaultClientMockRecorder) PurgeDeletedSecret(ctx, name, options any) *gomock.Call
- func (mr *MockKeyVaultClientMockRecorder) SetSecret(ctx, name, parameters, options any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeyVaultClient ¶
type MockKeyVaultClient struct {
// contains filtered or unexported fields
}
MockKeyVaultClient is a mock of KeyVaultClient interface.
func NewMockKeyVaultClient ¶
func NewMockKeyVaultClient(ctrl *gomock.Controller) *MockKeyVaultClient
NewMockKeyVaultClient creates a new mock instance.
func (*MockKeyVaultClient) DeleteSecret ¶
func (m *MockKeyVaultClient) DeleteSecret(ctx context.Context, name string, options *azsecrets.DeleteSecretOptions) (azsecrets.DeleteSecretResponse, error)
DeleteSecret mocks base method.
func (*MockKeyVaultClient) EXPECT ¶
func (m *MockKeyVaultClient) EXPECT() *MockKeyVaultClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyVaultClient) GetDeletedSecret ¶ added in v0.0.7
func (m *MockKeyVaultClient) GetDeletedSecret(ctx context.Context, name string, options *azsecrets.GetDeletedSecretOptions) (azsecrets.GetDeletedSecretResponse, error)
GetDeletedSecret mocks base method.
func (*MockKeyVaultClient) GetSecret ¶
func (m *MockKeyVaultClient) GetSecret(ctx context.Context, name, version string, options *azsecrets.GetSecretOptions) (azsecrets.GetSecretResponse, error)
GetSecret mocks base method.
func (*MockKeyVaultClient) NewListDeletedSecretPropertiesPager ¶ added in v0.0.6
func (m *MockKeyVaultClient) NewListDeletedSecretPropertiesPager(options *azsecrets.ListDeletedSecretPropertiesOptions) *runtime.Pager[azsecrets.ListDeletedSecretPropertiesResponse]
NewListDeletedSecretPropertiesPager mocks base method.
func (*MockKeyVaultClient) NewListSecretPropertiesPager ¶
func (m *MockKeyVaultClient) NewListSecretPropertiesPager(options *azsecrets.ListSecretPropertiesOptions) *runtime.Pager[azsecrets.ListSecretPropertiesResponse]
NewListSecretPropertiesPager mocks base method.
func (*MockKeyVaultClient) PurgeDeletedSecret ¶
func (m *MockKeyVaultClient) PurgeDeletedSecret(ctx context.Context, name string, options *azsecrets.PurgeDeletedSecretOptions) (azsecrets.PurgeDeletedSecretResponse, error)
PurgeDeletedSecret mocks base method.
func (*MockKeyVaultClient) SetSecret ¶
func (m *MockKeyVaultClient) SetSecret(ctx context.Context, name string, parameters azsecrets.SetSecretParameters, options *azsecrets.SetSecretOptions) (azsecrets.SetSecretResponse, error)
SetSecret mocks base method.
type MockKeyVaultClientMockRecorder ¶
type MockKeyVaultClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyVaultClientMockRecorder is the mock recorder for MockKeyVaultClient.
func (*MockKeyVaultClientMockRecorder) DeleteSecret ¶
func (mr *MockKeyVaultClientMockRecorder) DeleteSecret(ctx, name, options any) *gomock.Call
DeleteSecret indicates an expected call of DeleteSecret.
func (*MockKeyVaultClientMockRecorder) GetDeletedSecret ¶ added in v0.0.7
func (mr *MockKeyVaultClientMockRecorder) GetDeletedSecret(ctx, name, options any) *gomock.Call
GetDeletedSecret indicates an expected call of GetDeletedSecret.
func (*MockKeyVaultClientMockRecorder) GetSecret ¶
func (mr *MockKeyVaultClientMockRecorder) GetSecret(ctx, name, version, options any) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockKeyVaultClientMockRecorder) NewListDeletedSecretPropertiesPager ¶ added in v0.0.6
func (mr *MockKeyVaultClientMockRecorder) NewListDeletedSecretPropertiesPager(options any) *gomock.Call
NewListDeletedSecretPropertiesPager indicates an expected call of NewListDeletedSecretPropertiesPager.
func (*MockKeyVaultClientMockRecorder) NewListSecretPropertiesPager ¶
func (mr *MockKeyVaultClientMockRecorder) NewListSecretPropertiesPager(options any) *gomock.Call
NewListSecretPropertiesPager indicates an expected call of NewListSecretPropertiesPager.
func (*MockKeyVaultClientMockRecorder) PurgeDeletedSecret ¶
func (mr *MockKeyVaultClientMockRecorder) PurgeDeletedSecret(ctx, name, options any) *gomock.Call
PurgeDeletedSecret indicates an expected call of PurgeDeletedSecret.