Package com.google.container.v1
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 TypeMethodDescriptiongetHosts(int index) HostConfig configures a list of host-specific configurations for the server.intHostConfig 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.ByteStringDefines 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
isInitializedMethods 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
List<ContainerdConfig.RegistryHostConfig.HostConfig> 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
List<? extends ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder> 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;
-