class K8S::Api::Core::V1::HostAlias

Overview

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

Included Modules

Defined in:

versions/v1.13/api/core/v1/host_alias.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, hostnames : Array? = nil, ip : String? = nil) #

[View source]

Instance Method Detail

def hostnames : Array(String)? #

[View source]
def hostnames=(hostnames : Array(String)?) #

[View source]
def ip : String? #

[View source]
def ip=(ip : String?) #

[View source]