stop

package
v0.10.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterQueueCmd

func NewClusterQueueCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command

func NewLocalQueueCmd added in v0.8.0

func NewLocalQueueCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command

func NewStopCmd

func NewStopCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command

func NewWorkloadCmd

func NewWorkloadCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command

Types

type ClusterQueueOptions

type ClusterQueueOptions struct {
	ClusterQueueName   string
	KeepAlreadyRunning bool
	Client             kueuev1beta1.KueueV1beta1Interface
	PrintFlags         *genericclioptions.PrintFlags
	PrintObj           printers.ResourcePrinterFunc
	genericiooptions.IOStreams
}

func NewClusterQueueOptions

func NewClusterQueueOptions(streams genericiooptions.IOStreams) *ClusterQueueOptions

func (*ClusterQueueOptions) Complete

func (o *ClusterQueueOptions) Complete(clientGetter util.ClientGetter, args []string) error

Complete completes all the required options

func (*ClusterQueueOptions) Run

Run executes the command

type LocalQueueOptions added in v0.8.0

type LocalQueueOptions struct {
	PrintFlags *genericclioptions.PrintFlags
	PrintObj   printers.ResourcePrinterFunc

	LocalQueueName     string
	Namespace          string
	KeepAlreadyRunning bool

	Client kueuev1beta1.KueueV1beta1Interface

	genericiooptions.IOStreams
}

func NewLocalQueueOptions added in v0.8.0

func NewLocalQueueOptions(streams genericiooptions.IOStreams) *LocalQueueOptions

func (*LocalQueueOptions) Complete added in v0.8.0

func (o *LocalQueueOptions) Complete(clientGetter util.ClientGetter, args []string) error

Complete completes all the required options

func (*LocalQueueOptions) Run added in v0.8.0

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

Run executes the command

Jump to

Keyboard shortcuts

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