Documentation ¶
Index ¶
- type CredentialService
- type DeploymentService
- func (_m *DeploymentService) CheckDependOnCredential(ctx context.Context, session types.Session, credID string) (bool, error)
- func (_m *DeploymentService) CheckDependOnProvider(ctx context.Context, session types.Session, provider common.ID) (bool, error)
- func (_m *DeploymentService) CheckDependOnTemplate(ctx context.Context, session types.Session, template common.ID) (bool, error)
- func (_m *DeploymentService) CheckDependOnWorkspace(ctx context.Context, session types.Session, workspace common.ID) (bool, error)
- func (_m *DeploymentService) Delete(_a0 context.Context, _a1 types.Session, _a2 common.ID) error
- func (_m *DeploymentService) Get(_a0 context.Context, _a1 types.Session, _a2 common.ID) (*service.Deployment, error)
- type ProviderOpenStackService
- type ProviderService
- func (_m *ProviderService) CheckDependOnTemplate(ctx context.Context, session types.Session, template common.ID) (bool, error)
- func (_m *ProviderService) Delete(_a0 context.Context, _a1 types.Session, _a2 common.ID) error
- func (_m *ProviderService) Get(_a0 context.Context, _a1 types.Session, _a2 common.ID) (*service.ProviderModel, error)
- type TemplateService
- type WorkspaceService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialService ¶
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.
type DeploymentService ¶
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
type ProviderOpenStackService ¶
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 ¶
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
type TemplateService ¶
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.
type WorkspaceService ¶
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.