Documentation ¶
Overview ¶
Package opennebula provides the OpenNebula platform implementation.
Index ¶
- type OpenNebula
- func (o *OpenNebula) Configuration(ctx context.Context, r state.State) (machineConfig []byte, err error)
- func (o *OpenNebula) KernelArgs(string) procfs.Parameters
- func (o *OpenNebula) Mode() runtime.Mode
- func (o *OpenNebula) Name() string
- func (o *OpenNebula) NetworkConfiguration(ctx context.Context, st state.State, ch chan<- *runtime.PlatformNetworkConfig) error
- func (o *OpenNebula) ParseMetadata(st state.State, oneContextPlain []byte) (*runtime.PlatformNetworkConfig, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenNebula ¶
type OpenNebula struct{}
OpenNebula is the concrete type that implements the runtime.Platform interface.
func (*OpenNebula) Configuration ¶
func (o *OpenNebula) Configuration(ctx context.Context, r state.State) (machineConfig []byte, err error)
Configuration implements the runtime.Platform interface.
func (*OpenNebula) KernelArgs ¶
func (o *OpenNebula) KernelArgs(string) procfs.Parameters
KernelArgs implements the runtime.Platform interface.
func (*OpenNebula) Mode ¶
func (o *OpenNebula) Mode() runtime.Mode
Mode implements the runtime.Platform interface.
func (*OpenNebula) Name ¶
func (o *OpenNebula) Name() string
Name implements the runtime.Platform interface.
func (*OpenNebula) NetworkConfiguration ¶
func (o *OpenNebula) NetworkConfiguration(ctx context.Context, st state.State, ch chan<- *runtime.PlatformNetworkConfig) error
NetworkConfiguration implements the runtime.Platform interface.
func (*OpenNebula) ParseMetadata ¶
func (o *OpenNebula) ParseMetadata(st state.State, oneContextPlain []byte) (*runtime.PlatformNetworkConfig, error)
ParseMetadata converts opennebula metadata to platform network config.
Click to show internal directories.
Click to hide internal directories.