mocks

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 3 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 MockWorkspaceAddonsReader added in v1.25.0

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

MockWorkspaceAddonsReader is a mock of WorkspaceAddonsReader interface.

func NewMockWorkspaceAddonsReader added in v1.25.0

func NewMockWorkspaceAddonsReader(ctrl *gomock.Controller) *MockWorkspaceAddonsReader

NewMockWorkspaceAddonsReader creates a new mock instance.

func (*MockWorkspaceAddonsReader) EXPECT added in v1.25.0

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

func (*MockWorkspaceAddonsReader) EnvAddonFileAbsPath added in v1.26.0

func (m *MockWorkspaceAddonsReader) EnvAddonFileAbsPath(fName string) string

EnvAddonFileAbsPath mocks base method.

func (*MockWorkspaceAddonsReader) EnvAddonsAbsPath added in v1.26.0

func (m *MockWorkspaceAddonsReader) EnvAddonsAbsPath() string

EnvAddonsAbsPath mocks base method.

func (*MockWorkspaceAddonsReader) ListFiles added in v1.25.0

func (m *MockWorkspaceAddonsReader) ListFiles(dirPath string) ([]string, error)

ListFiles mocks base method.

func (*MockWorkspaceAddonsReader) ReadFile added in v1.25.0

func (m *MockWorkspaceAddonsReader) ReadFile(fPath string) ([]byte, error)

ReadFile mocks base method.

func (*MockWorkspaceAddonsReader) WorkloadAddonFileAbsPath added in v1.26.0

func (m *MockWorkspaceAddonsReader) WorkloadAddonFileAbsPath(wkldName, fName string) string

WorkloadAddonFileAbsPath mocks base method.

func (*MockWorkspaceAddonsReader) WorkloadAddonsAbsPath added in v1.26.0

func (m *MockWorkspaceAddonsReader) WorkloadAddonsAbsPath(name string) string

WorkloadAddonsAbsPath mocks base method.

type MockWorkspaceAddonsReaderMockRecorder added in v1.25.0

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

MockWorkspaceAddonsReaderMockRecorder is the mock recorder for MockWorkspaceAddonsReader.

func (*MockWorkspaceAddonsReaderMockRecorder) EnvAddonFileAbsPath added in v1.26.0

func (mr *MockWorkspaceAddonsReaderMockRecorder) EnvAddonFileAbsPath(fName interface{}) *gomock.Call

EnvAddonFileAbsPath indicates an expected call of EnvAddonFileAbsPath.

func (*MockWorkspaceAddonsReaderMockRecorder) EnvAddonsAbsPath added in v1.26.0

func (mr *MockWorkspaceAddonsReaderMockRecorder) EnvAddonsAbsPath() *gomock.Call

EnvAddonsAbsPath indicates an expected call of EnvAddonsAbsPath.

func (*MockWorkspaceAddonsReaderMockRecorder) ListFiles added in v1.25.0

func (mr *MockWorkspaceAddonsReaderMockRecorder) ListFiles(dirPath interface{}) *gomock.Call

ListFiles indicates an expected call of ListFiles.

func (*MockWorkspaceAddonsReaderMockRecorder) ReadFile added in v1.25.0

func (mr *MockWorkspaceAddonsReaderMockRecorder) ReadFile(fPath interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockWorkspaceAddonsReaderMockRecorder) WorkloadAddonFileAbsPath added in v1.26.0

func (mr *MockWorkspaceAddonsReaderMockRecorder) WorkloadAddonFileAbsPath(wkldName, fName interface{}) *gomock.Call

WorkloadAddonFileAbsPath indicates an expected call of WorkloadAddonFileAbsPath.

func (*MockWorkspaceAddonsReaderMockRecorder) WorkloadAddonsAbsPath added in v1.26.0

func (mr *MockWorkspaceAddonsReaderMockRecorder) WorkloadAddonsAbsPath(name interface{}) *gomock.Call

WorkloadAddonsAbsPath indicates an expected call of WorkloadAddonsAbsPath.

type Mockuploader added in v1.21.0

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

Mockuploader is a mock of uploader interface.

func NewMockuploader added in v1.21.0

func NewMockuploader(ctrl *gomock.Controller) *Mockuploader

NewMockuploader creates a new mock instance.

func (*Mockuploader) EXPECT added in v1.21.0

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

func (*Mockuploader) Upload added in v1.21.0

func (m *Mockuploader) Upload(bucket, key string, data io.Reader) (string, error)

Upload mocks base method.

type MockuploaderMockRecorder added in v1.21.0

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

MockuploaderMockRecorder is the mock recorder for Mockuploader.

func (*MockuploaderMockRecorder) Upload added in v1.21.0

func (mr *MockuploaderMockRecorder) Upload(bucket, key, data interface{}) *gomock.Call

Upload indicates an expected call of Upload.

Jump to

Keyboard shortcuts

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