workflow

package
v0.243.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelCmd added in v0.232.0

func CancelCmd(ch *cmdutil.Helper) *cobra.Command

func CompleteCmd added in v0.232.0

func CompleteCmd(ch *cmdutil.Helper) *cobra.Command

func CreateCmd added in v0.232.0

func CreateCmd(ch *cmdutil.Helper) *cobra.Command

func CutoverCmd added in v0.232.0

func CutoverCmd(ch *cmdutil.Helper) *cobra.Command

func ListCmd

func ListCmd(ch *cmdutil.Helper) *cobra.Command

func RetryCmd added in v0.232.0

func RetryCmd(ch *cmdutil.Helper) *cobra.Command

func ReverseCutoverCmd added in v0.232.0

func ReverseCutoverCmd(ch *cmdutil.Helper) *cobra.Command

func ReverseTrafficCmd added in v0.232.0

func ReverseTrafficCmd(ch *cmdutil.Helper) *cobra.Command

func ShowCmd

func ShowCmd(ch *cmdutil.Helper) *cobra.Command

func SwitchTrafficCmd added in v0.232.0

func SwitchTrafficCmd(ch *cmdutil.Helper) *cobra.Command

func VerifyDataCmd added in v0.232.0

func VerifyDataCmd(ch *cmdutil.Helper) *cobra.Command

func WorkflowCmd

func WorkflowCmd(ch *cmdutil.Helper) *cobra.Command

Types

type MinimalWorkflow

type MinimalWorkflow struct {
	Number      uint64 `header:"number"`
	Name        string `header:"name"`
	State       string `header:"state"`
	CreatedAt   int64  `header:"created_at,timestamp(ms|utc|human)" json:"created_at"`
	CompletedAt *int64 `header:"completed_at,timestamp(ms|utc|human)" json:"completed_at"`
	Duration    int64  `header:"duration,unixduration" json:"duration"`
	// contains filtered or unexported fields
}

func (*MinimalWorkflow) MarshalCSVValue

func (w *MinimalWorkflow) MarshalCSVValue() interface{}

func (*MinimalWorkflow) MarshalJSON

func (w *MinimalWorkflow) MarshalJSON() ([]byte, error)

type Workflow

type Workflow struct {
	Number uint64 `header:"number"`
	Name   string `header:"name"`
	State  string `header:"state"`
	Actor  string `header:"actor"`
	Branch string `header:"branch"`

	Tables []string `header:"tables" json:"tables"`

	SourceKeyspace string `header:"source keyspace"`
	TargetKeyspace string `header:"target keyspace"`

	CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"`

	CopyDuration int64 `header:"copy duration,unixduration"`
	Duration     int64 `header:"total duration,unixduration" json:"duration"`

	TrafficServing string `header:"traffic serving"`

	FinishedAt *int64 `header:"finished at,timestamp(ms|utc|human)" json:"finished_at"`
	// contains filtered or unexported fields
}

func (*Workflow) MarshalCSVValue

func (w *Workflow) MarshalCSVValue() interface{}

func (*Workflow) MarshalJSON

func (w *Workflow) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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