Help us shape the future of Go! Take the 2026 Go Developer Survey

workspace

package
v0.192.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitCredentialsInterface

type MockGitCredentialsInterface struct {
	mock.Mock
}

MockGitCredentialsInterface is an autogenerated mock type for the GitCredentialsInterface type

func NewMockGitCredentialsInterface

func NewMockGitCredentialsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockGitCredentialsInterface

NewMockGitCredentialsInterface creates a new instance of MockGitCredentialsInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockGitCredentialsInterface) Create

Create provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) CredentialInfoGitProviderToCredentialIdMap

func (_mock *MockGitCredentialsInterface) CredentialInfoGitProviderToCredentialIdMap(ctx context.Context, request workspace.ListCredentialsRequest) (map[string]int64, error)

CredentialInfoGitProviderToCredentialIdMap provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) Delete

Delete provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) DeleteByCredentialId

func (_mock *MockGitCredentialsInterface) DeleteByCredentialId(ctx context.Context, credentialId int64) error

DeleteByCredentialId provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) EXPECT

func (*MockGitCredentialsInterface) Get

Get provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) GetByCredentialId

func (_mock *MockGitCredentialsInterface) GetByCredentialId(ctx context.Context, credentialId int64) (*workspace.GetCredentialsResponse, error)

GetByCredentialId provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) GetByGitProvider

func (_mock *MockGitCredentialsInterface) GetByGitProvider(ctx context.Context, name string) (*workspace.CredentialInfo, error)

GetByGitProvider provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) List

List provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) ListAll

ListAll provides a mock function for the type MockGitCredentialsInterface

func (*MockGitCredentialsInterface) Update

Update provides a mock function for the type MockGitCredentialsInterface

type MockGitCredentialsInterface_Create_Call

type MockGitCredentialsInterface_Create_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*MockGitCredentialsInterface_Create_Call) Return

func (*MockGitCredentialsInterface_Create_Call) Run

type MockGitCredentialsInterface_CredentialInfoGitProviderToCredentialIdMap_Call

type MockGitCredentialsInterface_CredentialInfoGitProviderToCredentialIdMap_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_CredentialInfoGitProviderToCredentialIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CredentialInfoGitProviderToCredentialIdMap'

func (*MockGitCredentialsInterface_CredentialInfoGitProviderToCredentialIdMap_Call) Return

func (*MockGitCredentialsInterface_CredentialInfoGitProviderToCredentialIdMap_Call) RunAndReturn

type MockGitCredentialsInterface_DeleteByCredentialId_Call

type MockGitCredentialsInterface_DeleteByCredentialId_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_DeleteByCredentialId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByCredentialId'

func (*MockGitCredentialsInterface_DeleteByCredentialId_Call) Return

func (*MockGitCredentialsInterface_DeleteByCredentialId_Call) Run

func (*MockGitCredentialsInterface_DeleteByCredentialId_Call) RunAndReturn

type MockGitCredentialsInterface_Delete_Call

type MockGitCredentialsInterface_Delete_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockGitCredentialsInterface_Delete_Call) Return

func (*MockGitCredentialsInterface_Delete_Call) Run

func (*MockGitCredentialsInterface_Delete_Call) RunAndReturn

type MockGitCredentialsInterface_Expecter

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

func (*MockGitCredentialsInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.CreateCredentialsRequest

func (*MockGitCredentialsInterface_Expecter) CredentialInfoGitProviderToCredentialIdMap

CredentialInfoGitProviderToCredentialIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListCredentialsRequest

func (*MockGitCredentialsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.DeleteCredentialsRequest

func (*MockGitCredentialsInterface_Expecter) DeleteByCredentialId

DeleteByCredentialId is a helper method to define mock.On call

  • ctx context.Context
  • credentialId int64

func (*MockGitCredentialsInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetCredentialsRequest

func (*MockGitCredentialsInterface_Expecter) GetByCredentialId

GetByCredentialId is a helper method to define mock.On call

  • ctx context.Context
  • credentialId int64

func (*MockGitCredentialsInterface_Expecter) GetByGitProvider

GetByGitProvider is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockGitCredentialsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListCredentialsRequest

func (*MockGitCredentialsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListCredentialsRequest

func (*MockGitCredentialsInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.UpdateCredentialsRequest

type MockGitCredentialsInterface_GetByCredentialId_Call

type MockGitCredentialsInterface_GetByCredentialId_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_GetByCredentialId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByCredentialId'

func (*MockGitCredentialsInterface_GetByCredentialId_Call) Return

func (*MockGitCredentialsInterface_GetByCredentialId_Call) Run

func (*MockGitCredentialsInterface_GetByCredentialId_Call) RunAndReturn

type MockGitCredentialsInterface_GetByGitProvider_Call

type MockGitCredentialsInterface_GetByGitProvider_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_GetByGitProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByGitProvider'

func (*MockGitCredentialsInterface_GetByGitProvider_Call) Return

func (*MockGitCredentialsInterface_GetByGitProvider_Call) Run

func (*MockGitCredentialsInterface_GetByGitProvider_Call) RunAndReturn

type MockGitCredentialsInterface_Get_Call

type MockGitCredentialsInterface_Get_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*MockGitCredentialsInterface_Get_Call) Return

func (*MockGitCredentialsInterface_Get_Call) Run

type MockGitCredentialsInterface_ListAll_Call

type MockGitCredentialsInterface_ListAll_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'

func (*MockGitCredentialsInterface_ListAll_Call) Return

func (*MockGitCredentialsInterface_ListAll_Call) Run

func (*MockGitCredentialsInterface_ListAll_Call) RunAndReturn

type MockGitCredentialsInterface_List_Call

type MockGitCredentialsInterface_List_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*MockGitCredentialsInterface_List_Call) Return

func (*MockGitCredentialsInterface_List_Call) Run

type MockGitCredentialsInterface_Update_Call

type MockGitCredentialsInterface_Update_Call struct {
	*mock.Call
}

MockGitCredentialsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'

func (*MockGitCredentialsInterface_Update_Call) Return

func (*MockGitCredentialsInterface_Update_Call) Run

func (*MockGitCredentialsInterface_Update_Call) RunAndReturn

type MockReposInterface

type MockReposInterface struct {
	mock.Mock
}

MockReposInterface is an autogenerated mock type for the ReposInterface type

func NewMockReposInterface

func NewMockReposInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockReposInterface

NewMockReposInterface creates a new instance of MockReposInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockReposInterface) Create

Create provides a mock function for the type MockReposInterface

func (*MockReposInterface) Delete

func (_mock *MockReposInterface) Delete(ctx context.Context, request workspace.DeleteRepoRequest) error

Delete provides a mock function for the type MockReposInterface

func (*MockReposInterface) DeleteByRepoId

func (_mock *MockReposInterface) DeleteByRepoId(ctx context.Context, repoId int64) error

DeleteByRepoId provides a mock function for the type MockReposInterface

func (*MockReposInterface) EXPECT

func (*MockReposInterface) Get

Get provides a mock function for the type MockReposInterface

func (*MockReposInterface) GetByPath

func (_mock *MockReposInterface) GetByPath(ctx context.Context, name string) (*workspace.RepoInfo, error)

GetByPath provides a mock function for the type MockReposInterface

func (*MockReposInterface) GetByRepoId

func (_mock *MockReposInterface) GetByRepoId(ctx context.Context, repoId int64) (*workspace.GetRepoResponse, error)

GetByRepoId provides a mock function for the type MockReposInterface

func (*MockReposInterface) GetPermissionLevels

GetPermissionLevels provides a mock function for the type MockReposInterface

func (*MockReposInterface) GetPermissionLevelsByRepoId

func (_mock *MockReposInterface) GetPermissionLevelsByRepoId(ctx context.Context, repoId string) (*workspace.GetRepoPermissionLevelsResponse, error)

GetPermissionLevelsByRepoId provides a mock function for the type MockReposInterface

func (*MockReposInterface) GetPermissions

GetPermissions provides a mock function for the type MockReposInterface

func (*MockReposInterface) GetPermissionsByRepoId

func (_mock *MockReposInterface) GetPermissionsByRepoId(ctx context.Context, repoId string) (*workspace.RepoPermissions, error)

GetPermissionsByRepoId provides a mock function for the type MockReposInterface

func (*MockReposInterface) List

List provides a mock function for the type MockReposInterface

func (*MockReposInterface) ListAll

ListAll provides a mock function for the type MockReposInterface

func (*MockReposInterface) RepoInfoPathToIdMap

func (_mock *MockReposInterface) RepoInfoPathToIdMap(ctx context.Context, request workspace.ListReposRequest) (map[string]int64, error)

RepoInfoPathToIdMap provides a mock function for the type MockReposInterface

func (*MockReposInterface) SetPermissions

SetPermissions provides a mock function for the type MockReposInterface

func (*MockReposInterface) Update

func (_mock *MockReposInterface) Update(ctx context.Context, request workspace.UpdateRepoRequest) error

Update provides a mock function for the type MockReposInterface

func (*MockReposInterface) UpdatePermissions

UpdatePermissions provides a mock function for the type MockReposInterface

type MockReposInterface_Create_Call

type MockReposInterface_Create_Call struct {
	*mock.Call
}

MockReposInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*MockReposInterface_Create_Call) Return

func (*MockReposInterface_Create_Call) Run

func (*MockReposInterface_Create_Call) RunAndReturn

type MockReposInterface_DeleteByRepoId_Call

type MockReposInterface_DeleteByRepoId_Call struct {
	*mock.Call
}

MockReposInterface_DeleteByRepoId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByRepoId'

func (*MockReposInterface_DeleteByRepoId_Call) Return

func (*MockReposInterface_DeleteByRepoId_Call) Run

func (*MockReposInterface_DeleteByRepoId_Call) RunAndReturn

type MockReposInterface_Delete_Call

type MockReposInterface_Delete_Call struct {
	*mock.Call
}

MockReposInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockReposInterface_Delete_Call) Return

func (*MockReposInterface_Delete_Call) Run

func (*MockReposInterface_Delete_Call) RunAndReturn

type MockReposInterface_Expecter

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

func (*MockReposInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.CreateRepoRequest

func (*MockReposInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.DeleteRepoRequest

func (*MockReposInterface_Expecter) DeleteByRepoId

DeleteByRepoId is a helper method to define mock.On call

  • ctx context.Context
  • repoId int64

func (*MockReposInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetRepoRequest

func (*MockReposInterface_Expecter) GetByPath

GetByPath is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockReposInterface_Expecter) GetByRepoId

GetByRepoId is a helper method to define mock.On call

  • ctx context.Context
  • repoId int64

func (*MockReposInterface_Expecter) GetPermissionLevels

func (_e *MockReposInterface_Expecter) GetPermissionLevels(ctx any, request any) *MockReposInterface_GetPermissionLevels_Call

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetRepoPermissionLevelsRequest

func (*MockReposInterface_Expecter) GetPermissionLevelsByRepoId

func (_e *MockReposInterface_Expecter) GetPermissionLevelsByRepoId(ctx any, repoId any) *MockReposInterface_GetPermissionLevelsByRepoId_Call

GetPermissionLevelsByRepoId is a helper method to define mock.On call

  • ctx context.Context
  • repoId string

func (*MockReposInterface_Expecter) GetPermissions

GetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetRepoPermissionsRequest

func (*MockReposInterface_Expecter) GetPermissionsByRepoId

func (_e *MockReposInterface_Expecter) GetPermissionsByRepoId(ctx any, repoId any) *MockReposInterface_GetPermissionsByRepoId_Call

GetPermissionsByRepoId is a helper method to define mock.On call

  • ctx context.Context
  • repoId string

func (*MockReposInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListReposRequest

func (*MockReposInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListReposRequest

func (*MockReposInterface_Expecter) RepoInfoPathToIdMap

func (_e *MockReposInterface_Expecter) RepoInfoPathToIdMap(ctx any, request any) *MockReposInterface_RepoInfoPathToIdMap_Call

RepoInfoPathToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListReposRequest

func (*MockReposInterface_Expecter) SetPermissions

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.RepoPermissionsRequest

func (*MockReposInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.UpdateRepoRequest

func (*MockReposInterface_Expecter) UpdatePermissions

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.RepoPermissionsRequest

type MockReposInterface_GetByPath_Call

type MockReposInterface_GetByPath_Call struct {
	*mock.Call
}

MockReposInterface_GetByPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByPath'

func (*MockReposInterface_GetByPath_Call) Return

func (*MockReposInterface_GetByPath_Call) Run

func (*MockReposInterface_GetByPath_Call) RunAndReturn

type MockReposInterface_GetByRepoId_Call

type MockReposInterface_GetByRepoId_Call struct {
	*mock.Call
}

MockReposInterface_GetByRepoId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByRepoId'

func (*MockReposInterface_GetByRepoId_Call) Return

func (*MockReposInterface_GetByRepoId_Call) Run

func (*MockReposInterface_GetByRepoId_Call) RunAndReturn

type MockReposInterface_GetPermissionLevelsByRepoId_Call

type MockReposInterface_GetPermissionLevelsByRepoId_Call struct {
	*mock.Call
}

MockReposInterface_GetPermissionLevelsByRepoId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevelsByRepoId'

func (*MockReposInterface_GetPermissionLevelsByRepoId_Call) Return

func (*MockReposInterface_GetPermissionLevelsByRepoId_Call) Run

func (*MockReposInterface_GetPermissionLevelsByRepoId_Call) RunAndReturn

type MockReposInterface_GetPermissionLevels_Call

type MockReposInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

MockReposInterface_GetPermissionLevels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevels'

func (*MockReposInterface_GetPermissionLevels_Call) Return

func (*MockReposInterface_GetPermissionLevels_Call) Run

type MockReposInterface_GetPermissionsByRepoId_Call

type MockReposInterface_GetPermissionsByRepoId_Call struct {
	*mock.Call
}

MockReposInterface_GetPermissionsByRepoId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionsByRepoId'

func (*MockReposInterface_GetPermissionsByRepoId_Call) Return

func (*MockReposInterface_GetPermissionsByRepoId_Call) Run

func (*MockReposInterface_GetPermissionsByRepoId_Call) RunAndReturn

type MockReposInterface_GetPermissions_Call

type MockReposInterface_GetPermissions_Call struct {
	*mock.Call
}

MockReposInterface_GetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissions'

func (*MockReposInterface_GetPermissions_Call) Return

func (*MockReposInterface_GetPermissions_Call) Run

func (*MockReposInterface_GetPermissions_Call) RunAndReturn

type MockReposInterface_Get_Call

type MockReposInterface_Get_Call struct {
	*mock.Call
}

MockReposInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*MockReposInterface_Get_Call) Return

func (*MockReposInterface_Get_Call) Run

func (*MockReposInterface_Get_Call) RunAndReturn

type MockReposInterface_ListAll_Call

type MockReposInterface_ListAll_Call struct {
	*mock.Call
}

MockReposInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'

func (*MockReposInterface_ListAll_Call) Return

func (*MockReposInterface_ListAll_Call) Run

func (*MockReposInterface_ListAll_Call) RunAndReturn

type MockReposInterface_List_Call

type MockReposInterface_List_Call struct {
	*mock.Call
}

MockReposInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*MockReposInterface_List_Call) Return

func (*MockReposInterface_List_Call) Run

func (*MockReposInterface_List_Call) RunAndReturn

type MockReposInterface_RepoInfoPathToIdMap_Call

type MockReposInterface_RepoInfoPathToIdMap_Call struct {
	*mock.Call
}

MockReposInterface_RepoInfoPathToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoInfoPathToIdMap'

func (*MockReposInterface_RepoInfoPathToIdMap_Call) Return

func (*MockReposInterface_RepoInfoPathToIdMap_Call) Run

func (*MockReposInterface_RepoInfoPathToIdMap_Call) RunAndReturn

type MockReposInterface_SetPermissions_Call

type MockReposInterface_SetPermissions_Call struct {
	*mock.Call
}

MockReposInterface_SetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPermissions'

func (*MockReposInterface_SetPermissions_Call) Return

func (*MockReposInterface_SetPermissions_Call) Run

func (*MockReposInterface_SetPermissions_Call) RunAndReturn

type MockReposInterface_UpdatePermissions_Call

type MockReposInterface_UpdatePermissions_Call struct {
	*mock.Call
}

MockReposInterface_UpdatePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermissions'

func (*MockReposInterface_UpdatePermissions_Call) Return

func (*MockReposInterface_UpdatePermissions_Call) Run

func (*MockReposInterface_UpdatePermissions_Call) RunAndReturn

type MockReposInterface_Update_Call

type MockReposInterface_Update_Call struct {
	*mock.Call
}

MockReposInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'

func (*MockReposInterface_Update_Call) Return

func (*MockReposInterface_Update_Call) Run

func (*MockReposInterface_Update_Call) RunAndReturn

type MockSecretsInterface

type MockSecretsInterface struct {
	mock.Mock
}

MockSecretsInterface is an autogenerated mock type for the SecretsInterface type

func NewMockSecretsInterface

func NewMockSecretsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSecretsInterface

NewMockSecretsInterface creates a new instance of MockSecretsInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockSecretsInterface) CreateScope

func (_mock *MockSecretsInterface) CreateScope(ctx context.Context, request workspace.CreateScope) error

CreateScope provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) DeleteAcl

func (_mock *MockSecretsInterface) DeleteAcl(ctx context.Context, request workspace.DeleteAcl) error

DeleteAcl provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) DeleteScope

func (_mock *MockSecretsInterface) DeleteScope(ctx context.Context, request workspace.DeleteScope) error

DeleteScope provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) DeleteScopeByScope

func (_mock *MockSecretsInterface) DeleteScopeByScope(ctx context.Context, scope string) error

DeleteScopeByScope provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) DeleteSecret

func (_mock *MockSecretsInterface) DeleteSecret(ctx context.Context, request workspace.DeleteSecret) error

DeleteSecret provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) EXPECT

func (*MockSecretsInterface) GetAcl

GetAcl provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) GetSecret

GetSecret provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) ListAcls

ListAcls provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) ListAclsAll

func (_mock *MockSecretsInterface) ListAclsAll(ctx context.Context, request workspace.ListAclsRequest) ([]workspace.AclItem, error)

ListAclsAll provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) ListAclsByScope

func (_mock *MockSecretsInterface) ListAclsByScope(ctx context.Context, scope string) (*workspace.ListAclsResponse, error)

ListAclsByScope provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) ListScopes

ListScopes provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) ListScopesAll

func (_mock *MockSecretsInterface) ListScopesAll(ctx context.Context) ([]workspace.SecretScope, error)

ListScopesAll provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) ListSecrets

ListSecrets provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) ListSecretsAll

ListSecretsAll provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) ListSecretsByScope

func (_mock *MockSecretsInterface) ListSecretsByScope(ctx context.Context, scope string) (*workspace.ListSecretsResponse, error)

ListSecretsByScope provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) PutAcl

func (_mock *MockSecretsInterface) PutAcl(ctx context.Context, request workspace.PutAcl) error

PutAcl provides a mock function for the type MockSecretsInterface

func (*MockSecretsInterface) PutSecret

func (_mock *MockSecretsInterface) PutSecret(ctx context.Context, request workspace.PutSecret) error

PutSecret provides a mock function for the type MockSecretsInterface

type MockSecretsInterface_CreateScope_Call

type MockSecretsInterface_CreateScope_Call struct {
	*mock.Call
}

MockSecretsInterface_CreateScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateScope'

func (*MockSecretsInterface_CreateScope_Call) Return

func (*MockSecretsInterface_CreateScope_Call) Run

func (*MockSecretsInterface_CreateScope_Call) RunAndReturn

type MockSecretsInterface_DeleteAcl_Call

type MockSecretsInterface_DeleteAcl_Call struct {
	*mock.Call
}

MockSecretsInterface_DeleteAcl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAcl'

func (*MockSecretsInterface_DeleteAcl_Call) Return

func (*MockSecretsInterface_DeleteAcl_Call) Run

func (*MockSecretsInterface_DeleteAcl_Call) RunAndReturn

type MockSecretsInterface_DeleteScopeByScope_Call

type MockSecretsInterface_DeleteScopeByScope_Call struct {
	*mock.Call
}

MockSecretsInterface_DeleteScopeByScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteScopeByScope'

func (*MockSecretsInterface_DeleteScopeByScope_Call) Return

func (*MockSecretsInterface_DeleteScopeByScope_Call) Run

func (*MockSecretsInterface_DeleteScopeByScope_Call) RunAndReturn

type MockSecretsInterface_DeleteScope_Call

type MockSecretsInterface_DeleteScope_Call struct {
	*mock.Call
}

MockSecretsInterface_DeleteScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteScope'

func (*MockSecretsInterface_DeleteScope_Call) Return

func (*MockSecretsInterface_DeleteScope_Call) Run

func (*MockSecretsInterface_DeleteScope_Call) RunAndReturn

type MockSecretsInterface_DeleteSecret_Call

type MockSecretsInterface_DeleteSecret_Call struct {
	*mock.Call
}

MockSecretsInterface_DeleteSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSecret'

func (*MockSecretsInterface_DeleteSecret_Call) Return

func (*MockSecretsInterface_DeleteSecret_Call) Run

func (*MockSecretsInterface_DeleteSecret_Call) RunAndReturn

type MockSecretsInterface_Expecter

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

func (*MockSecretsInterface_Expecter) CreateScope

CreateScope is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.CreateScope

func (*MockSecretsInterface_Expecter) DeleteAcl

DeleteAcl is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.DeleteAcl

func (*MockSecretsInterface_Expecter) DeleteScope

DeleteScope is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.DeleteScope

func (*MockSecretsInterface_Expecter) DeleteScopeByScope

DeleteScopeByScope is a helper method to define mock.On call

  • ctx context.Context
  • scope string

func (*MockSecretsInterface_Expecter) DeleteSecret

DeleteSecret is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.DeleteSecret

func (*MockSecretsInterface_Expecter) GetAcl

GetAcl is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetAclRequest

func (*MockSecretsInterface_Expecter) GetSecret

GetSecret is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetSecretRequest

func (*MockSecretsInterface_Expecter) ListAcls

ListAcls is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListAclsRequest

func (*MockSecretsInterface_Expecter) ListAclsAll

ListAclsAll is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListAclsRequest

func (*MockSecretsInterface_Expecter) ListAclsByScope

ListAclsByScope is a helper method to define mock.On call

  • ctx context.Context
  • scope string

func (*MockSecretsInterface_Expecter) ListScopes

ListScopes is a helper method to define mock.On call

  • ctx context.Context

func (*MockSecretsInterface_Expecter) ListScopesAll

ListScopesAll is a helper method to define mock.On call

  • ctx context.Context

func (*MockSecretsInterface_Expecter) ListSecrets

ListSecrets is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListSecretsRequest

func (*MockSecretsInterface_Expecter) ListSecretsAll

ListSecretsAll is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListSecretsRequest

func (*MockSecretsInterface_Expecter) ListSecretsByScope

ListSecretsByScope is a helper method to define mock.On call

  • ctx context.Context
  • scope string

func (*MockSecretsInterface_Expecter) PutAcl

PutAcl is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.PutAcl

func (*MockSecretsInterface_Expecter) PutSecret

PutSecret is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.PutSecret

type MockSecretsInterface_GetAcl_Call

type MockSecretsInterface_GetAcl_Call struct {
	*mock.Call
}

MockSecretsInterface_GetAcl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAcl'

func (*MockSecretsInterface_GetAcl_Call) Return

func (*MockSecretsInterface_GetAcl_Call) Run

func (*MockSecretsInterface_GetAcl_Call) RunAndReturn

type MockSecretsInterface_GetSecret_Call

type MockSecretsInterface_GetSecret_Call struct {
	*mock.Call
}

MockSecretsInterface_GetSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecret'

func (*MockSecretsInterface_GetSecret_Call) Return

func (*MockSecretsInterface_GetSecret_Call) Run

func (*MockSecretsInterface_GetSecret_Call) RunAndReturn

type MockSecretsInterface_ListAclsAll_Call

type MockSecretsInterface_ListAclsAll_Call struct {
	*mock.Call
}

MockSecretsInterface_ListAclsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAclsAll'

func (*MockSecretsInterface_ListAclsAll_Call) Return

func (*MockSecretsInterface_ListAclsAll_Call) Run

func (*MockSecretsInterface_ListAclsAll_Call) RunAndReturn

type MockSecretsInterface_ListAclsByScope_Call

type MockSecretsInterface_ListAclsByScope_Call struct {
	*mock.Call
}

MockSecretsInterface_ListAclsByScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAclsByScope'

func (*MockSecretsInterface_ListAclsByScope_Call) Return

func (*MockSecretsInterface_ListAclsByScope_Call) Run

func (*MockSecretsInterface_ListAclsByScope_Call) RunAndReturn

type MockSecretsInterface_ListAcls_Call

type MockSecretsInterface_ListAcls_Call struct {
	*mock.Call
}

MockSecretsInterface_ListAcls_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAcls'

func (*MockSecretsInterface_ListAcls_Call) Return

func (*MockSecretsInterface_ListAcls_Call) Run

func (*MockSecretsInterface_ListAcls_Call) RunAndReturn

type MockSecretsInterface_ListScopesAll_Call

type MockSecretsInterface_ListScopesAll_Call struct {
	*mock.Call
}

MockSecretsInterface_ListScopesAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesAll'

func (*MockSecretsInterface_ListScopesAll_Call) Return

func (*MockSecretsInterface_ListScopesAll_Call) Run

func (*MockSecretsInterface_ListScopesAll_Call) RunAndReturn

type MockSecretsInterface_ListScopes_Call

type MockSecretsInterface_ListScopes_Call struct {
	*mock.Call
}

MockSecretsInterface_ListScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopes'

func (*MockSecretsInterface_ListScopes_Call) Return

func (*MockSecretsInterface_ListScopes_Call) Run

func (*MockSecretsInterface_ListScopes_Call) RunAndReturn

type MockSecretsInterface_ListSecretsAll_Call

type MockSecretsInterface_ListSecretsAll_Call struct {
	*mock.Call
}

MockSecretsInterface_ListSecretsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSecretsAll'

func (*MockSecretsInterface_ListSecretsAll_Call) Return

func (*MockSecretsInterface_ListSecretsAll_Call) Run

func (*MockSecretsInterface_ListSecretsAll_Call) RunAndReturn

type MockSecretsInterface_ListSecretsByScope_Call

type MockSecretsInterface_ListSecretsByScope_Call struct {
	*mock.Call
}

MockSecretsInterface_ListSecretsByScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSecretsByScope'

func (*MockSecretsInterface_ListSecretsByScope_Call) Return

func (*MockSecretsInterface_ListSecretsByScope_Call) Run

func (*MockSecretsInterface_ListSecretsByScope_Call) RunAndReturn

type MockSecretsInterface_ListSecrets_Call

type MockSecretsInterface_ListSecrets_Call struct {
	*mock.Call
}

MockSecretsInterface_ListSecrets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSecrets'

func (*MockSecretsInterface_ListSecrets_Call) Return

func (*MockSecretsInterface_ListSecrets_Call) Run

type MockSecretsInterface_PutAcl_Call

type MockSecretsInterface_PutAcl_Call struct {
	*mock.Call
}

MockSecretsInterface_PutAcl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutAcl'

func (*MockSecretsInterface_PutAcl_Call) Return

func (*MockSecretsInterface_PutAcl_Call) Run

func (*MockSecretsInterface_PutAcl_Call) RunAndReturn

type MockSecretsInterface_PutSecret_Call

type MockSecretsInterface_PutSecret_Call struct {
	*mock.Call
}

MockSecretsInterface_PutSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSecret'

func (*MockSecretsInterface_PutSecret_Call) Return

func (*MockSecretsInterface_PutSecret_Call) Run

func (*MockSecretsInterface_PutSecret_Call) RunAndReturn

type MockWorkspaceInterface

type MockWorkspaceInterface struct {
	mock.Mock
}

MockWorkspaceInterface is an autogenerated mock type for the WorkspaceInterface type

func NewMockWorkspaceInterface

func NewMockWorkspaceInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWorkspaceInterface

NewMockWorkspaceInterface creates a new instance of MockWorkspaceInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockWorkspaceInterface) Delete

func (_mock *MockWorkspaceInterface) Delete(ctx context.Context, request workspace.Delete) error

Delete provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) Download

func (_mock *MockWorkspaceInterface) Download(ctx context.Context, path string, opts ...workspace.DownloadOption) (io.ReadCloser, error)

Download provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) EXPECT

func (*MockWorkspaceInterface) Export

Export provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) GetByPath

func (_mock *MockWorkspaceInterface) GetByPath(ctx context.Context, name string) (*workspace.ObjectInfo, error)

GetByPath provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) GetPermissionLevels

GetPermissionLevels provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId

func (_mock *MockWorkspaceInterface) GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId(ctx context.Context, workspaceObjectType string, workspaceObjectId string) (*workspace.GetWorkspaceObjectPermissionLevelsResponse, error)

GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) GetPermissions

GetPermissions provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId

func (_mock *MockWorkspaceInterface) GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId(ctx context.Context, workspaceObjectType string, workspaceObjectId string) (*workspace.WorkspaceObjectPermissions, error)

GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) GetStatus

GetStatus provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) GetStatusByPath

func (_mock *MockWorkspaceInterface) GetStatusByPath(ctx context.Context, path string) (*workspace.ObjectInfo, error)

GetStatusByPath provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) Import

func (_mock *MockWorkspaceInterface) Import(ctx context.Context, request workspace.Import) error

Import provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) List

List provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) ListAll

ListAll provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) Mkdirs

func (_mock *MockWorkspaceInterface) Mkdirs(ctx context.Context, request workspace.Mkdirs) error

Mkdirs provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) MkdirsByPath

func (_mock *MockWorkspaceInterface) MkdirsByPath(ctx context.Context, path string) error

MkdirsByPath provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) ObjectInfoPathToObjectIdMap

func (_mock *MockWorkspaceInterface) ObjectInfoPathToObjectIdMap(ctx context.Context, request workspace.ListWorkspaceRequest) (map[string]int64, error)

ObjectInfoPathToObjectIdMap provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) ReadFile

func (_mock *MockWorkspaceInterface) ReadFile(ctx context.Context, name string) ([]byte, error)

ReadFile provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) RecursiveList

func (_mock *MockWorkspaceInterface) RecursiveList(ctx context.Context, path string) ([]workspace.ObjectInfo, error)

RecursiveList provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) SetPermissions

SetPermissions provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) UpdatePermissions

UpdatePermissions provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) Upload

func (_mock *MockWorkspaceInterface) Upload(ctx context.Context, path string, r io.Reader, opts ...workspace.UploadOption) error

Upload provides a mock function for the type MockWorkspaceInterface

func (*MockWorkspaceInterface) WriteFile

func (_mock *MockWorkspaceInterface) WriteFile(ctx context.Context, name string, data []byte) error

WriteFile provides a mock function for the type MockWorkspaceInterface

type MockWorkspaceInterface_Delete_Call

type MockWorkspaceInterface_Delete_Call struct {
	*mock.Call
}

MockWorkspaceInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MockWorkspaceInterface_Delete_Call) Return

func (*MockWorkspaceInterface_Delete_Call) Run

func (*MockWorkspaceInterface_Delete_Call) RunAndReturn

type MockWorkspaceInterface_Download_Call

type MockWorkspaceInterface_Download_Call struct {
	*mock.Call
}

MockWorkspaceInterface_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'

func (*MockWorkspaceInterface_Download_Call) Return

func (*MockWorkspaceInterface_Download_Call) Run

func (*MockWorkspaceInterface_Download_Call) RunAndReturn

type MockWorkspaceInterface_Expecter

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

func (*MockWorkspaceInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.Delete

func (*MockWorkspaceInterface_Expecter) Download

Download is a helper method to define mock.On call

  • ctx context.Context
  • path string
  • opts ...workspace.DownloadOption

func (*MockWorkspaceInterface_Expecter) Export

Export is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ExportRequest

func (*MockWorkspaceInterface_Expecter) GetByPath

GetByPath is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockWorkspaceInterface_Expecter) GetPermissionLevels

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetWorkspaceObjectPermissionLevelsRequest

func (*MockWorkspaceInterface_Expecter) GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId

func (_e *MockWorkspaceInterface_Expecter) GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId(ctx any, workspaceObjectType any, workspaceObjectId any) *MockWorkspaceInterface_GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId_Call

GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId is a helper method to define mock.On call

  • ctx context.Context
  • workspaceObjectType string
  • workspaceObjectId string

func (*MockWorkspaceInterface_Expecter) GetPermissions

GetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetWorkspaceObjectPermissionsRequest

func (*MockWorkspaceInterface_Expecter) GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId

func (_e *MockWorkspaceInterface_Expecter) GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId(ctx any, workspaceObjectType any, workspaceObjectId any) *MockWorkspaceInterface_GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId_Call

GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId is a helper method to define mock.On call

  • ctx context.Context
  • workspaceObjectType string
  • workspaceObjectId string

func (*MockWorkspaceInterface_Expecter) GetStatus

GetStatus is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.GetStatusRequest

func (*MockWorkspaceInterface_Expecter) GetStatusByPath

GetStatusByPath is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockWorkspaceInterface_Expecter) Import

Import is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.Import

func (*MockWorkspaceInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListWorkspaceRequest

func (*MockWorkspaceInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListWorkspaceRequest

func (*MockWorkspaceInterface_Expecter) Mkdirs

Mkdirs is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.Mkdirs

func (*MockWorkspaceInterface_Expecter) MkdirsByPath

MkdirsByPath is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockWorkspaceInterface_Expecter) ObjectInfoPathToObjectIdMap

ObjectInfoPathToObjectIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.ListWorkspaceRequest

func (*MockWorkspaceInterface_Expecter) ReadFile

ReadFile is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockWorkspaceInterface_Expecter) RecursiveList

RecursiveList is a helper method to define mock.On call

  • ctx context.Context
  • path string

func (*MockWorkspaceInterface_Expecter) SetPermissions

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.WorkspaceObjectPermissionsRequest

func (*MockWorkspaceInterface_Expecter) UpdatePermissions

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request workspace.WorkspaceObjectPermissionsRequest

func (*MockWorkspaceInterface_Expecter) Upload

Upload is a helper method to define mock.On call

  • ctx context.Context
  • path string
  • r io.Reader
  • opts ...workspace.UploadOption

func (*MockWorkspaceInterface_Expecter) WriteFile

WriteFile is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • data []byte

type MockWorkspaceInterface_Export_Call

type MockWorkspaceInterface_Export_Call struct {
	*mock.Call
}

MockWorkspaceInterface_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'

func (*MockWorkspaceInterface_Export_Call) Return

func (*MockWorkspaceInterface_Export_Call) Run

func (*MockWorkspaceInterface_Export_Call) RunAndReturn

type MockWorkspaceInterface_GetByPath_Call

type MockWorkspaceInterface_GetByPath_Call struct {
	*mock.Call
}

MockWorkspaceInterface_GetByPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByPath'

func (*MockWorkspaceInterface_GetByPath_Call) Return

func (*MockWorkspaceInterface_GetByPath_Call) Run

func (*MockWorkspaceInterface_GetByPath_Call) RunAndReturn

type MockWorkspaceInterface_GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId_Call

type MockWorkspaceInterface_GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId_Call struct {
	*mock.Call
}

MockWorkspaceInterface_GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId'

func (*MockWorkspaceInterface_GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId_Call) Return

func (*MockWorkspaceInterface_GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId_Call) Run

func (*MockWorkspaceInterface_GetPermissionLevelsByWorkspaceObjectTypeAndWorkspaceObjectId_Call) RunAndReturn

type MockWorkspaceInterface_GetPermissionLevels_Call

type MockWorkspaceInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

MockWorkspaceInterface_GetPermissionLevels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevels'

func (*MockWorkspaceInterface_GetPermissionLevels_Call) Return

type MockWorkspaceInterface_GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId_Call

type MockWorkspaceInterface_GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId_Call struct {
	*mock.Call
}

MockWorkspaceInterface_GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId'

func (*MockWorkspaceInterface_GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId_Call) Return

func (*MockWorkspaceInterface_GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId_Call) Run

func (*MockWorkspaceInterface_GetPermissionsByWorkspaceObjectTypeAndWorkspaceObjectId_Call) RunAndReturn

type MockWorkspaceInterface_GetPermissions_Call

type MockWorkspaceInterface_GetPermissions_Call struct {
	*mock.Call
}

MockWorkspaceInterface_GetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissions'

func (*MockWorkspaceInterface_GetPermissions_Call) Return

func (*MockWorkspaceInterface_GetPermissions_Call) Run

type MockWorkspaceInterface_GetStatusByPath_Call

type MockWorkspaceInterface_GetStatusByPath_Call struct {
	*mock.Call
}

MockWorkspaceInterface_GetStatusByPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatusByPath'

func (*MockWorkspaceInterface_GetStatusByPath_Call) Return

func (*MockWorkspaceInterface_GetStatusByPath_Call) Run

func (*MockWorkspaceInterface_GetStatusByPath_Call) RunAndReturn

type MockWorkspaceInterface_GetStatus_Call

type MockWorkspaceInterface_GetStatus_Call struct {
	*mock.Call
}

MockWorkspaceInterface_GetStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatus'

func (*MockWorkspaceInterface_GetStatus_Call) Return

func (*MockWorkspaceInterface_GetStatus_Call) Run

func (*MockWorkspaceInterface_GetStatus_Call) RunAndReturn

type MockWorkspaceInterface_Import_Call

type MockWorkspaceInterface_Import_Call struct {
	*mock.Call
}

MockWorkspaceInterface_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'

func (*MockWorkspaceInterface_Import_Call) Return

func (*MockWorkspaceInterface_Import_Call) Run

func (*MockWorkspaceInterface_Import_Call) RunAndReturn

type MockWorkspaceInterface_ListAll_Call

type MockWorkspaceInterface_ListAll_Call struct {
	*mock.Call
}

MockWorkspaceInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'

func (*MockWorkspaceInterface_ListAll_Call) Return

func (*MockWorkspaceInterface_ListAll_Call) Run

func (*MockWorkspaceInterface_ListAll_Call) RunAndReturn

type MockWorkspaceInterface_List_Call

type MockWorkspaceInterface_List_Call struct {
	*mock.Call
}

MockWorkspaceInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*MockWorkspaceInterface_List_Call) Return

func (*MockWorkspaceInterface_List_Call) Run

func (*MockWorkspaceInterface_List_Call) RunAndReturn

type MockWorkspaceInterface_MkdirsByPath_Call

type MockWorkspaceInterface_MkdirsByPath_Call struct {
	*mock.Call
}

MockWorkspaceInterface_MkdirsByPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MkdirsByPath'

func (*MockWorkspaceInterface_MkdirsByPath_Call) Return

func (*MockWorkspaceInterface_MkdirsByPath_Call) Run

func (*MockWorkspaceInterface_MkdirsByPath_Call) RunAndReturn

type MockWorkspaceInterface_Mkdirs_Call

type MockWorkspaceInterface_Mkdirs_Call struct {
	*mock.Call
}

MockWorkspaceInterface_Mkdirs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mkdirs'

func (*MockWorkspaceInterface_Mkdirs_Call) Return

func (*MockWorkspaceInterface_Mkdirs_Call) Run

func (*MockWorkspaceInterface_Mkdirs_Call) RunAndReturn

type MockWorkspaceInterface_ObjectInfoPathToObjectIdMap_Call

type MockWorkspaceInterface_ObjectInfoPathToObjectIdMap_Call struct {
	*mock.Call
}

MockWorkspaceInterface_ObjectInfoPathToObjectIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObjectInfoPathToObjectIdMap'

func (*MockWorkspaceInterface_ObjectInfoPathToObjectIdMap_Call) Return

func (*MockWorkspaceInterface_ObjectInfoPathToObjectIdMap_Call) Run

func (*MockWorkspaceInterface_ObjectInfoPathToObjectIdMap_Call) RunAndReturn

type MockWorkspaceInterface_ReadFile_Call

type MockWorkspaceInterface_ReadFile_Call struct {
	*mock.Call
}

MockWorkspaceInterface_ReadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadFile'

func (*MockWorkspaceInterface_ReadFile_Call) Return

func (*MockWorkspaceInterface_ReadFile_Call) Run

func (*MockWorkspaceInterface_ReadFile_Call) RunAndReturn

type MockWorkspaceInterface_RecursiveList_Call

type MockWorkspaceInterface_RecursiveList_Call struct {
	*mock.Call
}

MockWorkspaceInterface_RecursiveList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecursiveList'

func (*MockWorkspaceInterface_RecursiveList_Call) Return

func (*MockWorkspaceInterface_RecursiveList_Call) Run

func (*MockWorkspaceInterface_RecursiveList_Call) RunAndReturn

type MockWorkspaceInterface_SetPermissions_Call

type MockWorkspaceInterface_SetPermissions_Call struct {
	*mock.Call
}

MockWorkspaceInterface_SetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPermissions'

func (*MockWorkspaceInterface_SetPermissions_Call) Return

func (*MockWorkspaceInterface_SetPermissions_Call) Run

type MockWorkspaceInterface_UpdatePermissions_Call

type MockWorkspaceInterface_UpdatePermissions_Call struct {
	*mock.Call
}

MockWorkspaceInterface_UpdatePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermissions'

func (*MockWorkspaceInterface_UpdatePermissions_Call) Return

func (*MockWorkspaceInterface_UpdatePermissions_Call) Run

type MockWorkspaceInterface_Upload_Call

type MockWorkspaceInterface_Upload_Call struct {
	*mock.Call
}

MockWorkspaceInterface_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'

func (*MockWorkspaceInterface_Upload_Call) Return

func (*MockWorkspaceInterface_Upload_Call) Run

func (*MockWorkspaceInterface_Upload_Call) RunAndReturn

type MockWorkspaceInterface_WriteFile_Call

type MockWorkspaceInterface_WriteFile_Call struct {
	*mock.Call
}

MockWorkspaceInterface_WriteFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFile'

func (*MockWorkspaceInterface_WriteFile_Call) Return

func (*MockWorkspaceInterface_WriteFile_Call) Run

func (*MockWorkspaceInterface_WriteFile_Call) RunAndReturn

Jump to

Keyboard shortcuts

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