Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWorkflowFactory ¶
func RegisterWorkflowFactory()
RegisterWorkflowFactory registers schema swap as a valid factory in the workflow framework.
Types ¶
type Swap ¶
type Swap struct {
// contains filtered or unexported fields
}
Swap contains meta-information and methods controlling schema swap process as a whole.
type SwapWorkflowFactory ¶
type SwapWorkflowFactory struct{}
SwapWorkflowFactory is a factory to create Swap objects as workflows.
func (*SwapWorkflowFactory) Init ¶
func (*SwapWorkflowFactory) Init(_ *workflow.Manager, workflowProto *workflowpb.Workflow, args []string) error
Init is a part of workflow.Factory interface. It initializes a Workflow protobuf object.
func (*SwapWorkflowFactory) Instantiate ¶
func (*SwapWorkflowFactory) Instantiate(_ *workflow.Manager, workflowProto *workflowpb.Workflow, rootNode *workflow.Node) (workflow.Workflow, error)
Instantiate is a part of workflow.Factory interface. It instantiates workflow.Workflow object from workflowpb.Workflow protobuf object.
Click to show internal directories.
Click to hide internal directories.