struct
Kubernetes::ServiceReference
- Kubernetes::ServiceReference
- Struct
- Value
- Object
Overview
ServiceReference holds a reference to Service.legacy.k8s.io
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_admissionregistration_v1.crgenerated/models/io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1.cr
generated/models/io_k8s_kube-aggregator_pkg_apis_apiregistration_v1.cr
Constructors
- .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 service
-
#name=(name : String | Nil)
Name is the name of the service
-
#namespace : String | Nil
Namespace is the namespace of the service
-
#namespace=(namespace : String | Nil)
Namespace is the namespace of the service
-
#path : String | Nil
path is an optional URL path at which the webhook will be contacted.
-
#path=(path : String | Nil)
path is an optional URL path at which the webhook will be contacted.
-
#port : Int32 | Nil
If specified, the port on the service that hosting webhook.
-
#port=(port : Int32 | Nil)
If specified, the port on the service that hosting webhook.
Constructor Detail
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#
Macro Detail
macro field(name, type = nil, **options, &block)
#
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
def path=(path : String | Nil)
#
path is an optional URL path at which the webhook will be contacted.