Kubernetes::ServiceReference
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
ServiceReference holds a reference to Service.legacy.k8s.io
Constructors
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)
Instance methods
path is an optional URL path at which the webhook will be contacted.
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).
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion