mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Fix API documentation, 'Port' to 'port'
This commit is contained in:
parent
864cf3e33a
commit
c1076ba05a
10
api/openapi-spec/swagger.json
generated
10
api/openapi-spec/swagger.json
generated
@ -123,7 +123,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
@ -2923,7 +2923,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
@ -16777,7 +16777,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
@ -18144,7 +18144,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
@ -18315,7 +18315,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
|
||||
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
|
@ -335,7 +335,7 @@ type ServiceReference struct {
|
||||
Path *string
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port int32
|
||||
}
|
||||
|
@ -193,7 +193,7 @@ type ServiceReference struct {
|
||||
Path *string
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port int32
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ message ServiceReference {
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
optional int32 port = 4;
|
||||
}
|
||||
|
@ -347,7 +347,7 @@ type ServiceReference struct {
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ var map_ServiceReference = map[string]string{
|
||||
"namespace": "`namespace` is the namespace of the service. Required",
|
||||
"name": "`name` is the name of the service. Required",
|
||||
"path": "`path` is an optional URL path which will be sent in any request to this service.",
|
||||
"port": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
|
||||
"port": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
|
||||
}
|
||||
|
||||
func (ServiceReference) SwaggerDoc() map[string]string {
|
||||
|
@ -86,7 +86,7 @@ message ServiceReference {
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
optional int32 port = 4;
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ type ServiceReference struct {
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ var map_ServiceReference = map[string]string{
|
||||
"namespace": "`namespace` is the namespace of the service. Required",
|
||||
"name": "`name` is the name of the service. Required",
|
||||
"path": "`path` is an optional URL path which will be sent in any request to this service.",
|
||||
"port": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
|
||||
"port": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
|
||||
}
|
||||
|
||||
func (ServiceReference) SwaggerDoc() map[string]string {
|
||||
|
@ -156,7 +156,7 @@ type ServiceReference struct {
|
||||
Path *string
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port int32
|
||||
}
|
||||
|
@ -485,7 +485,7 @@ message ServiceReference {
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
optional int32 port = 4;
|
||||
}
|
||||
|
@ -165,7 +165,7 @@ type ServiceReference struct {
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ type ServiceReference struct {
|
||||
Name string
|
||||
// If specified, the port on the service that hosting the service.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port int32
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ message ServiceReference {
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
optional int32 port = 3;
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ type ServiceReference struct {
|
||||
Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port *int32 `json:"port,omitempty" protobuf:"varint,3,opt,name=port"`
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ message ServiceReference {
|
||||
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
optional int32 port = 3;
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ type ServiceReference struct {
|
||||
Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
|
||||
// If specified, the port on the service that hosting webhook.
|
||||
// Default to 443 for backward compatibility.
|
||||
// `Port` should be a valid port number (1-65535, inclusive).
|
||||
// `port` should be a valid port number (1-65535, inclusive).
|
||||
// +optional
|
||||
Port *int32 `json:"port,omitempty" protobuf:"varint,3,opt,name=port"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user