Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAHClient
- func (m *MockAHClient) EXPECT() *MockAHClientMockRecorder
- func (m *MockAHClient) GetAccessInstructionsWithResponse(arg0 context.Context, arg1 string, arg2 *types.GetAccessInstructionsParams, ...) (*types.GetAccessInstructionsResponse, error)
- func (m *MockAHClient) GetGrantsWithResponse(arg0 context.Context, arg1 ...types.RequestEditorFn) (*types.GetGrantsResponse, error)
- func (m *MockAHClient) GetHealthWithResponse(arg0 context.Context, arg1 ...types.RequestEditorFn) (*types.GetHealthResponse, error)
- func (m *MockAHClient) GetProviderArgsWithResponse(arg0 context.Context, arg1 string, arg2 ...types.RequestEditorFn) (*types.GetProviderArgsResponse, error)
- func (m *MockAHClient) GetProviderWithResponse(arg0 context.Context, arg1 string, arg2 ...types.RequestEditorFn) (*types.GetProviderResponse, error)
- func (m *MockAHClient) ListProviderArgOptionsWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...types.RequestEditorFn) (*types.ListProviderArgOptionsResponse, error)
- func (m *MockAHClient) ListProvidersWithResponse(arg0 context.Context, arg1 ...types.RequestEditorFn) (*types.ListProvidersResponse, error)
- func (m *MockAHClient) PostGrantsRevokeWithBodyWithResponse(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, ...) (*types.PostGrantsRevokeResponse, error)
- func (m *MockAHClient) PostGrantsRevokeWithResponse(arg0 context.Context, arg1 string, arg2 types.PostGrantsRevokeJSONRequestBody, ...) (*types.PostGrantsRevokeResponse, error)
- func (m *MockAHClient) PostGrantsWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, ...) (*types.PostGrantsResponse, error)
- func (m *MockAHClient) PostGrantsWithResponse(arg0 context.Context, arg1 types.CreateGrant, arg2 ...types.RequestEditorFn) (*types.PostGrantsResponse, error)
- func (m *MockAHClient) RefreshAccessProvidersWithResponse(arg0 context.Context, arg1 ...types.RequestEditorFn) (*types.RefreshAccessProvidersResponse, error)
- func (m *MockAHClient) ValidateGrantWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, ...) (*types.ValidateGrantResponse, error)
- func (m *MockAHClient) ValidateGrantWithResponse(arg0 context.Context, arg1 types.CreateGrant, arg2 ...types.RequestEditorFn) (*types.ValidateGrantResponse, error)
- func (m *MockAHClient) ValidateSetupWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, ...) (*types.ValidateSetupResponse, error)
- func (m *MockAHClient) ValidateSetupWithResponse(arg0 context.Context, arg1 types.ValidateSetupJSONRequestBody, ...) (*types.ValidateSetupResponse, error)
- type MockAHClientMockRecorder
- func (mr *MockAHClientMockRecorder) GetAccessInstructionsWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) GetGrantsWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) GetHealthWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) GetProviderArgsWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) GetProviderWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) ListProviderArgOptionsWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) ListProvidersWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) PostGrantsRevokeWithBodyWithResponse(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) PostGrantsRevokeWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) PostGrantsWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) PostGrantsWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) RefreshAccessProvidersWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) ValidateGrantWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) ValidateGrantWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) ValidateSetupWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockAHClientMockRecorder) ValidateSetupWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAHClient ¶
type MockAHClient struct {
// contains filtered or unexported fields
}
MockAHClient is a mock of AHClient interface.
func NewMockAHClient ¶
func NewMockAHClient(ctrl *gomock.Controller) *MockAHClient
NewMockAHClient creates a new mock instance.
func (*MockAHClient) EXPECT ¶
func (m *MockAHClient) EXPECT() *MockAHClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAHClient) GetAccessInstructionsWithResponse ¶
func (m *MockAHClient) GetAccessInstructionsWithResponse(arg0 context.Context, arg1 string, arg2 *types.GetAccessInstructionsParams, arg3 ...types.RequestEditorFn) (*types.GetAccessInstructionsResponse, error)
GetAccessInstructionsWithResponse mocks base method.
func (*MockAHClient) GetGrantsWithResponse ¶
func (m *MockAHClient) GetGrantsWithResponse(arg0 context.Context, arg1 ...types.RequestEditorFn) (*types.GetGrantsResponse, error)
GetGrantsWithResponse mocks base method.
func (*MockAHClient) GetHealthWithResponse ¶
func (m *MockAHClient) GetHealthWithResponse(arg0 context.Context, arg1 ...types.RequestEditorFn) (*types.GetHealthResponse, error)
GetHealthWithResponse mocks base method.
func (*MockAHClient) GetProviderArgsWithResponse ¶
func (m *MockAHClient) GetProviderArgsWithResponse(arg0 context.Context, arg1 string, arg2 ...types.RequestEditorFn) (*types.GetProviderArgsResponse, error)
GetProviderArgsWithResponse mocks base method.
func (*MockAHClient) GetProviderWithResponse ¶
func (m *MockAHClient) GetProviderWithResponse(arg0 context.Context, arg1 string, arg2 ...types.RequestEditorFn) (*types.GetProviderResponse, error)
GetProviderWithResponse mocks base method.
func (*MockAHClient) ListProviderArgOptionsWithResponse ¶
func (m *MockAHClient) ListProviderArgOptionsWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...types.RequestEditorFn) (*types.ListProviderArgOptionsResponse, error)
ListProviderArgOptionsWithResponse mocks base method.
func (*MockAHClient) ListProvidersWithResponse ¶
func (m *MockAHClient) ListProvidersWithResponse(arg0 context.Context, arg1 ...types.RequestEditorFn) (*types.ListProvidersResponse, error)
ListProvidersWithResponse mocks base method.
func (*MockAHClient) PostGrantsRevokeWithBodyWithResponse ¶
func (m *MockAHClient) PostGrantsRevokeWithBodyWithResponse(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 ...types.RequestEditorFn) (*types.PostGrantsRevokeResponse, error)
PostGrantsRevokeWithBodyWithResponse mocks base method.
func (*MockAHClient) PostGrantsRevokeWithResponse ¶
func (m *MockAHClient) PostGrantsRevokeWithResponse(arg0 context.Context, arg1 string, arg2 types.PostGrantsRevokeJSONRequestBody, arg3 ...types.RequestEditorFn) (*types.PostGrantsRevokeResponse, error)
PostGrantsRevokeWithResponse mocks base method.
func (*MockAHClient) PostGrantsWithBodyWithResponse ¶
func (m *MockAHClient) PostGrantsWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 ...types.RequestEditorFn) (*types.PostGrantsResponse, error)
PostGrantsWithBodyWithResponse mocks base method.
func (*MockAHClient) PostGrantsWithResponse ¶
func (m *MockAHClient) PostGrantsWithResponse(arg0 context.Context, arg1 types.CreateGrant, arg2 ...types.RequestEditorFn) (*types.PostGrantsResponse, error)
PostGrantsWithResponse mocks base method.
func (*MockAHClient) RefreshAccessProvidersWithResponse ¶
func (m *MockAHClient) RefreshAccessProvidersWithResponse(arg0 context.Context, arg1 ...types.RequestEditorFn) (*types.RefreshAccessProvidersResponse, error)
RefreshAccessProvidersWithResponse mocks base method.
func (*MockAHClient) ValidateGrantWithBodyWithResponse ¶
func (m *MockAHClient) ValidateGrantWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 ...types.RequestEditorFn) (*types.ValidateGrantResponse, error)
ValidateGrantWithBodyWithResponse mocks base method.
func (*MockAHClient) ValidateGrantWithResponse ¶
func (m *MockAHClient) ValidateGrantWithResponse(arg0 context.Context, arg1 types.CreateGrant, arg2 ...types.RequestEditorFn) (*types.ValidateGrantResponse, error)
ValidateGrantWithResponse mocks base method.
func (*MockAHClient) ValidateSetupWithBodyWithResponse ¶
func (m *MockAHClient) ValidateSetupWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 ...types.RequestEditorFn) (*types.ValidateSetupResponse, error)
ValidateSetupWithBodyWithResponse mocks base method.
func (*MockAHClient) ValidateSetupWithResponse ¶
func (m *MockAHClient) ValidateSetupWithResponse(arg0 context.Context, arg1 types.ValidateSetupJSONRequestBody, arg2 ...types.RequestEditorFn) (*types.ValidateSetupResponse, error)
ValidateSetupWithResponse mocks base method.
type MockAHClientMockRecorder ¶
type MockAHClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAHClientMockRecorder is the mock recorder for MockAHClient.
func (*MockAHClientMockRecorder) GetAccessInstructionsWithResponse ¶
func (mr *MockAHClientMockRecorder) GetAccessInstructionsWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
GetAccessInstructionsWithResponse indicates an expected call of GetAccessInstructionsWithResponse.
func (*MockAHClientMockRecorder) GetGrantsWithResponse ¶
func (mr *MockAHClientMockRecorder) GetGrantsWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call
GetGrantsWithResponse indicates an expected call of GetGrantsWithResponse.
func (*MockAHClientMockRecorder) GetHealthWithResponse ¶
func (mr *MockAHClientMockRecorder) GetHealthWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call
GetHealthWithResponse indicates an expected call of GetHealthWithResponse.
func (*MockAHClientMockRecorder) GetProviderArgsWithResponse ¶
func (mr *MockAHClientMockRecorder) GetProviderArgsWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetProviderArgsWithResponse indicates an expected call of GetProviderArgsWithResponse.
func (*MockAHClientMockRecorder) GetProviderWithResponse ¶
func (mr *MockAHClientMockRecorder) GetProviderWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetProviderWithResponse indicates an expected call of GetProviderWithResponse.
func (*MockAHClientMockRecorder) ListProviderArgOptionsWithResponse ¶
func (mr *MockAHClientMockRecorder) ListProviderArgOptionsWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
ListProviderArgOptionsWithResponse indicates an expected call of ListProviderArgOptionsWithResponse.
func (*MockAHClientMockRecorder) ListProvidersWithResponse ¶
func (mr *MockAHClientMockRecorder) ListProvidersWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ListProvidersWithResponse indicates an expected call of ListProvidersWithResponse.
func (*MockAHClientMockRecorder) PostGrantsRevokeWithBodyWithResponse ¶
func (mr *MockAHClientMockRecorder) PostGrantsRevokeWithBodyWithResponse(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
PostGrantsRevokeWithBodyWithResponse indicates an expected call of PostGrantsRevokeWithBodyWithResponse.
func (*MockAHClientMockRecorder) PostGrantsRevokeWithResponse ¶
func (mr *MockAHClientMockRecorder) PostGrantsRevokeWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
PostGrantsRevokeWithResponse indicates an expected call of PostGrantsRevokeWithResponse.
func (*MockAHClientMockRecorder) PostGrantsWithBodyWithResponse ¶
func (mr *MockAHClientMockRecorder) PostGrantsWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
PostGrantsWithBodyWithResponse indicates an expected call of PostGrantsWithBodyWithResponse.
func (*MockAHClientMockRecorder) PostGrantsWithResponse ¶
func (mr *MockAHClientMockRecorder) PostGrantsWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PostGrantsWithResponse indicates an expected call of PostGrantsWithResponse.
func (*MockAHClientMockRecorder) RefreshAccessProvidersWithResponse ¶
func (mr *MockAHClientMockRecorder) RefreshAccessProvidersWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call
RefreshAccessProvidersWithResponse indicates an expected call of RefreshAccessProvidersWithResponse.
func (*MockAHClientMockRecorder) ValidateGrantWithBodyWithResponse ¶
func (mr *MockAHClientMockRecorder) ValidateGrantWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
ValidateGrantWithBodyWithResponse indicates an expected call of ValidateGrantWithBodyWithResponse.
func (*MockAHClientMockRecorder) ValidateGrantWithResponse ¶
func (mr *MockAHClientMockRecorder) ValidateGrantWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ValidateGrantWithResponse indicates an expected call of ValidateGrantWithResponse.
func (*MockAHClientMockRecorder) ValidateSetupWithBodyWithResponse ¶
func (mr *MockAHClientMockRecorder) ValidateSetupWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
ValidateSetupWithBodyWithResponse indicates an expected call of ValidateSetupWithBodyWithResponse.
func (*MockAHClientMockRecorder) ValidateSetupWithResponse ¶
func (mr *MockAHClientMockRecorder) ValidateSetupWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ValidateSetupWithResponse indicates an expected call of ValidateSetupWithResponse.