Documentation ¶
Index ¶
- Constants
- type Scaleway
- func (s *Scaleway) Configuration(ctx context.Context) ([]byte, error)
- func (s *Scaleway) KernelArgs() procfs.Parameters
- func (s *Scaleway) Mode() runtime.Mode
- func (s *Scaleway) Name() string
- func (s *Scaleway) NetworkConfiguration(ctx context.Context, ch chan<- *runtime.PlatformNetworkConfig) error
- func (s *Scaleway) ParseMetadata(metadataConfig *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() procfs.Parameters
KernelArgs implements the runtime.Platform interface.
func (*Scaleway) NetworkConfiguration ¶ added in v1.0.0
func (s *Scaleway) NetworkConfiguration(ctx context.Context, ch chan<- *runtime.PlatformNetworkConfig) error
NetworkConfiguration implements the runtime.Platform interface.
func (*Scaleway) ParseMetadata ¶ added in v1.0.0
func (s *Scaleway) ParseMetadata(metadataConfig *instance.Metadata) (*runtime.PlatformNetworkConfig, error)
ParseMetadata converts Scaleway met.
Click to show internal directories.
Click to hide internal directories.