mocks

package
v0.0.0-...-a5f9fc7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 4 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 MockApiClient

type MockApiClient struct {
	// contains filtered or unexported fields
}

MockApiClient is a mock of ApiClient interface.

func NewMockApiClient

func NewMockApiClient(ctrl *gomock.Controller) *MockApiClient

NewMockApiClient creates a new mock instance.

func (*MockApiClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApiClient) GetDefaultOrgId

func (m *MockApiClient) GetDefaultOrgId() (string, error)

GetDefaultOrgId mocks base method.

func (*MockApiClient) GetOrgIdFromSlug

func (m *MockApiClient) GetOrgIdFromSlug(slugName string) (string, error)

GetOrgIdFromSlug mocks base method.

func (*MockApiClient) Init

func (m *MockApiClient) Init(url string, client *http.Client)

Init mocks base method.

type MockApiClientMockRecorder

type MockApiClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockApiClientMockRecorder is the mock recorder for MockApiClient.

func (*MockApiClientMockRecorder) GetDefaultOrgId

func (mr *MockApiClientMockRecorder) GetDefaultOrgId() *gomock.Call

GetDefaultOrgId indicates an expected call of GetDefaultOrgId.

func (*MockApiClientMockRecorder) GetOrgIdFromSlug

func (mr *MockApiClientMockRecorder) GetOrgIdFromSlug(slugName interface{}) *gomock.Call

GetOrgIdFromSlug indicates an expected call of GetOrgIdFromSlug.

func (*MockApiClientMockRecorder) Init

func (mr *MockApiClientMockRecorder) Init(url, client interface{}) *gomock.Call

Init indicates an expected call of Init.

type MockOutputDestination

type MockOutputDestination struct {
	// contains filtered or unexported fields
}

MockOutputDestination is a mock of OutputDestination interface.

func NewMockOutputDestination

func NewMockOutputDestination(ctrl *gomock.Controller) *MockOutputDestination

NewMockOutputDestination creates a new mock instance.

func (*MockOutputDestination) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOutputDestination) Println

func (m *MockOutputDestination) Println(a ...any) (int, error)

Println mocks base method.

func (*MockOutputDestination) Remove

func (m *MockOutputDestination) Remove(name string) error

Remove mocks base method.

func (*MockOutputDestination) WriteFile

func (m *MockOutputDestination) WriteFile(filename string, data []byte, perm fs.FileMode) error

WriteFile mocks base method.

type MockOutputDestinationMockRecorder

type MockOutputDestinationMockRecorder struct {
	// contains filtered or unexported fields
}

MockOutputDestinationMockRecorder is the mock recorder for MockOutputDestination.

func (*MockOutputDestinationMockRecorder) Println

func (mr *MockOutputDestinationMockRecorder) Println(a ...interface{}) *gomock.Call

Println indicates an expected call of Println.

func (*MockOutputDestinationMockRecorder) Remove

func (mr *MockOutputDestinationMockRecorder) Remove(name interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockOutputDestinationMockRecorder) WriteFile

func (mr *MockOutputDestinationMockRecorder) WriteFile(filename, data, perm interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile.

Jump to

Keyboard shortcuts

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