host

package
v21.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(ctx context.Context, svc iaas.Service, all bool) (abstract.HostList, fail.Error)

List returns a list of available hosts

func Load

func Load(ctx context.Context, svc iaas.Service, ref string) (_ resources.Host, err fail.Error)

Load loads the metadata of host and returns an instance of resources.Host

func New

func New(svc iaas.Service) (_ resources.Host, err fail.Error)

New creates an instance of resources.Host

Types

This section is empty.

Jump to

Keyboard shortcuts

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