Documentation ¶
Overview ¶
Package aws contains the AWS implementation of the [platform.Platform].
Index ¶
- type AWS
- func (a *AWS) Configuration(ctx context.Context, r state.State) ([]byte, error)
- func (a *AWS) KernelArgs() procfs.Parameters
- func (a *AWS) Mode() runtime.Mode
- func (a *AWS) Name() string
- func (a *AWS) NetworkConfiguration(ctx context.Context, _ state.State, ch chan<- *runtime.PlatformNetworkConfig) error
- func (a *AWS) ParseMetadata(metadata *MetadataConfig) (*runtime.PlatformNetworkConfig, error)
- type MetadataConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
AWS is the concrete type that implements the runtime.Platform interface.
func (*AWS) Configuration ¶
Configuration implements the runtime.Platform interface.
func (*AWS) KernelArgs ¶
func (a *AWS) KernelArgs() procfs.Parameters
KernelArgs implements the runtime.Platform interface.
func (*AWS) NetworkConfiguration ¶
func (a *AWS) NetworkConfiguration(ctx context.Context, _ state.State, ch chan<- *runtime.PlatformNetworkConfig) error
NetworkConfiguration implements the runtime.Platform interface.
func (*AWS) ParseMetadata ¶
func (a *AWS) ParseMetadata(metadata *MetadataConfig) (*runtime.PlatformNetworkConfig, error)
ParseMetadata converts AWS platform metadata into platform network config.
type MetadataConfig ¶
type MetadataConfig struct { Hostname string `json:"hostname,omitempty"` InstanceID string `json:"instance-id,omitempty"` InstanceType string `json:"instance-type,omitempty"` InstanceLifeCycle string `json:"instance-life-cycle,omitempty"` PublicIPv4 string `json:"public-ipv4,omitempty"` PublicIPv6 string `json:"ipv6,omitempty"` Region string `json:"region,omitempty"` Zone string `json:"zone,omitempty"` }
MetadataConfig represents a metadata AWS instance.
Click to show internal directories.
Click to hide internal directories.