akamai

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package akamai contains the Akamai implementation of the [platform.Platform].

Index

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

func (a *Akamai) Configuration(ctx context.Context, r state.State) ([]byte, error)

Configuration implements the platform.Platform interface.

func (*Akamai) KernelArgs

func (a *Akamai) KernelArgs(string) procfs.Parameters

KernelArgs implements the runtime.Platform interface.

func (*Akamai) Mode

func (a *Akamai) Mode() runtime.Mode

Mode implements the platform.Platform interface.

func (*Akamai) Name

func (a *Akamai) Name() string

Name implements the platform.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.

Jump to

Keyboard shortcuts

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