Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockWorkspaceAddonsReader
- func (m *MockWorkspaceAddonsReader) EXPECT() *MockWorkspaceAddonsReaderMockRecorder
- func (m *MockWorkspaceAddonsReader) EnvAddonFileAbsPath(fName string) string
- func (m *MockWorkspaceAddonsReader) EnvAddonsAbsPath() string
- func (m *MockWorkspaceAddonsReader) ListFiles(dirPath string) ([]string, error)
- func (m *MockWorkspaceAddonsReader) ReadFile(fPath string) ([]byte, error)
- func (m *MockWorkspaceAddonsReader) WorkloadAddonFileAbsPath(wkldName, fName string) string
- func (m *MockWorkspaceAddonsReader) WorkloadAddonsAbsPath(name string) string
- type MockWorkspaceAddonsReaderMockRecorder
- func (mr *MockWorkspaceAddonsReaderMockRecorder) EnvAddonFileAbsPath(fName interface{}) *gomock.Call
- func (mr *MockWorkspaceAddonsReaderMockRecorder) EnvAddonsAbsPath() *gomock.Call
- func (mr *MockWorkspaceAddonsReaderMockRecorder) ListFiles(dirPath interface{}) *gomock.Call
- func (mr *MockWorkspaceAddonsReaderMockRecorder) ReadFile(fPath interface{}) *gomock.Call
- func (mr *MockWorkspaceAddonsReaderMockRecorder) WorkloadAddonFileAbsPath(wkldName, fName interface{}) *gomock.Call
- func (mr *MockWorkspaceAddonsReaderMockRecorder) WorkloadAddonsAbsPath(name interface{}) *gomock.Call
- type Mockuploader
- type MockuploaderMockRecorder
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
func (m *MockWorkspaceAddonsReader) EXPECT() *MockWorkspaceAddonsReaderMockRecorder
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
func (m *Mockuploader) EXPECT() *MockuploaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.