Documentation ¶
Index ¶
- Constants
- type Scaleway
- func (s *Scaleway) Configuration(ctx context.Context) ([]byte, error)
- func (s *Scaleway) ConfigurationNetwork(metadataConfig *instance.Metadata, confProvider config.Provider) (config.Provider, error)
- func (s *Scaleway) ExternalIPs(ctx context.Context) (addrs []net.IP, err error)
- func (s *Scaleway) Hostname(ctx context.Context) (hostname []byte, err error)
- func (s *Scaleway) KernelArgs() procfs.Parameters
- func (s *Scaleway) Mode() runtime.Mode
- func (s *Scaleway) Name() string
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 ¶
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 ¶
ExternalIPs implements the runtime.Platform interface.
func (*Scaleway) KernelArgs ¶
func (s *Scaleway) KernelArgs() procfs.Parameters
KernelArgs implements the runtime.Platform interface.
Click to show internal directories.
Click to hide internal directories.