ports

package
v0.0.0-...-e080771 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 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 interface {
	Get(ctx context.Context, session types.Session, id string) (*service.CredentialModel, error)
	Delete(ctx context.Context, session types.Session, id string) error
}

CredentialService provides access to credential microservice

type DeploymentService

type DeploymentService interface {
	Get(context.Context, types.Session, common.ID) (*service.Deployment, error)
	CheckDependOnCredential(ctx context.Context, session types.Session, credID string) (bool, error)
	CheckDependOnTemplate(ctx context.Context, session types.Session, template common.ID) (bool, error)
	CheckDependOnProvider(ctx context.Context, session types.Session, provider common.ID) (bool, error)
	CheckDependOnWorkspace(ctx context.Context, session types.Session, workspace common.ID) (bool, error)
	Delete(context.Context, types.Session, common.ID) error
}

DeploymentService provides access to deployment microservice

type EventHandlers

type EventHandlers interface {
	DeleteCredential(req types.DeletionRequest, tid common.TransactionID) types.DeletionResponse
	DeleteTemplate(req types.DeletionRequest, tid common.TransactionID) types.DeletionResponse
	DeleteWorkspace(req types.DeletionRequest, tid common.TransactionID) types.DeletionResponse
}

EventHandlers represents the handlers for the event operations that this service supports. This is implemented by object in `domain` package.

type IncomingEventSource

type IncomingEventSource interface {
	Start(ctx context.Context, handlers EventHandlers, wg *sync.WaitGroup) error
}

IncomingEventSource is source of incoming events

type ProviderOpenStackService

type ProviderOpenStackService interface {
	DeleteApplicationCredential(ctx context.Context, session types.Session, providerID common.ID, credID string) error
}

ProviderOpenStackService provides access to provider openstack service

type ProviderService

type ProviderService interface {
	Get(context.Context, types.Session, common.ID) (*service.ProviderModel, error)
	CheckDependOnTemplate(ctx context.Context, session types.Session, template common.ID) (bool, error)
	Delete(context.Context, types.Session, common.ID) error
}

ProviderService provides access to provider metadata service

type TemplateService

type TemplateService interface {
	Get(context.Context, types.Session, common.ID) (service.Template, error)
	Delete(context.Context, types.Session, common.ID) error
}

TemplateService provides access to template microservice

type WorkspaceService

type WorkspaceService interface {
	Get(context.Context, types.Session, common.ID) (*service.WorkspaceModel, error)
	Delete(context.Context, types.Session, common.ID) error
}

WorkspaceService provides access to workspace microservice

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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