updated vendor

This commit is contained in:
2026-06-16 08:02:19 +02:00
parent 2f7f99d3f0
commit 77299d0c64
1283 changed files with 67302 additions and 208958 deletions
+17 -1
View File
@@ -87,7 +87,7 @@ message IPAddress {
// spec is the desired state of the IPAddress.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
// +required
optional IPAddressSpec spec = 2;
}
@@ -107,6 +107,8 @@ message IPAddressSpec {
// ParentRef references the resource that an IPAddress is attached to.
// An IPAddress must reference a parent object.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
// +k8s:alpha(since: "1.36")=+k8s:immutable
optional ParentReference parentRef = 1;
}
@@ -116,6 +118,8 @@ message IPAddressSpec {
message IPBlock {
// cidr is a string representing the IPBlock
// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
optional string cidr = 1;
// except is a slice of CIDRs that should not be included within an IPBlock
@@ -199,9 +203,13 @@ message IngressClassParametersReference {
optional string aPIGroup = 1;
// kind is the type of resource being referenced.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
optional string kind = 2;
// name is the name of resource being referenced.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
optional string name = 3;
// scope represents if this refers to a cluster or namespace scoped resource.
@@ -230,6 +238,7 @@ message IngressClassSpec {
// configuration for the controller. This is optional if the controller does
// not require extra parameters.
// +optional
// +k8s:alpha(since: "1.36")=+k8s:optional
optional IngressClassParametersReference parameters = 2;
}
@@ -446,6 +455,7 @@ message NetworkPolicyEgressRule {
// allows traffic only if the traffic matches at least one item in the to list.
// +optional
// +listType=atomic
// +k8s:alpha(since: "1.36")=+k8s:optional
repeated NetworkPolicyPeer to = 2;
}
@@ -468,6 +478,7 @@ message NetworkPolicyIngressRule {
// allows traffic only if the traffic matches at least one item in the from list.
// +optional
// +listType=atomic
// +k8s:alpha(since: "1.36")=+k8s:optional
repeated NetworkPolicyPeer from = 2;
}
@@ -506,6 +517,7 @@ message NetworkPolicyPeer {
// ipBlock defines policy on a particular IPBlock. If this field is set then
// neither of the other fields can be.
// +optional
// +k8s:alpha(since: "1.36")=+k8s:optional
optional IPBlock ipBlock = 3;
}
@@ -551,6 +563,7 @@ message NetworkPolicySpec {
// solely to ensure that the pods it selects are isolated by default)
// +optional
// +listType=atomic
// +k8s:alpha(since: "1.36")=+k8s:optional
repeated NetworkPolicyIngressRule ingress = 2;
// egress is a list of egress rules to be applied to the selected pods. Outgoing traffic
@@ -562,6 +575,7 @@ message NetworkPolicySpec {
// This field is beta-level in 1.8
// +optional
// +listType=atomic
// +k8s:alpha(since: "1.36")=+k8s:optional
repeated NetworkPolicyEgressRule egress = 3;
// policyTypes is a list of rule types that the NetworkPolicy relates to.
@@ -587,6 +601,7 @@ message ParentReference {
// Resource is the resource of the object being referenced.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
optional string resource = 2;
// Namespace is the namespace of the object being referenced.
@@ -595,6 +610,7 @@ message ParentReference {
// Name is the name of the object being referenced.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
optional string name = 4;
}
-92
View File
@@ -1,92 +0,0 @@
//go:build kubernetes_protomessage_one_more_release
// +build kubernetes_protomessage_one_more_release
/*
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 go-to-protobuf. DO NOT EDIT.
package v1
func (*HTTPIngressPath) ProtoMessage() {}
func (*HTTPIngressRuleValue) ProtoMessage() {}
func (*IPAddress) ProtoMessage() {}
func (*IPAddressList) ProtoMessage() {}
func (*IPAddressSpec) ProtoMessage() {}
func (*IPBlock) ProtoMessage() {}
func (*Ingress) ProtoMessage() {}
func (*IngressBackend) ProtoMessage() {}
func (*IngressClass) ProtoMessage() {}
func (*IngressClassList) ProtoMessage() {}
func (*IngressClassParametersReference) ProtoMessage() {}
func (*IngressClassSpec) ProtoMessage() {}
func (*IngressList) ProtoMessage() {}
func (*IngressLoadBalancerIngress) ProtoMessage() {}
func (*IngressLoadBalancerStatus) ProtoMessage() {}
func (*IngressPortStatus) ProtoMessage() {}
func (*IngressRule) ProtoMessage() {}
func (*IngressRuleValue) ProtoMessage() {}
func (*IngressServiceBackend) ProtoMessage() {}
func (*IngressSpec) ProtoMessage() {}
func (*IngressStatus) ProtoMessage() {}
func (*IngressTLS) ProtoMessage() {}
func (*NetworkPolicy) ProtoMessage() {}
func (*NetworkPolicyEgressRule) ProtoMessage() {}
func (*NetworkPolicyIngressRule) ProtoMessage() {}
func (*NetworkPolicyList) ProtoMessage() {}
func (*NetworkPolicyPeer) ProtoMessage() {}
func (*NetworkPolicyPort) ProtoMessage() {}
func (*NetworkPolicySpec) ProtoMessage() {}
func (*ParentReference) ProtoMessage() {}
func (*ServiceBackendPort) ProtoMessage() {}
func (*ServiceCIDR) ProtoMessage() {}
func (*ServiceCIDRList) ProtoMessage() {}
func (*ServiceCIDRSpec) ProtoMessage() {}
func (*ServiceCIDRStatus) ProtoMessage() {}
+17 -1
View File
@@ -77,6 +77,7 @@ type NetworkPolicySpec struct {
// solely to ensure that the pods it selects are isolated by default)
// +optional
// +listType=atomic
// +k8s:alpha(since: "1.36")=+k8s:optional
Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty" protobuf:"bytes,2,rep,name=ingress"`
// egress is a list of egress rules to be applied to the selected pods. Outgoing traffic
@@ -88,6 +89,7 @@ type NetworkPolicySpec struct {
// This field is beta-level in 1.8
// +optional
// +listType=atomic
// +k8s:alpha(since: "1.36")=+k8s:optional
Egress []NetworkPolicyEgressRule `json:"egress,omitempty" protobuf:"bytes,3,rep,name=egress"`
// policyTypes is a list of rule types that the NetworkPolicy relates to.
@@ -124,6 +126,7 @@ type NetworkPolicyIngressRule struct {
// allows traffic only if the traffic matches at least one item in the from list.
// +optional
// +listType=atomic
// +k8s:alpha(since: "1.36")=+k8s:optional
From []NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,rep,name=from"`
}
@@ -147,6 +150,7 @@ type NetworkPolicyEgressRule struct {
// allows traffic only if the traffic matches at least one item in the to list.
// +optional
// +listType=atomic
// +k8s:alpha(since: "1.36")=+k8s:optional
To []NetworkPolicyPeer `json:"to,omitempty" protobuf:"bytes,2,rep,name=to"`
}
@@ -178,6 +182,8 @@ type NetworkPolicyPort struct {
type IPBlock struct {
// cidr is a string representing the IPBlock
// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
CIDR string `json:"cidr" protobuf:"bytes,1,name=cidr"`
// except is a slice of CIDRs that should not be included within an IPBlock
@@ -212,6 +218,7 @@ type NetworkPolicyPeer struct {
// ipBlock defines policy on a particular IPBlock. If this field is set then
// neither of the other fields can be.
// +optional
// +k8s:alpha(since: "1.36")=+k8s:optional
IPBlock *IPBlock `json:"ipBlock,omitempty" protobuf:"bytes,3,rep,name=ipBlock"`
}
@@ -583,6 +590,7 @@ type IngressClassSpec struct {
// configuration for the controller. This is optional if the controller does
// not require extra parameters.
// +optional
// +k8s:alpha(since: "1.36")=+k8s:optional
Parameters *IngressClassParametersReference `json:"parameters,omitempty" protobuf:"bytes,2,opt,name=parameters"`
}
@@ -605,9 +613,13 @@ type IngressClassParametersReference struct {
APIGroup *string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=aPIGroup"`
// kind is the type of resource being referenced.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
// name is the name of resource being referenced.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
// scope represents if this refers to a cluster or namespace scoped resource.
@@ -657,7 +669,7 @@ type IPAddress struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// spec is the desired state of the IPAddress.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
// +required
Spec IPAddressSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}
@@ -666,6 +678,8 @@ type IPAddressSpec struct {
// ParentRef references the resource that an IPAddress is attached to.
// An IPAddress must reference a parent object.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
// +k8s:alpha(since: "1.36")=+k8s:immutable
ParentRef *ParentReference `json:"parentRef,omitempty" protobuf:"bytes,1,opt,name=parentRef"`
}
@@ -676,12 +690,14 @@ type ParentReference struct {
Group string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
// Resource is the resource of the object being referenced.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
Resource string `json:"resource,omitempty" protobuf:"bytes,2,opt,name=resource"`
// Namespace is the namespace of the object being referenced.
// +optional
Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
// Name is the name of the object being referenced.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
Name string `json:"name,omitempty" protobuf:"bytes,4,opt,name=name"`
}