Show / Hide Table of Contents

Class HostConfig

HostConfig configures the registry host under a given Server.

Inheritance
object
HostConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Container.v1beta1.Data
Assembly: Google.Apis.Container.v1beta1.dll
Syntax
public class HostConfig : IDirectResponseSchema

Properties

Ca

CA configures the registry host certificate.

Declaration
[JsonProperty("ca")]
public virtual IList<CertificateConfig> Ca { get; set; }
Property Value
Type Description
IList<CertificateConfig>

Capabilities

Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.

Declaration
[JsonProperty("capabilities")]
public virtual IList<string> Capabilities { get; set; }
Property Value
Type Description
IList<string>

Client

Client configures the registry host client certificate and key.

Declaration
[JsonProperty("client")]
public virtual IList<CertificateConfigPair> Client { get; set; }
Property Value
Type Description
IList<CertificateConfigPair>

DialTimeout

Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an s suffix.

Declaration
[JsonProperty("dialTimeout")]
public virtual object DialTimeout { get; set; }
Property Value
Type Description
object

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Header

Header configures the registry host headers.

Declaration
[JsonProperty("header")]
public virtual IList<RegistryHeader> Header { get; set; }
Property Value
Type Description
IList<RegistryHeader>

Host

Host configures the registry host/mirror. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000

Declaration
[JsonProperty("host")]
public virtual string Host { get; set; }
Property Value
Type Description
string

OverridePath

OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.

Declaration
[JsonProperty("overridePath")]
public virtual bool? OverridePath { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX