mocks

package
v0.0.0-...-e28bd7b Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialService

type CredentialService struct {
	mock.Mock
}

CredentialService is an autogenerated mock type for the CredentialService type

func NewCredentialService

func NewCredentialService(t mockConstructorTestingTNewCredentialService) *CredentialService

NewCredentialService creates a new instance of CredentialService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CredentialService) Delete

func (_m *CredentialService) Delete(ctx context.Context, session types.Session, id string) error

Delete provides a mock function with given fields: ctx, session, id

func (*CredentialService) Get

Get provides a mock function with given fields: ctx, session, id

type DeploymentService

type DeploymentService struct {
	mock.Mock
}

DeploymentService is an autogenerated mock type for the DeploymentService type

func NewDeploymentService

func NewDeploymentService(t mockConstructorTestingTNewDeploymentService) *DeploymentService

NewDeploymentService creates a new instance of DeploymentService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DeploymentService) CheckDependOnCredential

func (_m *DeploymentService) CheckDependOnCredential(ctx context.Context, session types.Session, credID string) (bool, error)

CheckDependOnCredential provides a mock function with given fields: ctx, session, credID

func (*DeploymentService) CheckDependOnProvider

func (_m *DeploymentService) CheckDependOnProvider(ctx context.Context, session types.Session, provider common.ID) (bool, error)

CheckDependOnProvider provides a mock function with given fields: ctx, session, provider

func (*DeploymentService) CheckDependOnTemplate

func (_m *DeploymentService) CheckDependOnTemplate(ctx context.Context, session types.Session, template common.ID) (bool, error)

CheckDependOnTemplate provides a mock function with given fields: ctx, session, template

func (*DeploymentService) CheckDependOnWorkspace

func (_m *DeploymentService) CheckDependOnWorkspace(ctx context.Context, session types.Session, workspace common.ID) (bool, error)

CheckDependOnWorkspace provides a mock function with given fields: ctx, session, workspace

func (*DeploymentService) Delete

func (_m *DeploymentService) Delete(_a0 context.Context, _a1 types.Session, _a2 common.ID) error

Delete provides a mock function with given fields: _a0, _a1, _a2

func (*DeploymentService) Get

Get provides a mock function with given fields: _a0, _a1, _a2

type ProviderOpenStackService

type ProviderOpenStackService struct {
	mock.Mock
}

ProviderOpenStackService is an autogenerated mock type for the ProviderOpenStackService type

func NewProviderOpenStackService

func NewProviderOpenStackService(t mockConstructorTestingTNewProviderOpenStackService) *ProviderOpenStackService

NewProviderOpenStackService creates a new instance of ProviderOpenStackService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ProviderOpenStackService) DeleteApplicationCredential

func (_m *ProviderOpenStackService) DeleteApplicationCredential(ctx context.Context, session types.Session, providerID common.ID, credID string) error

DeleteApplicationCredential provides a mock function with given fields: ctx, session, providerID, credID

type ProviderService

type ProviderService struct {
	mock.Mock
}

ProviderService is an autogenerated mock type for the ProviderService type

func NewProviderService

func NewProviderService(t mockConstructorTestingTNewProviderService) *ProviderService

NewProviderService creates a new instance of ProviderService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ProviderService) CheckDependOnTemplate

func (_m *ProviderService) CheckDependOnTemplate(ctx context.Context, session types.Session, template common.ID) (bool, error)

CheckDependOnTemplate provides a mock function with given fields: ctx, session, template

func (*ProviderService) Delete

func (_m *ProviderService) Delete(_a0 context.Context, _a1 types.Session, _a2 common.ID) error

Delete provides a mock function with given fields: _a0, _a1, _a2

func (*ProviderService) Get

Get provides a mock function with given fields: _a0, _a1, _a2

type TemplateService

type TemplateService struct {
	mock.Mock
}

TemplateService is an autogenerated mock type for the TemplateService type

func NewTemplateService

func NewTemplateService(t mockConstructorTestingTNewTemplateService) *TemplateService

NewTemplateService creates a new instance of TemplateService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TemplateService) Delete

func (_m *TemplateService) Delete(_a0 context.Context, _a1 types.Session, _a2 common.ID) error

Delete provides a mock function with given fields: _a0, _a1, _a2

func (*TemplateService) Get

Get provides a mock function with given fields: _a0, _a1, _a2

type WorkspaceService

type WorkspaceService struct {
	mock.Mock
}

WorkspaceService is an autogenerated mock type for the WorkspaceService type

func NewWorkspaceService

func NewWorkspaceService(t mockConstructorTestingTNewWorkspaceService) *WorkspaceService

NewWorkspaceService creates a new instance of WorkspaceService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*WorkspaceService) Delete

func (_m *WorkspaceService) Delete(_a0 context.Context, _a1 types.Session, _a2 common.ID) error

Delete provides a mock function with given fields: _a0, _a1, _a2

func (*WorkspaceService) Get

Get provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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