Operator for CronJob resources
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

143 lines
3.6 KiB

  1. // +build !ignore_autogenerated
  2. // Code generated by operator-sdk. DO NOT EDIT.
  3. package v1alpha1
  4. import (
  5. v1beta1 "k8s.io/api/batch/v1beta1"
  6. v1 "k8s.io/api/core/v1"
  7. runtime "k8s.io/apimachinery/pkg/runtime"
  8. )
  9. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  10. func (in *CronOp) DeepCopyInto(out *CronOp) {
  11. *out = *in
  12. out.TypeMeta = in.TypeMeta
  13. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  14. in.Spec.DeepCopyInto(&out.Spec)
  15. out.Status = in.Status
  16. return
  17. }
  18. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronOp.
  19. func (in *CronOp) DeepCopy() *CronOp {
  20. if in == nil {
  21. return nil
  22. }
  23. out := new(CronOp)
  24. in.DeepCopyInto(out)
  25. return out
  26. }
  27. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  28. func (in *CronOp) DeepCopyObject() runtime.Object {
  29. if c := in.DeepCopy(); c != nil {
  30. return c
  31. }
  32. return nil
  33. }
  34. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  35. func (in *CronOpList) DeepCopyInto(out *CronOpList) {
  36. *out = *in
  37. out.TypeMeta = in.TypeMeta
  38. out.ListMeta = in.ListMeta
  39. if in.Items != nil {
  40. in, out := &in.Items, &out.Items
  41. *out = make([]CronOp, len(*in))
  42. for i := range *in {
  43. (*in)[i].DeepCopyInto(&(*out)[i])
  44. }
  45. }
  46. return
  47. }
  48. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronOpList.
  49. func (in *CronOpList) DeepCopy() *CronOpList {
  50. if in == nil {
  51. return nil
  52. }
  53. out := new(CronOpList)
  54. in.DeepCopyInto(out)
  55. return out
  56. }
  57. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  58. func (in *CronOpList) DeepCopyObject() runtime.Object {
  59. if c := in.DeepCopy(); c != nil {
  60. return c
  61. }
  62. return nil
  63. }
  64. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  65. func (in *CronOpSpec) DeepCopyInto(out *CronOpSpec) {
  66. *out = *in
  67. if in.Tasks != nil {
  68. in, out := &in.Tasks, &out.Tasks
  69. *out = make([]CronTask, len(*in))
  70. for i := range *in {
  71. (*in)[i].DeepCopyInto(&(*out)[i])
  72. }
  73. }
  74. return
  75. }
  76. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronOpSpec.
  77. func (in *CronOpSpec) DeepCopy() *CronOpSpec {
  78. if in == nil {
  79. return nil
  80. }
  81. out := new(CronOpSpec)
  82. in.DeepCopyInto(out)
  83. return out
  84. }
  85. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  86. func (in *CronOpStatus) DeepCopyInto(out *CronOpStatus) {
  87. *out = *in
  88. return
  89. }
  90. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronOpStatus.
  91. func (in *CronOpStatus) DeepCopy() *CronOpStatus {
  92. if in == nil {
  93. return nil
  94. }
  95. out := new(CronOpStatus)
  96. in.DeepCopyInto(out)
  97. return out
  98. }
  99. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  100. func (in *CronTask) DeepCopyInto(out *CronTask) {
  101. *out = *in
  102. if in.Commands != nil {
  103. in, out := &in.Commands, &out.Commands
  104. *out = make([]string, len(*in))
  105. copy(*out, *in)
  106. }
  107. if in.RestartPolicy != nil {
  108. in, out := &in.RestartPolicy, &out.RestartPolicy
  109. *out = new(v1.RestartPolicy)
  110. **out = **in
  111. }
  112. if in.ConcurrencyPolicy != nil {
  113. in, out := &in.ConcurrencyPolicy, &out.ConcurrencyPolicy
  114. *out = new(v1beta1.ConcurrencyPolicy)
  115. **out = **in
  116. }
  117. return
  118. }
  119. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronTask.
  120. func (in *CronTask) DeepCopy() *CronTask {
  121. if in == nil {
  122. return nil
  123. }
  124. out := new(CronTask)
  125. in.DeepCopyInto(out)
  126. return out
  127. }