Help us shape the future of Go! Take the 2026 Go Developer Survey

workflow

package
v0.231.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListCmd

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

func ShowCmd

func ShowCmd(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