Package com.google.container.v1
Interface ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContainerdConfig.RegistryHostConfig.HostConfig,ContainerdConfig.RegistryHostConfig.HostConfig.Builder
- Enclosing class:
- ContainerdConfig.RegistryHostConfig
public static interface ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCa(int index) CA configures the registry host certificate.intCA configures the registry host certificate.CA configures the registry host certificate.getCaOrBuilder(int index) CA configures the registry host certificate.CA configures the registry host certificate.getCapabilities(int index) Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.intCapabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.intgetCapabilitiesValue(int index) Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.getClient(int index) Client configures the registry host client certificate and key.intClient configures the registry host client certificate and key.Client configures the registry host client certificate and key.getClientOrBuilder(int index) Client configures the registry host client certificate and key.Client configures the registry host client certificate and key.com.google.protobuf.DurationSpecifies the maximum duration allowed for a connection attempt to complete.com.google.protobuf.DurationOrBuilderSpecifies the maximum duration allowed for a connection attempt to complete.getHeader(int index) Header configures the registry host headers.intHeader configures the registry host headers.Header configures the registry host headers.getHeaderOrBuilder(int index) Header configures the registry host headers.Header configures the registry host headers.getHost()Host configures the registry host/mirror.com.google.protobuf.ByteStringHost configures the registry host/mirror.booleanOverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification.booleanSpecifies the maximum duration allowed for a connection attempt to complete.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getHost
String getHost()Host configures the registry host/mirror. It supports fully qualified domain names (FQDNs) and IP addresses. Specifying scheme, port or path is supported. Scheme can only be http or https. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `https://my.customdomain.com/path` - `10.0.1.2:5000`
string host = 1;- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()Host configures the registry host/mirror. It supports fully qualified domain names (FQDNs) and IP addresses. Specifying scheme, port or path is supported. Scheme can only be http or https. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `https://my.customdomain.com/path` - `10.0.1.2:5000`
string host = 1;- Returns:
- The bytes for host.
-
getCapabilitiesList
List<ContainerdConfig.RegistryHostConfig.HostCapability> getCapabilitiesList()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.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Returns:
- A list containing the capabilities.
-
getCapabilitiesCount
int getCapabilitiesCount()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.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Returns:
- The count of capabilities.
-
getCapabilities
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.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Parameters:
index- The index of the element to return.- Returns:
- The capabilities at the given index.
-
getCapabilitiesValueList
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.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Returns:
- A list containing the enum numeric values on the wire for capabilities.
-
getCapabilitiesValue
int getCapabilitiesValue(int index) 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.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of capabilities at the given index.
-
getOverridePath
boolean getOverridePath()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.
bool override_path = 3;- Returns:
- The overridePath.
-
getHeaderList
List<ContainerdConfig.RegistryHostConfig.RegistryHeader> getHeaderList()Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4; -
getHeader
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4; -
getHeaderCount
int getHeaderCount()Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4; -
getHeaderOrBuilderList
List<? extends ContainerdConfig.RegistryHostConfig.RegistryHeaderOrBuilder> getHeaderOrBuilderList()Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4; -
getHeaderOrBuilder
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4; -
getCaList
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5; -
getCa
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5; -
getCaCount
int getCaCount()CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5; -
getCaOrBuilderList
List<? extends ContainerdConfig.RegistryHostConfig.CertificateConfigOrBuilder> getCaOrBuilderList()CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5; -
getCaOrBuilder
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5; -
getClientList
List<ContainerdConfig.RegistryHostConfig.CertificateConfigPair> getClientList()Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6; -
getClient
Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6; -
getClientCount
int getClientCount()Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6; -
getClientOrBuilderList
List<? extends ContainerdConfig.RegistryHostConfig.CertificateConfigPairOrBuilder> getClientOrBuilderList()Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6; -
getClientOrBuilder
Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6; -
hasDialTimeout
boolean hasDialTimeout()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.
.google.protobuf.Duration dial_timeout = 7;- Returns:
- Whether the dialTimeout field is set.
-
getDialTimeout
com.google.protobuf.Duration getDialTimeout()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.
.google.protobuf.Duration dial_timeout = 7;- Returns:
- The dialTimeout.
-
getDialTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getDialTimeoutOrBuilder()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.
.google.protobuf.Duration dial_timeout = 7;
-