submission

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDelete

func NewCmdDelete(opt *clioptions.GlobalOptions) *cobra.Command

func NewCmdList

func NewCmdList(opt *clioptions.GlobalOptions) *cobra.Command

func NewCmdLog

func NewCmdLog(opt *clioptions.GlobalOptions) *cobra.Command

func NewCmdOutput

func NewCmdOutput(opt *clioptions.GlobalOptions) *cobra.Command

func NewCmdQuery

func NewCmdQuery(opt *clioptions.GlobalOptions) *cobra.Command

func NewCmdStop

func NewCmdStop(opt *clioptions.GlobalOptions) *cobra.Command

func NewCmdSubmission

func NewCmdSubmission(opt *clioptions.GlobalOptions) *cobra.Command

func NewCmdSubmit

func NewCmdSubmit(opt *clioptions.GlobalOptions) *cobra.Command

Types

type DeleteOptions

type DeleteOptions struct {
	WorkspaceName string
	// contains filtered or unexported fields
}

DeleteOptions is an options to delete a workspace.

func NewDeleteOptions

func NewDeleteOptions(opt *clioptions.GlobalOptions) *DeleteOptions

NewDeleteOptions returns a reference to a DeleteOptions

func (*DeleteOptions) Complete

func (o *DeleteOptions) Complete() error

Complete completes all the required options.

func (*DeleteOptions) GetDefaultFormat

func (o *DeleteOptions) GetDefaultFormat() formatter.Format

func (*DeleteOptions) GetPromptArgs

func (o *DeleteOptions) GetPromptArgs() ([]string, error)

func (*DeleteOptions) GetPromptOptions

func (o *DeleteOptions) GetPromptOptions() error

func (*DeleteOptions) Run

func (o *DeleteOptions) Run(args []string) error

Run run the delete workspace command

func (*DeleteOptions) Validate

func (o *DeleteOptions) Validate() error

Validate validate the delete options

type InputsOutputs

type InputsOutputs struct {
	InputsTemplate  map[string]interface{}
	OutputsTemplate map[string]interface{}
	InputsMaterial  map[string]interface{}
	OutputsMaterial map[string]interface{}
}

type ListOptions

type ListOptions struct {
	WorkspaceName string
	Status        []string
	Page          int32
	Size          int32
	OrderBy       string
	SearchWords   []string
	Ids           []string
	// contains filtered or unexported fields
}

ListOptions is an options to List submissions.

func NewListOptions

func NewListOptions(opt *clioptions.GlobalOptions) *ListOptions

NewListOptions returns a reference to a ListOptions

func (*ListOptions) Complete

func (o *ListOptions) Complete() error

Complete completes all the required options.

func (*ListOptions) GetDefaultFormat

func (o *ListOptions) GetDefaultFormat() formatter.Format

func (*ListOptions) GetPromptArgs

func (o *ListOptions) GetPromptArgs() ([]string, error)

func (*ListOptions) GetPromptOptions

func (o *ListOptions) GetPromptOptions() error

func (*ListOptions) Run

func (o *ListOptions) Run(args []string) error

Run run the List submission command

func (*ListOptions) Validate

func (o *ListOptions) Validate() error

Validate validate the List options

type LogOptions

type LogOptions struct {
	WorkspaceName string
	RunID         string
	TaskName      string
	// contains filtered or unexported fields
}

LogOptions is an options to log a workspace.

func NewLogOptions

func NewLogOptions(opt *clioptions.GlobalOptions) *LogOptions

NewLogOptions returns a reference to a LogOptions

func (*LogOptions) Complete

func (o *LogOptions) Complete() error

Complete completes all the required options.

func (*LogOptions) GetDefaultFormat

func (o *LogOptions) GetDefaultFormat() formatter.Format

func (*LogOptions) GetPromptArgs

func (o *LogOptions) GetPromptArgs() ([]string, error)

func (*LogOptions) GetPromptOptions

func (o *LogOptions) GetPromptOptions() error

func (*LogOptions) Run

func (o *LogOptions) Run(args []string) error

Run run the log workspace command

func (*LogOptions) Validate

func (o *LogOptions) Validate() error

Validate validate the log options

type OutputOptions

type OutputOptions struct {
	WorkspaceName string
	RunID         string
	TaskName      string
	// contains filtered or unexported fields
}

OutputOptions is an options to output a workspace.

func NewOutputOptions

func NewOutputOptions(opt *clioptions.GlobalOptions) *OutputOptions

NewOutputOptions returns a reference to a OutputOptions

func (*OutputOptions) Complete

func (o *OutputOptions) Complete() error

Complete completes all the required options.

func (*OutputOptions) GetDefaultFormat

func (o *OutputOptions) GetDefaultFormat() formatter.Format

func (*OutputOptions) GetPromptArgs

func (o *OutputOptions) GetPromptArgs() ([]string, error)

func (*OutputOptions) GetPromptOptions

func (o *OutputOptions) GetPromptOptions() error

func (*OutputOptions) Run

func (o *OutputOptions) Run(args []string) error

Run run the output workspace command

func (*OutputOptions) Validate

func (o *OutputOptions) Validate() error

Validate validate the output options

type QueryOptions

type QueryOptions struct {
	WorkspaceName string
	RunID         string
	TaskName      string
	// contains filtered or unexported fields
}

QueryOptions is an options to query a workspace.

func NewQueryOptions

func NewQueryOptions(opt *clioptions.GlobalOptions) *QueryOptions

NewQueryOptions returns a reference to a QueryOptions

func (*QueryOptions) Complete

func (o *QueryOptions) Complete() error

Complete completes all the required options.

func (*QueryOptions) GetDefaultFormat

func (o *QueryOptions) GetDefaultFormat() formatter.Format

func (*QueryOptions) GetPromptArgs

func (o *QueryOptions) GetPromptArgs() ([]string, error)

func (*QueryOptions) GetPromptOptions

func (o *QueryOptions) GetPromptOptions() error

func (*QueryOptions) Run

func (o *QueryOptions) Run(args []string) error

Run run the query workspace command

func (*QueryOptions) Validate

func (o *QueryOptions) Validate() error

Validate validate the query options

type StopOptions

type StopOptions struct {
	WorkspaceName string
	RunID         string
	// contains filtered or unexported fields
}

StopOptions is an options to stop a workspace.

func NewStopOptions

func NewStopOptions(opt *clioptions.GlobalOptions) *StopOptions

NewStopOptions returns a reference to a StopOptions

func (*StopOptions) Complete

func (o *StopOptions) Complete() error

Complete completes all the required options.

func (*StopOptions) GetDefaultFormat

func (o *StopOptions) GetDefaultFormat() formatter.Format

func (*StopOptions) GetPromptArgs

func (o *StopOptions) GetPromptArgs() ([]string, error)

func (*StopOptions) GetPromptOptions

func (o *StopOptions) GetPromptOptions() error

func (*StopOptions) Run

func (o *StopOptions) Run(args []string) error

Run run the stop workspace command

func (*StopOptions) Validate

func (o *StopOptions) Validate() error

Validate validate the stop options

type SubmitOptions

type SubmitOptions struct {
	WorkspaceName   string
	Description     string
	Type            string
	DataModelName   string
	DataModelRowIDs []string
	File            string
	ReadFromCache   bool

	InputsTemplate  string
	OutputsTemplate string
	InputsMaterial  string
	OutputsMaterial string
	// contains filtered or unexported fields
}

SubmitOptions is an options to submit a workspace.

func NewSubmitOptions

func NewSubmitOptions(opt *clioptions.GlobalOptions) *SubmitOptions

NewSubmitOptions returns a reference to a SubmitOptions

func (*SubmitOptions) Complete

func (o *SubmitOptions) Complete() error

Complete completes all the required options.

func (*SubmitOptions) GetDefaultFormat

func (o *SubmitOptions) GetDefaultFormat() formatter.Format

func (*SubmitOptions) GetPromptArgs

func (o *SubmitOptions) GetPromptArgs() ([]string, error)

func (*SubmitOptions) GetPromptOptions

func (o *SubmitOptions) GetPromptOptions() error

func (*SubmitOptions) Run

func (o *SubmitOptions) Run(args []string) error

Run run the submit workspace command

func (*SubmitOptions) Validate

func (o *SubmitOptions) Validate() error

Validate validate the submit options

Jump to

Keyboard shortcuts

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