Documentation ¶
Index ¶
- Constants
- type Openstack
- func (a *Openstack) Configuration(ctx context.Context) ([]byte, error)
- func (a *Openstack) ExternalIPs(ctx context.Context) (addrs []net.IP, err error)
- func (a *Openstack) Hostname(ctx context.Context) (hostname []byte, err error)
- func (a *Openstack) KernelArgs() procfs.Parameters
- func (a *Openstack) Mode() runtime.Mode
- func (a *Openstack) Name() string
Constants ¶
View Source
const ( // OpenstackExternalIPEndpoint is the local Openstack endpoint for the external IP. OpenstackExternalIPEndpoint = "http://169.254.169.254/latest/meta-data/public-ipv4" // OpenstackHostnameEndpoint is the local Openstack endpoint for the hostname. OpenstackHostnameEndpoint = "http://169.254.169.254/latest/meta-data/hostname" // OpenstackUserDataEndpoint is the local Openstack endpoint for the config. OpenstackUserDataEndpoint = "http://169.254.169.254/latest/user-data" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Openstack ¶
type Openstack struct{}
Openstack is the concrete type that implements the runtime.Platform interface.
func (*Openstack) Configuration ¶
Configuration implements the runtime.Platform interface.
func (*Openstack) ExternalIPs ¶
ExternalIPs implements the runtime.Platform interface.
func (*Openstack) KernelArgs ¶
func (a *Openstack) KernelArgs() procfs.Parameters
KernelArgs implements the runtime.Platform interface.
Click to show internal directories.
Click to hide internal directories.