347 lines
		
	
	
		
			9.9 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			347 lines
		
	
	
		
			9.9 KiB
		
	
	
	
		
			Go
		
	
	
	
| // +build !ignore_autogenerated
 | |
| 
 | |
| /*
 | |
| Copyright 2020 The actions-runner-controller authors.
 | |
| 
 | |
| Licensed under the Apache License, Version 2.0 (the "License");
 | |
| you may not use this file except in compliance with the License.
 | |
| You may obtain a copy of the License at
 | |
| 
 | |
|     http://www.apache.org/licenses/LICENSE-2.0
 | |
| 
 | |
| Unless required by applicable law or agreed to in writing, software
 | |
| distributed under the License is distributed on an "AS IS" BASIS,
 | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
| See the License for the specific language governing permissions and
 | |
| limitations under the License.
 | |
| */
 | |
| 
 | |
| // Code generated by controller-gen. DO NOT EDIT.
 | |
| 
 | |
| package v1alpha1
 | |
| 
 | |
| import (
 | |
| 	"k8s.io/api/core/v1"
 | |
| 	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 *Runner) DeepCopyInto(out *Runner) {
 | |
| 	*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 Runner.
 | |
| func (in *Runner) DeepCopy() *Runner {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(Runner)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *Runner) 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 *RunnerDeployment) DeepCopyInto(out *RunnerDeployment) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | |
| 	in.Spec.DeepCopyInto(&out.Spec)
 | |
| 	out.Status = in.Status
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeployment.
 | |
| func (in *RunnerDeployment) DeepCopy() *RunnerDeployment {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerDeployment)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *RunnerDeployment) 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 *RunnerDeploymentList) DeepCopyInto(out *RunnerDeploymentList) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.ListMeta.DeepCopyInto(&out.ListMeta)
 | |
| 	if in.Items != nil {
 | |
| 		in, out := &in.Items, &out.Items
 | |
| 		*out = make([]RunnerDeployment, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeploymentList.
 | |
| func (in *RunnerDeploymentList) DeepCopy() *RunnerDeploymentList {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerDeploymentList)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *RunnerDeploymentList) 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 *RunnerDeploymentSpec) DeepCopyInto(out *RunnerDeploymentSpec) {
 | |
| 	*out = *in
 | |
| 	if in.Replicas != nil {
 | |
| 		in, out := &in.Replicas, &out.Replicas
 | |
| 		*out = new(int)
 | |
| 		**out = **in
 | |
| 	}
 | |
| 	in.Template.DeepCopyInto(&out.Template)
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeploymentSpec.
 | |
| func (in *RunnerDeploymentSpec) DeepCopy() *RunnerDeploymentSpec {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerDeploymentSpec)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *RunnerDeploymentStatus) DeepCopyInto(out *RunnerDeploymentStatus) {
 | |
| 	*out = *in
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeploymentStatus.
 | |
| func (in *RunnerDeploymentStatus) DeepCopy() *RunnerDeploymentStatus {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerDeploymentStatus)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *RunnerList) DeepCopyInto(out *RunnerList) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.ListMeta.DeepCopyInto(&out.ListMeta)
 | |
| 	if in.Items != nil {
 | |
| 		in, out := &in.Items, &out.Items
 | |
| 		*out = make([]Runner, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerList.
 | |
| func (in *RunnerList) DeepCopy() *RunnerList {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerList)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *RunnerList) 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 *RunnerSet) DeepCopyInto(out *RunnerSet) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | |
| 	in.Spec.DeepCopyInto(&out.Spec)
 | |
| 	out.Status = in.Status
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerSet.
 | |
| func (in *RunnerSet) DeepCopy() *RunnerSet {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerSet)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *RunnerSet) 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 *RunnerSetList) DeepCopyInto(out *RunnerSetList) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.ListMeta.DeepCopyInto(&out.ListMeta)
 | |
| 	if in.Items != nil {
 | |
| 		in, out := &in.Items, &out.Items
 | |
| 		*out = make([]RunnerSet, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerSetList.
 | |
| func (in *RunnerSetList) DeepCopy() *RunnerSetList {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerSetList)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *RunnerSetList) 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 *RunnerSetSpec) DeepCopyInto(out *RunnerSetSpec) {
 | |
| 	*out = *in
 | |
| 	if in.Replicas != nil {
 | |
| 		in, out := &in.Replicas, &out.Replicas
 | |
| 		*out = new(int)
 | |
| 		**out = **in
 | |
| 	}
 | |
| 	in.Template.DeepCopyInto(&out.Template)
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerSetSpec.
 | |
| func (in *RunnerSetSpec) DeepCopy() *RunnerSetSpec {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerSetSpec)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *RunnerSetStatus) DeepCopyInto(out *RunnerSetStatus) {
 | |
| 	*out = *in
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerSetStatus.
 | |
| func (in *RunnerSetStatus) DeepCopy() *RunnerSetStatus {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerSetStatus)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *RunnerSpec) DeepCopyInto(out *RunnerSpec) {
 | |
| 	*out = *in
 | |
| 	if in.Env != nil {
 | |
| 		in, out := &in.Env, &out.Env
 | |
| 		*out = make([]v1.EnvVar, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerSpec.
 | |
| func (in *RunnerSpec) DeepCopy() *RunnerSpec {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerSpec)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *RunnerStatus) DeepCopyInto(out *RunnerStatus) {
 | |
| 	*out = *in
 | |
| 	in.Registration.DeepCopyInto(&out.Registration)
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerStatus.
 | |
| func (in *RunnerStatus) DeepCopy() *RunnerStatus {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerStatus)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *RunnerStatusRegistration) DeepCopyInto(out *RunnerStatusRegistration) {
 | |
| 	*out = *in
 | |
| 	in.ExpiresAt.DeepCopyInto(&out.ExpiresAt)
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerStatusRegistration.
 | |
| func (in *RunnerStatusRegistration) DeepCopy() *RunnerStatusRegistration {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerStatusRegistration)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *RunnerTemplate) DeepCopyInto(out *RunnerTemplate) {
 | |
| 	*out = *in
 | |
| 	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | |
| 	in.Spec.DeepCopyInto(&out.Spec)
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerTemplate.
 | |
| func (in *RunnerTemplate) DeepCopy() *RunnerTemplate {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(RunnerTemplate)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 |