struct

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

name

Name is the name of the service

Source
name=(name : String | Nil)

Name is the name of the service

Source
namespace

Namespace is the namespace of the service

Source
namespace=(namespace : String | Nil)

Namespace is the namespace of the service

Source
path

path is an optional URL path at which the webhook will be contacted.

Source
path=(path : String | Nil)

path is an optional URL path at which the webhook will be contacted.

Source
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).

Source
port=(port : Int32 | Nil)

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).

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source