struct Kubernetes::IngressClassParametersReference

Overview

IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.

Included Modules

Defined in:

generated/models/io_k8s_api_networking_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 api_group : String | Nil #

apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.


def api_group=(api_group : String | Nil) #

apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.


def kind : String | Nil #

kind is the type of resource being referenced.


def kind=(kind : String | Nil) #

kind is the type of resource being referenced.


def name : String | Nil #

name is the name of resource being referenced.


def name=(name : String | Nil) #

name is the name of resource being referenced.


def namespace : String | Nil #

namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".


def namespace=(namespace : String | Nil) #

namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".


def scope : String | Nil #

scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace".


def scope=(scope : String | Nil) #

scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace".