Documentation ¶
Overview ¶
Package mock_azsecrets is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) DeleteSecret(ctx context.Context, name string, options *azsecrets.DeleteSecretOptions) (azsecrets.DeleteSecretResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetSecret(ctx context.Context, name, version string, options *azsecrets.GetSecretOptions) (azsecrets.GetSecretResponse, error)
- func (m *MockClient) NewListDeletedSecretPropertiesPager(options *azsecrets.ListDeletedSecretPropertiesOptions) *runtime.Pager[azsecrets.ListDeletedSecretPropertiesResponse]
- func (m *MockClient) NewListSecretPropertiesPager(options *azsecrets.ListSecretPropertiesOptions) *runtime.Pager[azsecrets.ListSecretPropertiesResponse]
- func (m *MockClient) PurgeDeletedSecret(ctx context.Context, name string, options *azsecrets.PurgeDeletedSecretOptions) (azsecrets.PurgeDeletedSecretResponse, error)
- func (m *MockClient) SetSecret(ctx context.Context, name string, parameters azsecrets.SetSecretParameters, ...) (azsecrets.SetSecretResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) DeleteSecret(ctx, name, options any) *gomock.Call
- func (mr *MockClientMockRecorder) GetSecret(ctx, name, version, options any) *gomock.Call
- func (mr *MockClientMockRecorder) NewListDeletedSecretPropertiesPager(options any) *gomock.Call
- func (mr *MockClientMockRecorder) NewListSecretPropertiesPager(options any) *gomock.Call
- func (mr *MockClientMockRecorder) PurgeDeletedSecret(ctx, name, options any) *gomock.Call
- func (mr *MockClientMockRecorder) 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 MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) DeleteSecret ¶
func (m *MockClient) DeleteSecret(ctx context.Context, name string, options *azsecrets.DeleteSecretOptions) (azsecrets.DeleteSecretResponse, error)
DeleteSecret mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetSecret ¶
func (m *MockClient) GetSecret(ctx context.Context, name, version string, options *azsecrets.GetSecretOptions) (azsecrets.GetSecretResponse, error)
GetSecret mocks base method.
func (*MockClient) NewListDeletedSecretPropertiesPager ¶
func (m *MockClient) NewListDeletedSecretPropertiesPager(options *azsecrets.ListDeletedSecretPropertiesOptions) *runtime.Pager[azsecrets.ListDeletedSecretPropertiesResponse]
NewListDeletedSecretPropertiesPager mocks base method.
func (*MockClient) NewListSecretPropertiesPager ¶
func (m *MockClient) NewListSecretPropertiesPager(options *azsecrets.ListSecretPropertiesOptions) *runtime.Pager[azsecrets.ListSecretPropertiesResponse]
NewListSecretPropertiesPager mocks base method.
func (*MockClient) PurgeDeletedSecret ¶
func (m *MockClient) PurgeDeletedSecret(ctx context.Context, name string, options *azsecrets.PurgeDeletedSecretOptions) (azsecrets.PurgeDeletedSecretResponse, error)
PurgeDeletedSecret mocks base method.
func (*MockClient) SetSecret ¶
func (m *MockClient) SetSecret(ctx context.Context, name string, parameters azsecrets.SetSecretParameters, options *azsecrets.SetSecretOptions) (azsecrets.SetSecretResponse, error)
SetSecret mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) DeleteSecret ¶
func (mr *MockClientMockRecorder) DeleteSecret(ctx, name, options any) *gomock.Call
DeleteSecret indicates an expected call of DeleteSecret.
func (*MockClientMockRecorder) GetSecret ¶
func (mr *MockClientMockRecorder) GetSecret(ctx, name, version, options any) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockClientMockRecorder) NewListDeletedSecretPropertiesPager ¶
func (mr *MockClientMockRecorder) NewListDeletedSecretPropertiesPager(options any) *gomock.Call
NewListDeletedSecretPropertiesPager indicates an expected call of NewListDeletedSecretPropertiesPager.
func (*MockClientMockRecorder) NewListSecretPropertiesPager ¶
func (mr *MockClientMockRecorder) NewListSecretPropertiesPager(options any) *gomock.Call
NewListSecretPropertiesPager indicates an expected call of NewListSecretPropertiesPager.
func (*MockClientMockRecorder) PurgeDeletedSecret ¶
func (mr *MockClientMockRecorder) PurgeDeletedSecret(ctx, name, options any) *gomock.Call
PurgeDeletedSecret indicates an expected call of PurgeDeletedSecret.