Documentation ¶
Index ¶
- Constants
- type Handler
- func (h *Handler) Create(ctx context.Context, mod *module.Module, depInput model.DepInput, ...) (string, error)
- func (h *Handler) Delete(ctx context.Context, id string, orphans bool) error
- func (h *Handler) Disable(ctx context.Context, id string, dependencies bool) error
- func (h *Handler) Enable(ctx context.Context, id string, dependencies bool) error
- func (h *Handler) Get(ctx context.Context, id string, assets, instance bool) (model.Deployment, error)
- func (h *Handler) InitWorkspace(perm fs.FileMode) error
- func (h *Handler) List(ctx context.Context, filter model.DepFilter) ([]model.DepBase, error)
- func (h *Handler) Start(ctx context.Context, id string) error
- func (h *Handler) Update(ctx context.Context, id string, mod *module.Module, depInput model.DepInput, ...) error
Constants ¶
View Source
const ( ManagerIDLabel = "mgw_mid" DeploymentIDLabel = "mgw_did" InstanceIDLabel = "mgw_iid" ServiceRefLabel = "mgw_sref" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(storageHandler handler.DepStorageHandler, cfgVltHandler handler.CfgValidationHandler, cewClient cew_client.CewClient, hmClient hm_client.HmClient, smClient sm_client.Client, dbTimeout time.Duration, httpTimeout time.Duration, workspacePath, depHostPath, secHostPath, managerID, moduleNet string) *Handler
Click to show internal directories.
Click to hide internal directories.