struct Kubernetes::ServiceReference

Overview

ServiceReference holds a reference to Service.legacy.k8s.io

Included Modules

Defined in:

generated/models/io_k8s_api_admissionregistration_v1.cr
generated/models/io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1.cr
generated/models/io_k8s_kube-aggregator_pkg_apis_apiregistration_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

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 name : String | Nil #

Name is the name of the service


def name=(name : String | Nil) #

Name is the name of the service


def namespace : String | Nil #

Namespace is the namespace of the service


def namespace=(namespace : String | Nil) #

Namespace is the namespace of the service


def path : String | Nil #

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


def path=(path : String | Nil) #

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


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


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