本文整理了Java中io.cattle.platform.core.model.Instance.getHostname()
方法的一些代码示例,展示了Instance.getHostname()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Instance.getHostname()
方法的具体详情如下:
包路径:io.cattle.platform.core.model.Instance
类名称:Instance
方法名:getHostname
[英]Getter for cattle.instance.hostname
.
[中]cattle.instance.hostname
的Getter。
代码示例来源:origin: rancher/cattle
public static String lookup(boolean local, Instance instance, String address, Network network) {
return lookup(local, instance.getHostname(), instance.getDomain(), address, network.getDomain());
}
代码示例来源:origin: rancher/cattle
.withDefault(Collections.EMPTY_MAP).as(Map.class);
this.labels = labels;
this.hostname = instance.getHostname();
this.ports = DataAccessor.fields(instance)
.withKey(InstanceConstants.FIELD_PORTS).withDefault(Collections.EMPTY_LIST)
代码示例来源:origin: rancher/cattle
setMemoryMb(from.getMemoryMb());
setImageId(from.getImageId());
setHostname(from.getHostname());
setZoneId(from.getZoneId());
setInstanceTriggeredStop(from.getInstanceTriggeredStop());
内容来源于网络,如有侵权,请联系作者删除!