kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go

var jobLong

var jobExample

type CreateJobOptions

// NewCreateJobOptions initializes and returns new CreateJobOptions instance
func NewCreateJobOptions(ioStreams genericiooptions.IOStreams) *CreateJobOptions {}

// NewCmdCreateJob is a command to ease creating Jobs from CronJobs.
func NewCmdCreateJob(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command {}

// Complete completes all the required options
func (o *CreateJobOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error {}

// Validate makes sure provided values and valid Job options
func (o *CreateJobOptions) Validate() error {}

// Run performs the execution of 'create job' sub command
func (o *CreateJobOptions) Run() error {}

func (o *CreateJobOptions) createJob() *batchv1.Job {}

func (o *CreateJobOptions) createJobFromCronJob(cronJob *batchv1.CronJob) *batchv1.Job {}