Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Delete(ctx context.Context, url string, params map[string]string) (*http.Response, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ctx context.Context, url string) (*http.Response, error)
- func (m *MockClient) Patch(ctx context.Context, url string, body io.Reader) (*http.Response, error)
- func (m *MockClient) Post(ctx context.Context, url, contentType string, body io.Reader) (*http.Response, error)
- func (m *MockClient) Put(ctx context.Context, url, contentType string, body io.Reader) (*http.Response, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Delete(ctx, url, params interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(ctx, url interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Patch(ctx, url, body interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Post(ctx, url, contentType, body interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Put(ctx, url, contentType, body interface{}) *gomock.Call
- type MockTerminal
- type MockTerminalMockRecorder
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) Delete ¶
func (m *MockClient) Delete(ctx context.Context, url string, params map[string]string) (*http.Response, error)
Delete mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Delete ¶
func (mr *MockClientMockRecorder) Delete(ctx, url, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, url interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockClientMockRecorder) Patch ¶
func (mr *MockClientMockRecorder) Patch(ctx, url, body interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockClientMockRecorder) Post ¶
func (mr *MockClientMockRecorder) Post(ctx, url, contentType, body interface{}) *gomock.Call
Post indicates an expected call of Post.
func (*MockClientMockRecorder) Put ¶
func (mr *MockClientMockRecorder) Put(ctx, url, contentType, body interface{}) *gomock.Call
Put indicates an expected call of Put.
type MockTerminal ¶
type MockTerminal struct {
// contains filtered or unexported fields
}
MockTerminal is a mock of Terminal interface.
func NewMockTerminal ¶
func NewMockTerminal(ctrl *gomock.Controller) *MockTerminal
NewMockTerminal creates a new mock instance.
func (*MockTerminal) EXPECT ¶
func (m *MockTerminal) EXPECT() *MockTerminalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTerminal) PromptPassword ¶
func (m *MockTerminal) PromptPassword(promptMsg string) (string, error)
PromptPassword mocks base method.
type MockTerminalMockRecorder ¶
type MockTerminalMockRecorder struct {
// contains filtered or unexported fields
}
MockTerminalMockRecorder is the mock recorder for MockTerminal.
func (*MockTerminalMockRecorder) PromptPassword ¶
func (mr *MockTerminalMockRecorder) PromptPassword(promptMsg interface{}) *gomock.Call
PromptPassword indicates an expected call of PromptPassword.