job

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const JobSpecLink = "https://docs.bacalhau.org/setting-up/jobs/job"

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func NewDescribeCmd

func NewDescribeCmd() *cobra.Command

func NewExecutionCmd

func NewExecutionCmd() *cobra.Command

func NewGetCmd added in v1.4.0

func NewGetCmd() *cobra.Command

func NewHistoryCmd

func NewHistoryCmd() *cobra.Command

func NewListCmd

func NewListCmd() *cobra.Command

func NewLogCmd

func NewLogCmd() *cobra.Command

func NewRunCmd

func NewRunCmd() *cobra.Command

func NewStopCmd

func NewStopCmd() *cobra.Command

func NewValidateCmd added in v1.4.0

func NewValidateCmd() *cobra.Command

Types

type DescribeOptions

type DescribeOptions struct {
	OutputOpts output.NonTabularOutputOptions
}

DescribeOptions is a struct to support job command

func NewDescribeOptions

func NewDescribeOptions() *DescribeOptions

NewDescribeOptions returns initialized Options

type ExecutionOptions

type ExecutionOptions struct {
	output.OutputOptions
	cliflags.ListOptions
}

ExecutionOptions is a struct to support node command

func NewExecutionOptions

func NewExecutionOptions() *ExecutionOptions

NewExecutionOptions returns initialized Options

type GetOptions added in v1.4.0

type GetOptions struct {
	DownloadSettings *cliflags.DownloaderSettings
}

func NewGetOptions added in v1.4.0

func NewGetOptions() *GetOptions

type HistoryOptions

type HistoryOptions struct {
	output.OutputOptions
	cliflags.ListOptions
	EventType   string
	ExecutionID string
}

HistoryOptions is a struct to support node command

func NewHistoryOptions

func NewHistoryOptions() *HistoryOptions

NewHistoryOptions returns initialized Options

type ListOptions

type ListOptions struct {
	output.OutputOptions
	cliflags.ListOptions
	Labels string
}

ListOptions is a struct to support list command

func NewListOptions

func NewListOptions() *ListOptions

NewListOptions returns initialized Options

type LogCommandOptions

type LogCommandOptions struct {
	ExecutionID string
	Follow      bool
	Tail        bool
}

type RunOptions

type RunOptions struct {
	RunTimeSettings        *cliflags.RunTimeSettings // Run time settings for execution (e.g. follow, wait after submission)
	ShowWarnings           bool                      // Show warnings when submitting a job
	NoTemplate             bool
	TemplateVars           map[string]string
	TemplateEnvVarsPattern string
}

func NewRunOptions

func NewRunOptions() *RunOptions

type StopOptions

type StopOptions struct {
	Quiet bool
}

func NewStopOptions

func NewStopOptions() *StopOptions

Jump to

Keyboard shortcuts

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