struct
Kubernetes::ServiceBackendPort
- Kubernetes::ServiceBackendPort
- Struct
- Value
- Object
Overview
ServiceBackendPort is the service port being referenced.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_networking_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#name : String | Nil
name is the name of the port on the Service.
-
#name=(name : String | Nil)
name is the name of the port on the Service.
-
#number : Int32 | Nil
number is the numerical port number (e.g.
-
#number=(number : Int32 | Nil)
number is the numerical port number (e.g.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
name is the name of the port on the Service. This is a mutually exclusive setting with "Number".
name is the name of the port on the Service. This is a mutually exclusive setting with "Number".
number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".
number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".