本文整理汇总了Java中org.osc.sdk.manager.element.BootStrapInfoProviderElement类的典型用法代码示例。如果您正苦于以下问题:Java BootStrapInfoProviderElement类的具体用法?Java BootStrapInfoProviderElement怎么用?Java BootStrapInfoProviderElement使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BootStrapInfoProviderElement类属于org.osc.sdk.manager.element包,在下文中一共展示了BootStrapInfoProviderElement类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getBootstrapinfo
import org.osc.sdk.manager.element.BootStrapInfoProviderElement; //导入依赖的package包/类
@Override
public ApplianceBootstrapInformationElement getBootstrapinfo(BootStrapInfoProviderElement bootStrapInfo) {
return () -> new ArrayList<BootstrapFileElement>();
}
示例2: getBootstrapinfo
import org.osc.sdk.manager.element.BootStrapInfoProviderElement; //导入依赖的package包/类
/**
* Returns the bootstrap information needed to start up the appliance.
* <p>
* The implementor is free to add any other extra data to the bootstrap information based on what the appliance needs.
* <p>
* For OpenStack, the content will be available as a config drive under /MOUNT_POINT/openstack/content/0000
* <p>
* This is useful, for example, for inserting SSH keys, setting configuration files, or storing data that you
* want to retrieve from within the instance itself. It is intended to provide a minimal amount of launch-time
* personalization.
*
* @param bootStrapInfo the bootstrap data provided by OSC to the plugin,
* the plugin may choose to augment this data.
* @return the appliance bootstrap information
*/
ApplianceBootstrapInformationElement getBootstrapinfo(BootStrapInfoProviderElement bootStrapInfo);