delete

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteCmd

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

func NewInteractiveCmd

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

func NewJobCmd

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

func NewRayClusterCmd

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

func NewRayJobCmd

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

func NewSlurmCmd

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

Types

type InteractiveOptions

type InteractiveOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	InteractiveNames []string
	Namespace        string

	CascadeStrategy metav1.DeletionPropagation
	DryRunStrategy  util.DryRunStrategy

	Client corev1.CoreV1Interface

	PrintObj printers.ResourcePrinterFunc

	genericiooptions.IOStreams
}

func NewInteractiveOptions

func NewInteractiveOptions(streams genericiooptions.IOStreams) *InteractiveOptions

func (*InteractiveOptions) Complete

func (o *InteractiveOptions) Complete(clientGetter util.ClientGetter, cmd *cobra.Command, args []string) error

func (*InteractiveOptions) Run

type JobOptions

type JobOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	JobNames  []string
	Namespace string

	CascadeStrategy metav1.DeletionPropagation
	DryRunStrategy  util.DryRunStrategy

	Client batchv1.BatchV1Interface

	PrintObj printers.ResourcePrinterFunc

	genericiooptions.IOStreams
}

func NewJobOptions

func NewJobOptions(streams genericiooptions.IOStreams) *JobOptions

func (*JobOptions) Complete

func (o *JobOptions) Complete(clientGetter util.ClientGetter, cmd *cobra.Command, args []string) error

func (*JobOptions) Run

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

type RayClusterOptions

type RayClusterOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	RayClusterNames []string
	Namespace       string

	CascadeStrategy metav1.DeletionPropagation
	DryRunStrategy  util.DryRunStrategy

	Client rayv1.RayV1Interface

	PrintObj printers.ResourcePrinterFunc

	genericiooptions.IOStreams
}

func NewRayClusterOptions

func NewRayClusterOptions(streams genericiooptions.IOStreams) *RayClusterOptions

func (*RayClusterOptions) Complete

func (o *RayClusterOptions) Complete(clientGetter util.ClientGetter, cmd *cobra.Command, args []string) error

func (*RayClusterOptions) Run

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

type RayJobOptions

type RayJobOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	RayJobNames []string
	Namespace   string

	CascadeStrategy metav1.DeletionPropagation
	DryRunStrategy  util.DryRunStrategy

	Client rayv1.RayV1Interface

	PrintObj printers.ResourcePrinterFunc

	genericiooptions.IOStreams
}

func NewRayJobOptions

func NewRayJobOptions(streams genericiooptions.IOStreams) *RayJobOptions

func (*RayJobOptions) Complete

func (o *RayJobOptions) Complete(clientGetter util.ClientGetter, cmd *cobra.Command, args []string) error

func (*RayJobOptions) Run

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

type SlurmOptions

type SlurmOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	JobNames  []string
	Namespace string

	CascadeStrategy metav1.DeletionPropagation
	DryRunStrategy  util.DryRunStrategy

	Clientset k8s.Interface

	PrintObj printers.ResourcePrinterFunc

	genericiooptions.IOStreams
}

func NewSlurmOptions

func NewSlurmOptions(streams genericiooptions.IOStreams) *SlurmOptions

func (*SlurmOptions) Complete

func (o *SlurmOptions) Complete(clientGetter util.ClientGetter, cmd *cobra.Command, args []string) error

func (*SlurmOptions) Run

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳