Interface ContainerdConfig.RegistryHostConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ContainerdConfig.RegistryHostConfig, ContainerdConfig.RegistryHostConfig.Builder
Enclosing class:
ContainerdConfig

public static interface ContainerdConfig.RegistryHostConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getHosts(int index)
    HostConfig configures a list of host-specific configurations for the server.
    int
    HostConfig configures a list of host-specific configurations for the server.
    HostConfig configures a list of host-specific configurations for the server.
    getHostsOrBuilder(int index)
    HostConfig configures a list of host-specific configurations for the server.
    HostConfig configures a list of host-specific configurations for the server.
    Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d/<server>/hosts.toml.
    com.google.protobuf.ByteString
    Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d/<server>/hosts.toml.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getServer

      String getServer()
       Defines the host name of the registry server, which will be used to
       create configuration file as /etc/containerd/hosts.d/<server>/hosts.toml.
       It supports fully qualified domain names (FQDN) and IP addresses:
       Specifying port is supported, while scheme and path are NOT supported.
       Wildcards are NOT supported.
       Examples:
       - `my.customdomain.com`
       - `10.0.1.2:5000`
       
      string server = 1;
      Returns:
      The server.
    • getServerBytes

      com.google.protobuf.ByteString getServerBytes()
       Defines the host name of the registry server, which will be used to
       create configuration file as /etc/containerd/hosts.d/<server>/hosts.toml.
       It supports fully qualified domain names (FQDN) and IP addresses:
       Specifying port is supported, while scheme and path are NOT supported.
       Wildcards are NOT supported.
       Examples:
       - `my.customdomain.com`
       - `10.0.1.2:5000`
       
      string server = 1;
      Returns:
      The bytes for server.
    • getHostsList

       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
    • getHosts

       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
    • getHostsCount

      int getHostsCount()
       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
    • getHostsOrBuilderList

       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
    • getHostsOrBuilder

       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;