mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-19 18:07:45 +08:00

Replace rules are not inherited by consumers of buildx as a module, and as such would default to use the v0.26.2 version. Removing the replace rules also removes various (indirect) dependencies (although brings in some new packages from k8s itself). The "azure" and "gcp" authentication packages in k8s.io/go-client are now no longer functional, so removing those imports. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
451 lines
12 KiB
Go
451 lines
12 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright The Kubernetes 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 deepcopy-gen. DO NOT EDIT.
|
|
|
|
package v1beta1
|
|
|
|
import (
|
|
v1 "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 *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
|
|
*out = *in
|
|
if in.PathType != nil {
|
|
in, out := &in.PathType, &out.PathType
|
|
*out = new(PathType)
|
|
**out = **in
|
|
}
|
|
in.Backend.DeepCopyInto(&out.Backend)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
|
|
func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HTTPIngressPath)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
|
|
*out = *in
|
|
if in.Paths != nil {
|
|
in, out := &in.Paths, &out.Paths
|
|
*out = make([]HTTPIngressPath, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
|
|
func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HTTPIngressRuleValue)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Ingress) DeepCopyInto(out *Ingress) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
|
|
func (in *Ingress) DeepCopy() *Ingress {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Ingress)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Ingress) 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 *IngressBackend) DeepCopyInto(out *IngressBackend) {
|
|
*out = *in
|
|
out.ServicePort = in.ServicePort
|
|
if in.Resource != nil {
|
|
in, out := &in.Resource, &out.Resource
|
|
*out = new(v1.TypedLocalObjectReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
|
|
func (in *IngressBackend) DeepCopy() *IngressBackend {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressBackend)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressClass) DeepCopyInto(out *IngressClass) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
|
|
func (in *IngressClass) DeepCopy() *IngressClass {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressClass)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressClass) 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 *IngressClassList) DeepCopyInto(out *IngressClassList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]IngressClass, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
|
|
func (in *IngressClassList) DeepCopy() *IngressClassList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressClassList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressClassList) 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 *IngressClassParametersReference) DeepCopyInto(out *IngressClassParametersReference) {
|
|
*out = *in
|
|
if in.APIGroup != nil {
|
|
in, out := &in.APIGroup, &out.APIGroup
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Scope != nil {
|
|
in, out := &in.Scope, &out.Scope
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Namespace != nil {
|
|
in, out := &in.Namespace, &out.Namespace
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassParametersReference.
|
|
func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressClassParametersReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec) {
|
|
*out = *in
|
|
if in.Parameters != nil {
|
|
in, out := &in.Parameters, &out.Parameters
|
|
*out = new(IngressClassParametersReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
|
|
func (in *IngressClassSpec) DeepCopy() *IngressClassSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressClassSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressList) DeepCopyInto(out *IngressList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Ingress, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
|
|
func (in *IngressList) DeepCopy() *IngressList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressList) 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 *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress) {
|
|
*out = *in
|
|
if in.Ports != nil {
|
|
in, out := &in.Ports, &out.Ports
|
|
*out = make([]IngressPortStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerIngress.
|
|
func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressLoadBalancerIngress)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus) {
|
|
*out = *in
|
|
if in.Ingress != nil {
|
|
in, out := &in.Ingress, &out.Ingress
|
|
*out = make([]IngressLoadBalancerIngress, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerStatus.
|
|
func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressLoadBalancerStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus) {
|
|
*out = *in
|
|
if in.Error != nil {
|
|
in, out := &in.Error, &out.Error
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPortStatus.
|
|
func (in *IngressPortStatus) DeepCopy() *IngressPortStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressPortStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRule) DeepCopyInto(out *IngressRule) {
|
|
*out = *in
|
|
in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
|
|
func (in *IngressRule) DeepCopy() *IngressRule {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRule)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
|
|
*out = *in
|
|
if in.HTTP != nil {
|
|
in, out := &in.HTTP, &out.HTTP
|
|
*out = new(HTTPIngressRuleValue)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
|
|
func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRuleValue)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
|
|
*out = *in
|
|
if in.IngressClassName != nil {
|
|
in, out := &in.IngressClassName, &out.IngressClassName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Backend != nil {
|
|
in, out := &in.Backend, &out.Backend
|
|
*out = new(IngressBackend)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.TLS != nil {
|
|
in, out := &in.TLS, &out.TLS
|
|
*out = make([]IngressTLS, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Rules != nil {
|
|
in, out := &in.Rules, &out.Rules
|
|
*out = make([]IngressRule, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
|
|
func (in *IngressSpec) DeepCopy() *IngressSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
|
|
*out = *in
|
|
in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
|
|
func (in *IngressStatus) DeepCopy() *IngressStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
|
|
*out = *in
|
|
if in.Hosts != nil {
|
|
in, out := &in.Hosts, &out.Hosts
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
|
|
func (in *IngressTLS) DeepCopy() *IngressTLS {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressTLS)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|