opennebula

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package opennebula provides the OpenNebula platform implementation.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL