class Pyrite::Api::Core::V1::HostAlias
- Pyrite::Api::Core::V1::HostAlias
- Pyrite::Kubernetes::Spec
- Reference
- Object
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.crConstructors
-
.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.
-
.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.
- .new(*, hostnames : Array? = nil, ip : String? = nil)
Instance Method Summary
- #hostnames : Array(String)?
- #hostnames=(hostnames : Array(String)?)
- #ip : String?
- #ip=(ip : String?)
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.