mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
Generated files for endPort promotion
This commit is contained in:
parent
3e7bdbbf30
commit
5351f6c90a
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
@ -11893,7 +11893,7 @@
|
|||||||
"description": "NetworkPolicyPort describes a port to allow traffic on",
|
"description": "NetworkPolicyPort describes a port to allow traffic on",
|
||||||
"properties": {
|
"properties": {
|
||||||
"endPort": {
|
"endPort": {
|
||||||
"description": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Beta state and is enabled by default. It can be disabled using the Feature Gate \"NetworkPolicyEndPort\".",
|
"description": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.",
|
||||||
"format": "int32",
|
"format": "int32",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
@ -716,7 +716,7 @@
|
|||||||
"description": "NetworkPolicyPort describes a port to allow traffic on",
|
"description": "NetworkPolicyPort describes a port to allow traffic on",
|
||||||
"properties": {
|
"properties": {
|
||||||
"endPort": {
|
"endPort": {
|
||||||
"description": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Beta state and is enabled by default. It can be disabled using the Feature Gate \"NetworkPolicyEndPort\".",
|
"description": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.",
|
||||||
"format": "int32",
|
"format": "int32",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
4
pkg/generated/openapi/zz_generated.openapi.go
generated
4
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -28870,7 +28870,7 @@ func schema_k8sio_api_extensions_v1beta1_NetworkPolicyPort(ref common.ReferenceC
|
|||||||
},
|
},
|
||||||
"endPort": {
|
"endPort": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Beta state and is enabled by default. It can be disabled using the Feature Gate \"NetworkPolicyEndPort\".",
|
Description: "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.",
|
||||||
Type: []string{"integer"},
|
Type: []string{"integer"},
|
||||||
Format: "int32",
|
Format: "int32",
|
||||||
},
|
},
|
||||||
@ -33969,7 +33969,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicyPort(ref common.ReferenceCallba
|
|||||||
},
|
},
|
||||||
"endPort": {
|
"endPort": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Beta state and is enabled by default. It can be disabled using the Feature Gate \"NetworkPolicyEndPort\".",
|
Description: "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.",
|
||||||
Type: []string{"integer"},
|
Type: []string{"integer"},
|
||||||
Format: "int32",
|
Format: "int32",
|
||||||
},
|
},
|
||||||
|
@ -769,8 +769,6 @@ message NetworkPolicyPort {
|
|||||||
// should be allowed by the policy. This field cannot be defined if the port field
|
// should be allowed by the policy. This field cannot be defined if the port field
|
||||||
// is not defined or if the port field is defined as a named (string) port.
|
// is not defined or if the port field is defined as a named (string) port.
|
||||||
// The endPort must be equal or greater than port.
|
// The endPort must be equal or greater than port.
|
||||||
// This feature is in Beta state and is enabled by default.
|
|
||||||
// It can be disabled using the Feature Gate "NetworkPolicyEndPort".
|
|
||||||
// +optional
|
// +optional
|
||||||
optional int32 endPort = 3;
|
optional int32 endPort = 3;
|
||||||
}
|
}
|
||||||
|
@ -417,7 +417,7 @@ var map_NetworkPolicyPort = map[string]string{
|
|||||||
"": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.",
|
"": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.",
|
||||||
"protocol": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.",
|
"protocol": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.",
|
||||||
"port": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.",
|
"port": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.",
|
||||||
"endPort": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Beta state and is enabled by default. It can be disabled using the Feature Gate \"NetworkPolicyEndPort\".",
|
"endPort": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (NetworkPolicyPort) SwaggerDoc() map[string]string {
|
func (NetworkPolicyPort) SwaggerDoc() map[string]string {
|
||||||
|
@ -441,8 +441,6 @@ message NetworkPolicyPort {
|
|||||||
// should be allowed by the policy. This field cannot be defined if the port field
|
// should be allowed by the policy. This field cannot be defined if the port field
|
||||||
// is not defined or if the port field is defined as a named (string) port.
|
// is not defined or if the port field is defined as a named (string) port.
|
||||||
// The endPort must be equal or greater than port.
|
// The endPort must be equal or greater than port.
|
||||||
// This feature is in Beta state and is enabled by default.
|
|
||||||
// It can be disabled using the Feature Gate "NetworkPolicyEndPort".
|
|
||||||
// +optional
|
// +optional
|
||||||
optional int32 endPort = 3;
|
optional int32 endPort = 3;
|
||||||
}
|
}
|
||||||
|
@ -245,7 +245,7 @@ var map_NetworkPolicyPort = map[string]string{
|
|||||||
"": "NetworkPolicyPort describes a port to allow traffic on",
|
"": "NetworkPolicyPort describes a port to allow traffic on",
|
||||||
"protocol": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.",
|
"protocol": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.",
|
||||||
"port": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.",
|
"port": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.",
|
||||||
"endPort": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Beta state and is enabled by default. It can be disabled using the Feature Gate \"NetworkPolicyEndPort\".",
|
"endPort": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (NetworkPolicyPort) SwaggerDoc() map[string]string {
|
func (NetworkPolicyPort) SwaggerDoc() map[string]string {
|
||||||
|
Loading…
Reference in New Issue
Block a user