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 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

       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

      List<Integer> 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

       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

       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

       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

       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

       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;