Documentation
¶
Index ¶
- Constants
- func NewCmd() *cobra.Command
- func NewDescribeCmd() *cobra.Command
- func NewExecutionCmd() *cobra.Command
- func NewGetCmd() *cobra.Command
- func NewHistoryCmd() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewLogCmd() *cobra.Command
- func NewRerunCmd() *cobra.Command
- func NewRunCmd() *cobra.Command
- func NewStopCmd() *cobra.Command
- func NewValidateCmd() *cobra.Command
- func NewVersionsCmd() *cobra.Command
- type DescribeOptions
- type ExecutionOptions
- type GetOptions
- type HistoryOptions
- type ListOptions
- type LogCommandOptions
- type RerunOptions
- type RunOptions
- type StopOptions
- type VersionsOptions
Constants ¶
View Source
const JobSpecLink = "https://docs.bacalhau.org/cli-api/specifications/job"
Variables ¶
This section is empty.
Functions ¶
func NewDescribeCmd ¶
func NewExecutionCmd ¶
func NewHistoryCmd ¶
func NewListCmd ¶
func NewRerunCmd ¶ added in v1.8.0
func NewStopCmd ¶
func NewValidateCmd ¶ added in v1.4.0
func NewVersionsCmd ¶ added in v1.8.0
Types ¶
type DescribeOptions ¶
type DescribeOptions struct {
OutputOpts output.NonTabularOutputOptions
JobVersion uint64
Namespace string
}
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
JobVersion uint64
AllJobVersions bool
Namespace string
}
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 {
Namespace string
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
JobVersion uint64
AllJobVersions bool
Namespace 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
type LogCommandOptions ¶
type RerunOptions ¶ added in v1.8.0
type RerunOptions struct {
RunTimeSettings *cliflags.RunTimeSettings // Run time settings for execution (e.g. follow, wait after submission)
JobVersion uint64
}
func NewRerunOptions ¶ added in v1.8.0
func NewRerunOptions() *RerunOptions
type RunOptions ¶
type RunOptions struct {
RunTimeSettings *cliflags.RunTimeSettings // Run time settings for execution (e.g. follow, wait after submission)
HideWarnings bool // Show warnings when submitting a job
NoTemplate bool
Force bool
TemplateVars map[string]string
TemplateEnvVarsPattern string
}
func NewRunOptions ¶
func NewRunOptions() *RunOptions
type StopOptions ¶
func NewStopOptions ¶
func NewStopOptions() *StopOptions
type VersionsOptions ¶ added in v1.8.0
type VersionsOptions struct {
output.OutputOptions
Namespace string
}
VersionsOptions is a struct to support node command
func NewVersionsOptions ¶ added in v1.8.0
func NewVersionsOptions() *VersionsOptions
NewVersionsOptions returns initialized Options
Click to show internal directories.
Click to hide internal directories.