create

package
v0.7.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCmd

func NewCreateCmd(clientGetter genericclioptions.RESTClientGetter, streams genericiooptions.IOStreams) *cobra.Command

func NewLocalQueueCmd

func NewLocalQueueCmd(clientGetter genericclioptions.RESTClientGetter, streams genericiooptions.IOStreams) *cobra.Command

Types

type LocalQueueOptions

type LocalQueueOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	DryRunStrategy   util.DryRunStrategy
	Name             string
	Namespace        string
	EnforceNamespace bool
	ClusterQueue     v1beta1.ClusterQueueReference

	UserSpecifiedClusterQueue string

	Client kueuev1beta1.KueueV1beta1Interface

	PrintObj printers.ResourcePrinterFunc

	genericiooptions.IOStreams
}

func NewLocalQueueOptions

func NewLocalQueueOptions(streams genericiooptions.IOStreams) *LocalQueueOptions

func (*LocalQueueOptions) Complete

func (o *LocalQueueOptions) Complete(clientGetter genericclioptions.RESTClientGetter, cmd *cobra.Command, args []string) error

Complete completes all the required options

func (*LocalQueueOptions) Run

func (o *LocalQueueOptions) Run(ctx context.Context) error

Run create localqueue

func (*LocalQueueOptions) Validate

func (o *LocalQueueOptions) Validate() error

Validate validates required fields are set to support structured generation

Jump to

Keyboard shortcuts

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