HostConfig class
HostConfig configures the registry host under a given Server.
Constructors
-
HostConfig({List<
CertificateConfig> ? ca, List<String> ? capabilities, List<CertificateConfigPair> ? client, String? dialTimeout, List<RegistryHeader> ? header, String? host, bool? overridePath}) - HostConfig.fromJson(Map json_)
Properties
-
ca
↔ List<
CertificateConfig> ? -
CA configures the registry host certificate.
getter/setter pair
-
capabilities
↔ List<
String> ? -
Capabilities represent the capabilities of the registry host, specifying
what operations a host is capable of performing.
getter/setter pair
-
client
↔ List<
CertificateConfigPair> ? -
Client configures the registry host client certificate and key.
getter/setter pair
- dialTimeout ↔ String?
-
Specifies the maximum duration allowed for a connection attempt to
complete.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
header
↔ List<
RegistryHeader> ? -
Header configures the registry host headers.
getter/setter pair
- host ↔ String?
-
Host configures the registry host/mirror.
getter/setter pair
- overridePath ↔ bool?
-
OverridePath is used to indicate the host's API root endpoint is defined
in the URL path rather than by the API specification.
getter/setter pair
- 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, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited