- Add jarRef and jarPullSecret fields to FlinkJob CRD (jarUri/basicAuth deprecated) - OCI pull via go-containerregistry with dual auth (K8s pull secret + env vars) - Media type validation on pulled layers - Atomic status patches with runningJarRef/runningJarDigest tracking - NeedsUpgrade/RunningRef/RunningRefPatchData domain helpers - README with usage guide, pushing JARs, and GitHub Actions CI/CD workflow - CONTEXT.md domain glossary
176 lines
4.6 KiB
Go
176 lines
4.6 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
"time"
|
|
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FlinkJob) DeepCopyInto(out *FlinkJob) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlinkJob.
|
|
func (in *FlinkJob) DeepCopy() *FlinkJob {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FlinkJob)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *FlinkJob) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FlinkJobSpec) DeepCopyInto(out *FlinkJobSpec) {
|
|
*out = *in
|
|
if in.JarURIBasicAuthUsername != nil {
|
|
in, out := &in.JarURIBasicAuthUsername, &out.JarURIBasicAuthUsername
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.JarURIBasicAuthPassword != nil {
|
|
in, out := &in.JarURIBasicAuthPassword, &out.JarURIBasicAuthPassword
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Args != nil {
|
|
in, out := &in.Args, &out.Args
|
|
*out = make(Args, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlinkJobSpec.
|
|
func (in *FlinkJobSpec) DeepCopy() *FlinkJobSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FlinkJobSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FlinkJobStatus) DeepCopyInto(out *FlinkJobStatus) {
|
|
*out = *in
|
|
if in.LastSavepointPath != nil {
|
|
in, out := &in.LastSavepointPath, &out.LastSavepointPath
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.JarId != nil {
|
|
in, out := &in.JarId, &out.JarId
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.JobId != nil {
|
|
in, out := &in.JobId, &out.JobId
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Error != nil {
|
|
in, out := &in.Error, &out.Error
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SavepointTriggerId != nil {
|
|
in, out := &in.SavepointTriggerId, &out.SavepointTriggerId
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.PauseSavepointTriggerId != nil {
|
|
in, out := &in.PauseSavepointTriggerId, &out.PauseSavepointTriggerId
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LastSavepointDate != nil {
|
|
in, out := &in.LastSavepointDate, &out.LastSavepointDate
|
|
*out = new(time.Time)
|
|
**out = **in
|
|
}
|
|
if in.LastRestoredSavepointDate != nil {
|
|
in, out := &in.LastRestoredSavepointDate, &out.LastRestoredSavepointDate
|
|
*out = new(time.Time)
|
|
**out = **in
|
|
}
|
|
if in.LastRestoredSavepointRestoredDate != nil {
|
|
in, out := &in.LastRestoredSavepointRestoredDate, &out.LastRestoredSavepointRestoredDate
|
|
*out = new(time.Time)
|
|
**out = **in
|
|
}
|
|
if in.RunningJarDigest != nil {
|
|
in, out := &in.RunningJarDigest, &out.RunningJarDigest
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.RunningJarRef != nil {
|
|
in, out := &in.RunningJarRef, &out.RunningJarRef
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.RunningJarURI != nil {
|
|
in, out := &in.RunningJarURI, &out.RunningJarURI
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlinkJobStatus.
|
|
func (in *FlinkJobStatus) DeepCopy() *FlinkJobStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FlinkJobStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FlinkJobList) DeepCopyInto(out *FlinkJobList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]FlinkJob, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlinkJobList.
|
|
func (in *FlinkJobList) DeepCopy() *FlinkJobList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FlinkJobList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *FlinkJobList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|