class Pyrite::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.

Defined in:

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

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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


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

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


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

Instance Method Detail

def hostnames : Array(String)? #

def hostnames=(hostnames : Array(String)?) #

def ip : String? #

def ip=(ip : String?) #