mocks

package
v0.0.0-...-81e5c39 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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.

func (*MockClient) Get

func (m *MockClient) Get(ctx context.Context, url string) (*http.Response, error)

Get mocks base method.

func (*MockClient) Patch

func (m *MockClient) Patch(ctx context.Context, url string, body io.Reader) (*http.Response, error)

Patch mocks base method.

func (*MockClient) Post

func (m *MockClient) Post(ctx context.Context, url, contentType string, body io.Reader) (*http.Response, error)

Post mocks base method.

func (*MockClient) Put

func (m *MockClient) Put(ctx context.Context, url, contentType string, body io.Reader) (*http.Response, error)

Put mocks base method.

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

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.

Jump to

Keyboard shortcuts

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