workflows

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const OperationsWorkflowName = "RunOperation"
View Source
const RunDeploymentWorkflowName = "RunDeployment"

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentWorkflow

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

func NewDeploymentWorkflow

func NewDeploymentWorkflow(
	deploymentPlan *mrds.DeploymentPlanActivities,
	metaInstance *mrds.MetaInstanceActivities,
	registry worker.Registry,
) *DeploymentWorkflow

DeploymentWorkflow is a Temporal workflow that deploys a new cluster.

func (*DeploymentWorkflow) RunDeployment

type OperationsWorkflow

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

func NewOperationsWorkflow

func NewOperationsWorkflow(
	metaInstanceActivities *mrds.MetaInstanceActivities,
	schedulerActivities *scheduler.SchedulerActivities,
	runtimeActivities runtime.RuntimeActivities,
	registry worker.Registry,
) *OperationsWorkflow

func (*OperationsWorkflow) RunOperation

type RunDeploymentWorkflowParams

type RunDeploymentWorkflowParams struct {
	DeploymentPlan      *mrdspb.DeploymentPlanRecord
	Deployment          *mrdspb.Deployment
	ChildWorkflowParams []RunOperationWorkflowParams
}

type RunOperationWorkflowParams

type RunOperationWorkflowParams struct {
	MetaInstanceID string
	OperationID    string
	OperationType  mrdspb.OperationType
}

type RunOperationWorkflowResponse

type RunOperationWorkflowResponse struct {
	MetaInstance *mrdspb.MetaInstance
}

Jump to

Keyboard shortcuts

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