Google Kubernetes Engine v1 API - Class ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig (3.37.0)

public sealed class ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig : IMessage<ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig>, IEquatable<ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig>, IDeepCloneable<ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig.

HostConfig configures the registry host under a given Server.

Inheritance

object > ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

HostConfig()

public HostConfig()

HostConfig(HostConfig)

public HostConfig(ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig other)
Parameter
Name Description
other ContainerdConfigTypesRegistryHostConfigTypesHostConfig

Properties

Ca

public RepeatedField<ContainerdConfig.Types.RegistryHostConfig.Types.CertificateConfig> Ca { get; }

CA configures the registry host certificate.

Property Value
Type Description
RepeatedFieldContainerdConfigTypesRegistryHostConfigTypesCertificateConfig

Capabilities

public RepeatedField<ContainerdConfig.Types.RegistryHostConfig.Types.HostCapability> Capabilities { get; }

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.

Property Value
Type Description
RepeatedFieldContainerdConfigTypesRegistryHostConfigTypesHostCapability

Client

public RepeatedField<ContainerdConfig.Types.RegistryHostConfig.Types.CertificateConfigPair> Client { get; }

Client configures the registry host client certificate and key.

Property Value
Type Description
RepeatedFieldContainerdConfigTypesRegistryHostConfigTypesCertificateConfigPair

DialTimeout

public Duration DialTimeout { get; set; }

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.

Property Value
Type Description
Duration

Header

public RepeatedField<ContainerdConfig.Types.RegistryHostConfig.Types.RegistryHeader> Header { get; }

Header configures the registry host headers.

Property Value
Type Description
RepeatedFieldContainerdConfigTypesRegistryHostConfigTypesRegistryHeader

Host

public string Host { get; set; }

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
Property Value
Type Description
string

OverridePath

public bool OverridePath { get; set; }

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.

Property Value
Type Description
bool