HostAlias class

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

Constructors

HostAlias({List<String>? hostnames, String? ip})
Default constructor.
const
HostAlias.fromJson(Map<String, dynamic> json)
Creates a HostAlias from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hostnames List<String>?
Hostnames for the above IP address.
final
ip String?
IP address of the host file entry.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a HostAlias instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited