scaleway

package
v0.13.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ScalewayMetadataEndpoint is the local Scaleway endpoint.
	ScalewayMetadataEndpoint = "http://169.254.42.42/conf?format=json"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scaleway

type Scaleway struct{}

Scaleway is the concrete type that implements the runtime.Platform interface.

func (*Scaleway) Configuration

func (s *Scaleway) Configuration(ctx context.Context) ([]byte, error)

Configuration implements the runtime.Platform interface.

func (*Scaleway) ConfigurationNetwork

func (s *Scaleway) ConfigurationNetwork(metadataConfig *instance.Metadata, confProvider config.Provider) (config.Provider, error)

ConfigurationNetwork implements the network configuration interface.

func (*Scaleway) ExternalIPs

func (s *Scaleway) ExternalIPs(ctx context.Context) (addrs []net.IP, err error)

ExternalIPs implements the runtime.Platform interface.

func (*Scaleway) Hostname

func (s *Scaleway) Hostname(ctx context.Context) (hostname []byte, err error)

Hostname implements the runtime.Platform interface.

func (*Scaleway) KernelArgs

func (s *Scaleway) KernelArgs() procfs.Parameters

KernelArgs implements the runtime.Platform interface.

func (*Scaleway) Mode

func (s *Scaleway) Mode() runtime.Mode

Mode implements the runtime.Platform interface.

func (*Scaleway) Name

func (s *Scaleway) Name() string

Name implements the runtime.Platform interface.

Jump to

Keyboard shortcuts

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