Documentation ¶
Overview ¶
Package akamai contains the Akamai implementation of the [platform.Platform].
Index ¶
- type Akamai
- func (a *Akamai) Configuration(ctx context.Context, r state.State) ([]byte, error)
- func (a *Akamai) KernelArgs(string) procfs.Parameters
- func (a *Akamai) Mode() runtime.Mode
- func (a *Akamai) Name() string
- func (a *Akamai) NetworkConfiguration(ctx context.Context, _ state.State, ch chan<- *runtime.PlatformNetworkConfig) error
- func (a *Akamai) ParseMetadata(metadata *akametadata.InstanceData, ...) (*runtime.PlatformNetworkConfig, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Akamai ¶
type Akamai struct{}
Akamai is the concrete type that implements the platform.Platform interface.
func (*Akamai) Configuration ¶
Configuration implements the platform.Platform interface.
func (*Akamai) KernelArgs ¶
func (a *Akamai) KernelArgs(string) procfs.Parameters
KernelArgs implements the runtime.Platform interface.
func (*Akamai) NetworkConfiguration ¶
func (a *Akamai) NetworkConfiguration(ctx context.Context, _ state.State, ch chan<- *runtime.PlatformNetworkConfig) error
NetworkConfiguration implements the runtime.Platform interface.
func (*Akamai) ParseMetadata ¶
func (a *Akamai) ParseMetadata(metadata *akametadata.InstanceData, interfaceAddresses *akametadata.NetworkData) (*runtime.PlatformNetworkConfig, error)
ParseMetadata converts Akamai platform metadata into platform network config.
Click to show internal directories.
Click to hide internal directories.