stop

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsJobDone

func IsJobDone(r *batchv1.Job) bool

IsJobDone returns true if the job has completed

Types

type Options

type Options struct {
	options.BaseOptions

	Namespace   string
	JobSelector string
	KubeClient  kubernetes.Interface
}

Options contains the command line arguments for this command

func NewCmdJobStop

func NewCmdJobStop() (*cobra.Command, *Options)

NewCmdJobStep creates the new command

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate() error

Validate verifies the settings are correct and we can lazy create any required resources

Jump to

Keyboard shortcuts

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