Documentation ¶
Overview ¶
Package scaleway provides the Scaleway platform implementation.
Index ¶
- Constants
- type Scaleway
- func (s *Scaleway) Configuration(ctx context.Context, r state.State) ([]byte, error)
- func (s *Scaleway) KernelArgs(string) procfs.Parameters
- func (s *Scaleway) Mode() runtime.Mode
- func (s *Scaleway) Name() string
- func (s *Scaleway) NetworkConfiguration(ctx context.Context, _ state.State, ch chan<- *runtime.PlatformNetworkConfig) error
- func (s *Scaleway) ParseMetadata(metadata *instance.Metadata) (*runtime.PlatformNetworkConfig, error)
Constants ¶
View Source
const ( // ScalewayMetadataEndpoint is the local Scaleway endpoint. ScalewayMetadataEndpoint = "http://169.254.42.42/conf?format=json" // ScalewayUserDataEndpoint is the local Scaleway endpoint for the config. ScalewayUserDataEndpoint = "http://169.254.42.42/user_data/cloud-init" )
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 ¶
Configuration implements the runtime.Platform interface.
func (*Scaleway) KernelArgs ¶
func (s *Scaleway) KernelArgs(string) procfs.Parameters
KernelArgs implements the runtime.Platform interface.
func (*Scaleway) NetworkConfiguration ¶
func (s *Scaleway) NetworkConfiguration(ctx context.Context, _ state.State, ch chan<- *runtime.PlatformNetworkConfig) error
NetworkConfiguration implements the runtime.Platform interface.
func (*Scaleway) ParseMetadata ¶
func (s *Scaleway) ParseMetadata(metadata *instance.Metadata) (*runtime.PlatformNetworkConfig, error)
ParseMetadata converts Scaleway platform metadata into platform network config.
Click to show internal directories.
Click to hide internal directories.