rebase: update kubernetes to latest

updating the kubernetes release to the
latest in main go.mod

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2024-08-19 10:01:33 +02:00
committed by mergify[bot]
parent 63c4c05b35
commit 5a66991bb3
2173 changed files with 98906 additions and 61334 deletions

View File

@ -22,7 +22,7 @@ import (
v1 "k8s.io/api/networking/v1"
)
// HTTPIngressPathApplyConfiguration represents an declarative configuration of the HTTPIngressPath type for use
// HTTPIngressPathApplyConfiguration represents a declarative configuration of the HTTPIngressPath type for use
// with apply.
type HTTPIngressPathApplyConfiguration struct {
Path *string `json:"path,omitempty"`
@ -30,7 +30,7 @@ type HTTPIngressPathApplyConfiguration struct {
Backend *IngressBackendApplyConfiguration `json:"backend,omitempty"`
}
// HTTPIngressPathApplyConfiguration constructs an declarative configuration of the HTTPIngressPath type for use with
// HTTPIngressPathApplyConfiguration constructs a declarative configuration of the HTTPIngressPath type for use with
// apply.
func HTTPIngressPath() *HTTPIngressPathApplyConfiguration {
return &HTTPIngressPathApplyConfiguration{}

View File

@ -18,13 +18,13 @@ limitations under the License.
package v1
// HTTPIngressRuleValueApplyConfiguration represents an declarative configuration of the HTTPIngressRuleValue type for use
// HTTPIngressRuleValueApplyConfiguration represents a declarative configuration of the HTTPIngressRuleValue type for use
// with apply.
type HTTPIngressRuleValueApplyConfiguration struct {
Paths []HTTPIngressPathApplyConfiguration `json:"paths,omitempty"`
}
// HTTPIngressRuleValueApplyConfiguration constructs an declarative configuration of the HTTPIngressRuleValue type for use with
// HTTPIngressRuleValueApplyConfiguration constructs a declarative configuration of the HTTPIngressRuleValue type for use with
// apply.
func HTTPIngressRuleValue() *HTTPIngressRuleValueApplyConfiguration {
return &HTTPIngressRuleValueApplyConfiguration{}

View File

@ -27,7 +27,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// IngressApplyConfiguration represents an declarative configuration of the Ingress type for use
// IngressApplyConfiguration represents a declarative configuration of the Ingress type for use
// with apply.
type IngressApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
@ -36,7 +36,7 @@ type IngressApplyConfiguration struct {
Status *IngressStatusApplyConfiguration `json:"status,omitempty"`
}
// Ingress constructs an declarative configuration of the Ingress type for use with
// Ingress constructs a declarative configuration of the Ingress type for use with
// apply.
func Ingress(name, namespace string) *IngressApplyConfiguration {
b := &IngressApplyConfiguration{}
@ -256,3 +256,9 @@ func (b *IngressApplyConfiguration) WithStatus(value *IngressStatusApplyConfigur
b.Status = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *IngressApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}

View File

@ -22,14 +22,14 @@ import (
corev1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// IngressBackendApplyConfiguration represents an declarative configuration of the IngressBackend type for use
// IngressBackendApplyConfiguration represents a declarative configuration of the IngressBackend type for use
// with apply.
type IngressBackendApplyConfiguration struct {
Service *IngressServiceBackendApplyConfiguration `json:"service,omitempty"`
Resource *corev1.TypedLocalObjectReferenceApplyConfiguration `json:"resource,omitempty"`
}
// IngressBackendApplyConfiguration constructs an declarative configuration of the IngressBackend type for use with
// IngressBackendApplyConfiguration constructs a declarative configuration of the IngressBackend type for use with
// apply.
func IngressBackend() *IngressBackendApplyConfiguration {
return &IngressBackendApplyConfiguration{}

View File

@ -27,7 +27,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// IngressClassApplyConfiguration represents an declarative configuration of the IngressClass type for use
// IngressClassApplyConfiguration represents a declarative configuration of the IngressClass type for use
// with apply.
type IngressClassApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
@ -35,7 +35,7 @@ type IngressClassApplyConfiguration struct {
Spec *IngressClassSpecApplyConfiguration `json:"spec,omitempty"`
}
// IngressClass constructs an declarative configuration of the IngressClass type for use with
// IngressClass constructs a declarative configuration of the IngressClass type for use with
// apply.
func IngressClass(name string) *IngressClassApplyConfiguration {
b := &IngressClassApplyConfiguration{}
@ -245,3 +245,9 @@ func (b *IngressClassApplyConfiguration) WithSpec(value *IngressClassSpecApplyCo
b.Spec = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *IngressClassApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}

View File

@ -18,7 +18,7 @@ limitations under the License.
package v1
// IngressClassParametersReferenceApplyConfiguration represents an declarative configuration of the IngressClassParametersReference type for use
// IngressClassParametersReferenceApplyConfiguration represents a declarative configuration of the IngressClassParametersReference type for use
// with apply.
type IngressClassParametersReferenceApplyConfiguration struct {
APIGroup *string `json:"apiGroup,omitempty"`
@ -28,7 +28,7 @@ type IngressClassParametersReferenceApplyConfiguration struct {
Namespace *string `json:"namespace,omitempty"`
}
// IngressClassParametersReferenceApplyConfiguration constructs an declarative configuration of the IngressClassParametersReference type for use with
// IngressClassParametersReferenceApplyConfiguration constructs a declarative configuration of the IngressClassParametersReference type for use with
// apply.
func IngressClassParametersReference() *IngressClassParametersReferenceApplyConfiguration {
return &IngressClassParametersReferenceApplyConfiguration{}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// IngressClassSpecApplyConfiguration represents an declarative configuration of the IngressClassSpec type for use
// IngressClassSpecApplyConfiguration represents a declarative configuration of the IngressClassSpec type for use
// with apply.
type IngressClassSpecApplyConfiguration struct {
Controller *string `json:"controller,omitempty"`
Parameters *IngressClassParametersReferenceApplyConfiguration `json:"parameters,omitempty"`
}
// IngressClassSpecApplyConfiguration constructs an declarative configuration of the IngressClassSpec type for use with
// IngressClassSpecApplyConfiguration constructs a declarative configuration of the IngressClassSpec type for use with
// apply.
func IngressClassSpec() *IngressClassSpecApplyConfiguration {
return &IngressClassSpecApplyConfiguration{}

View File

@ -18,7 +18,7 @@ limitations under the License.
package v1
// IngressLoadBalancerIngressApplyConfiguration represents an declarative configuration of the IngressLoadBalancerIngress type for use
// IngressLoadBalancerIngressApplyConfiguration represents a declarative configuration of the IngressLoadBalancerIngress type for use
// with apply.
type IngressLoadBalancerIngressApplyConfiguration struct {
IP *string `json:"ip,omitempty"`
@ -26,7 +26,7 @@ type IngressLoadBalancerIngressApplyConfiguration struct {
Ports []IngressPortStatusApplyConfiguration `json:"ports,omitempty"`
}
// IngressLoadBalancerIngressApplyConfiguration constructs an declarative configuration of the IngressLoadBalancerIngress type for use with
// IngressLoadBalancerIngressApplyConfiguration constructs a declarative configuration of the IngressLoadBalancerIngress type for use with
// apply.
func IngressLoadBalancerIngress() *IngressLoadBalancerIngressApplyConfiguration {
return &IngressLoadBalancerIngressApplyConfiguration{}

View File

@ -18,13 +18,13 @@ limitations under the License.
package v1
// IngressLoadBalancerStatusApplyConfiguration represents an declarative configuration of the IngressLoadBalancerStatus type for use
// IngressLoadBalancerStatusApplyConfiguration represents a declarative configuration of the IngressLoadBalancerStatus type for use
// with apply.
type IngressLoadBalancerStatusApplyConfiguration struct {
Ingress []IngressLoadBalancerIngressApplyConfiguration `json:"ingress,omitempty"`
}
// IngressLoadBalancerStatusApplyConfiguration constructs an declarative configuration of the IngressLoadBalancerStatus type for use with
// IngressLoadBalancerStatusApplyConfiguration constructs a declarative configuration of the IngressLoadBalancerStatus type for use with
// apply.
func IngressLoadBalancerStatus() *IngressLoadBalancerStatusApplyConfiguration {
return &IngressLoadBalancerStatusApplyConfiguration{}

View File

@ -22,7 +22,7 @@ import (
v1 "k8s.io/api/core/v1"
)
// IngressPortStatusApplyConfiguration represents an declarative configuration of the IngressPortStatus type for use
// IngressPortStatusApplyConfiguration represents a declarative configuration of the IngressPortStatus type for use
// with apply.
type IngressPortStatusApplyConfiguration struct {
Port *int32 `json:"port,omitempty"`
@ -30,7 +30,7 @@ type IngressPortStatusApplyConfiguration struct {
Error *string `json:"error,omitempty"`
}
// IngressPortStatusApplyConfiguration constructs an declarative configuration of the IngressPortStatus type for use with
// IngressPortStatusApplyConfiguration constructs a declarative configuration of the IngressPortStatus type for use with
// apply.
func IngressPortStatus() *IngressPortStatusApplyConfiguration {
return &IngressPortStatusApplyConfiguration{}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// IngressRuleApplyConfiguration represents an declarative configuration of the IngressRule type for use
// IngressRuleApplyConfiguration represents a declarative configuration of the IngressRule type for use
// with apply.
type IngressRuleApplyConfiguration struct {
Host *string `json:"host,omitempty"`
IngressRuleValueApplyConfiguration `json:",omitempty,inline"`
IngressRuleValueApplyConfiguration `json:",inline"`
}
// IngressRuleApplyConfiguration constructs an declarative configuration of the IngressRule type for use with
// IngressRuleApplyConfiguration constructs a declarative configuration of the IngressRule type for use with
// apply.
func IngressRule() *IngressRuleApplyConfiguration {
return &IngressRuleApplyConfiguration{}

View File

@ -18,13 +18,13 @@ limitations under the License.
package v1
// IngressRuleValueApplyConfiguration represents an declarative configuration of the IngressRuleValue type for use
// IngressRuleValueApplyConfiguration represents a declarative configuration of the IngressRuleValue type for use
// with apply.
type IngressRuleValueApplyConfiguration struct {
HTTP *HTTPIngressRuleValueApplyConfiguration `json:"http,omitempty"`
}
// IngressRuleValueApplyConfiguration constructs an declarative configuration of the IngressRuleValue type for use with
// IngressRuleValueApplyConfiguration constructs a declarative configuration of the IngressRuleValue type for use with
// apply.
func IngressRuleValue() *IngressRuleValueApplyConfiguration {
return &IngressRuleValueApplyConfiguration{}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// IngressServiceBackendApplyConfiguration represents an declarative configuration of the IngressServiceBackend type for use
// IngressServiceBackendApplyConfiguration represents a declarative configuration of the IngressServiceBackend type for use
// with apply.
type IngressServiceBackendApplyConfiguration struct {
Name *string `json:"name,omitempty"`
Port *ServiceBackendPortApplyConfiguration `json:"port,omitempty"`
}
// IngressServiceBackendApplyConfiguration constructs an declarative configuration of the IngressServiceBackend type for use with
// IngressServiceBackendApplyConfiguration constructs a declarative configuration of the IngressServiceBackend type for use with
// apply.
func IngressServiceBackend() *IngressServiceBackendApplyConfiguration {
return &IngressServiceBackendApplyConfiguration{}

View File

@ -18,7 +18,7 @@ limitations under the License.
package v1
// IngressSpecApplyConfiguration represents an declarative configuration of the IngressSpec type for use
// IngressSpecApplyConfiguration represents a declarative configuration of the IngressSpec type for use
// with apply.
type IngressSpecApplyConfiguration struct {
IngressClassName *string `json:"ingressClassName,omitempty"`
@ -27,7 +27,7 @@ type IngressSpecApplyConfiguration struct {
Rules []IngressRuleApplyConfiguration `json:"rules,omitempty"`
}
// IngressSpecApplyConfiguration constructs an declarative configuration of the IngressSpec type for use with
// IngressSpecApplyConfiguration constructs a declarative configuration of the IngressSpec type for use with
// apply.
func IngressSpec() *IngressSpecApplyConfiguration {
return &IngressSpecApplyConfiguration{}

View File

@ -18,13 +18,13 @@ limitations under the License.
package v1
// IngressStatusApplyConfiguration represents an declarative configuration of the IngressStatus type for use
// IngressStatusApplyConfiguration represents a declarative configuration of the IngressStatus type for use
// with apply.
type IngressStatusApplyConfiguration struct {
LoadBalancer *IngressLoadBalancerStatusApplyConfiguration `json:"loadBalancer,omitempty"`
}
// IngressStatusApplyConfiguration constructs an declarative configuration of the IngressStatus type for use with
// IngressStatusApplyConfiguration constructs a declarative configuration of the IngressStatus type for use with
// apply.
func IngressStatus() *IngressStatusApplyConfiguration {
return &IngressStatusApplyConfiguration{}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// IngressTLSApplyConfiguration represents an declarative configuration of the IngressTLS type for use
// IngressTLSApplyConfiguration represents a declarative configuration of the IngressTLS type for use
// with apply.
type IngressTLSApplyConfiguration struct {
Hosts []string `json:"hosts,omitempty"`
SecretName *string `json:"secretName,omitempty"`
}
// IngressTLSApplyConfiguration constructs an declarative configuration of the IngressTLS type for use with
// IngressTLSApplyConfiguration constructs a declarative configuration of the IngressTLS type for use with
// apply.
func IngressTLS() *IngressTLSApplyConfiguration {
return &IngressTLSApplyConfiguration{}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// IPBlockApplyConfiguration represents an declarative configuration of the IPBlock type for use
// IPBlockApplyConfiguration represents a declarative configuration of the IPBlock type for use
// with apply.
type IPBlockApplyConfiguration struct {
CIDR *string `json:"cidr,omitempty"`
Except []string `json:"except,omitempty"`
}
// IPBlockApplyConfiguration constructs an declarative configuration of the IPBlock type for use with
// IPBlockApplyConfiguration constructs a declarative configuration of the IPBlock type for use with
// apply.
func IPBlock() *IPBlockApplyConfiguration {
return &IPBlockApplyConfiguration{}

View File

@ -27,7 +27,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// NetworkPolicyApplyConfiguration represents an declarative configuration of the NetworkPolicy type for use
// NetworkPolicyApplyConfiguration represents a declarative configuration of the NetworkPolicy type for use
// with apply.
type NetworkPolicyApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
@ -35,7 +35,7 @@ type NetworkPolicyApplyConfiguration struct {
Spec *NetworkPolicySpecApplyConfiguration `json:"spec,omitempty"`
}
// NetworkPolicy constructs an declarative configuration of the NetworkPolicy type for use with
// NetworkPolicy constructs a declarative configuration of the NetworkPolicy type for use with
// apply.
func NetworkPolicy(name, namespace string) *NetworkPolicyApplyConfiguration {
b := &NetworkPolicyApplyConfiguration{}
@ -247,3 +247,9 @@ func (b *NetworkPolicyApplyConfiguration) WithSpec(value *NetworkPolicySpecApply
b.Spec = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *NetworkPolicyApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// NetworkPolicyEgressRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyEgressRule type for use
// NetworkPolicyEgressRuleApplyConfiguration represents a declarative configuration of the NetworkPolicyEgressRule type for use
// with apply.
type NetworkPolicyEgressRuleApplyConfiguration struct {
Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
To []NetworkPolicyPeerApplyConfiguration `json:"to,omitempty"`
}
// NetworkPolicyEgressRuleApplyConfiguration constructs an declarative configuration of the NetworkPolicyEgressRule type for use with
// NetworkPolicyEgressRuleApplyConfiguration constructs a declarative configuration of the NetworkPolicyEgressRule type for use with
// apply.
func NetworkPolicyEgressRule() *NetworkPolicyEgressRuleApplyConfiguration {
return &NetworkPolicyEgressRuleApplyConfiguration{}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// NetworkPolicyIngressRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyIngressRule type for use
// NetworkPolicyIngressRuleApplyConfiguration represents a declarative configuration of the NetworkPolicyIngressRule type for use
// with apply.
type NetworkPolicyIngressRuleApplyConfiguration struct {
Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
From []NetworkPolicyPeerApplyConfiguration `json:"from,omitempty"`
}
// NetworkPolicyIngressRuleApplyConfiguration constructs an declarative configuration of the NetworkPolicyIngressRule type for use with
// NetworkPolicyIngressRuleApplyConfiguration constructs a declarative configuration of the NetworkPolicyIngressRule type for use with
// apply.
func NetworkPolicyIngressRule() *NetworkPolicyIngressRuleApplyConfiguration {
return &NetworkPolicyIngressRuleApplyConfiguration{}

View File

@ -22,7 +22,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// NetworkPolicyPeerApplyConfiguration represents an declarative configuration of the NetworkPolicyPeer type for use
// NetworkPolicyPeerApplyConfiguration represents a declarative configuration of the NetworkPolicyPeer type for use
// with apply.
type NetworkPolicyPeerApplyConfiguration struct {
PodSelector *v1.LabelSelectorApplyConfiguration `json:"podSelector,omitempty"`
@ -30,7 +30,7 @@ type NetworkPolicyPeerApplyConfiguration struct {
IPBlock *IPBlockApplyConfiguration `json:"ipBlock,omitempty"`
}
// NetworkPolicyPeerApplyConfiguration constructs an declarative configuration of the NetworkPolicyPeer type for use with
// NetworkPolicyPeerApplyConfiguration constructs a declarative configuration of the NetworkPolicyPeer type for use with
// apply.
func NetworkPolicyPeer() *NetworkPolicyPeerApplyConfiguration {
return &NetworkPolicyPeerApplyConfiguration{}

View File

@ -23,7 +23,7 @@ import (
intstr "k8s.io/apimachinery/pkg/util/intstr"
)
// NetworkPolicyPortApplyConfiguration represents an declarative configuration of the NetworkPolicyPort type for use
// NetworkPolicyPortApplyConfiguration represents a declarative configuration of the NetworkPolicyPort type for use
// with apply.
type NetworkPolicyPortApplyConfiguration struct {
Protocol *v1.Protocol `json:"protocol,omitempty"`
@ -31,7 +31,7 @@ type NetworkPolicyPortApplyConfiguration struct {
EndPort *int32 `json:"endPort,omitempty"`
}
// NetworkPolicyPortApplyConfiguration constructs an declarative configuration of the NetworkPolicyPort type for use with
// NetworkPolicyPortApplyConfiguration constructs a declarative configuration of the NetworkPolicyPort type for use with
// apply.
func NetworkPolicyPort() *NetworkPolicyPortApplyConfiguration {
return &NetworkPolicyPortApplyConfiguration{}

View File

@ -23,7 +23,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// NetworkPolicySpecApplyConfiguration represents an declarative configuration of the NetworkPolicySpec type for use
// NetworkPolicySpecApplyConfiguration represents a declarative configuration of the NetworkPolicySpec type for use
// with apply.
type NetworkPolicySpecApplyConfiguration struct {
PodSelector *v1.LabelSelectorApplyConfiguration `json:"podSelector,omitempty"`
@ -32,7 +32,7 @@ type NetworkPolicySpecApplyConfiguration struct {
PolicyTypes []apinetworkingv1.PolicyType `json:"policyTypes,omitempty"`
}
// NetworkPolicySpecApplyConfiguration constructs an declarative configuration of the NetworkPolicySpec type for use with
// NetworkPolicySpecApplyConfiguration constructs a declarative configuration of the NetworkPolicySpec type for use with
// apply.
func NetworkPolicySpec() *NetworkPolicySpecApplyConfiguration {
return &NetworkPolicySpecApplyConfiguration{}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// ServiceBackendPortApplyConfiguration represents an declarative configuration of the ServiceBackendPort type for use
// ServiceBackendPortApplyConfiguration represents a declarative configuration of the ServiceBackendPort type for use
// with apply.
type ServiceBackendPortApplyConfiguration struct {
Name *string `json:"name,omitempty"`
Number *int32 `json:"number,omitempty"`
}
// ServiceBackendPortApplyConfiguration constructs an declarative configuration of the ServiceBackendPort type for use with
// ServiceBackendPortApplyConfiguration constructs a declarative configuration of the ServiceBackendPort type for use with
// apply.
func ServiceBackendPort() *ServiceBackendPortApplyConfiguration {
return &ServiceBackendPortApplyConfiguration{}