java.lang.Object
io.kubernetes.client.util.conversion.Jobs

public class Jobs extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.kubernetes.client.openapi.models.V1Job
    cronJobToJob(io.kubernetes.client.openapi.models.V1CronJob cronJob, String jobName)
    Convert V1beta1CronJob object into V1Job object, based on kubectl code https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/create/create_job.go

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jobs

      public Jobs()
  • Method Details

    • cronJobToJob

      public static io.kubernetes.client.openapi.models.V1Job cronJobToJob(io.kubernetes.client.openapi.models.V1CronJob cronJob, String jobName)
      Convert V1beta1CronJob object into V1Job object, based on kubectl code https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/create/create_job.go
      Parameters:
      cronJob - cronJob object (required)
      jobName - cronJob name
      Returns:
      V1Job object