aws

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceStorage

type InstanceStorage struct {
	SizePerDiskGB int64 `json:"SizePerDiskGB"`
	Count         int32 `json:"Count"`
	Type          string
}

InstanceStorage is a struct that contains the information of the storage of an AWS instance type

type InstanceType

type InstanceType struct {
	InstanceType    string          `json:"InstanceType"`
	VCPU            int32           `json:"VCPU"`
	MemoryMb        int32           `json:"MemoryMb"`
	InstanceStorage InstanceStorage `json:"InstanceStorage"`
}

InstanceType is a struct that contains the information of an AWS instance type

func GetAWSInstanceType

func GetAWSInstanceType(instanceTypeStr string) InstanceType

GetAWSInstanceType returns the information of an AWS instance type

Jump to

Keyboard shortcuts

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