public static interface ContainerdConfig.RegistryHostConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getHosts(int index)
public abstract ContainerdConfig.RegistryHostConfig.HostConfig getHosts(int index)HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.
repeated .google.container.v1beta1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerdConfig.RegistryHostConfig.HostConfig |
|
getHostsCount()
public abstract 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.v1beta1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getHostsList()
public abstract 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.v1beta1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
| Returns | |
|---|---|
| Type | Description |
List<HostConfig> |
|
getHostsOrBuilder(int index)
public abstract ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder getHostsOrBuilder(int index)HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.
repeated .google.container.v1beta1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder |
|
getHostsOrBuilderList()
public abstract 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.v1beta1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.container.v1beta1.ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder> |
|
getServer()
public abstract 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. Wildcards are NOT supported. Examples:
- my.customdomain.com
- 10.0.1.2:5000
string server = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The server. |
getServerBytes()
public abstract 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. Wildcards are NOT supported. Examples:
- my.customdomain.com
- 10.0.1.2:5000
string server = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for server. |