aws

package
v22.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Overview

Package aws contains the implementation of stack for Amazon

Index

Constants

This section is empty.

Variables

View Source
var InstanceTypes = map[string]*InstanceType{}/* 196 elements not displayed */

InstanceTypes is a map of EC2 resources.

Functions

func IsOperation

func IsOperation(op interface{}, name string, fieldType reflect.Type) bool

IsOperation checks if 'op' interface has a field with 'name' of type 'fieldType'

func New

New creates and initializes an AWS stack

func NullStack

func NullStack() *stack

NullStack is not exposed through API, is needed essentially by tests

Types

type IPInSubnet

type IPInSubnet struct {
	Subnet   string
	Name     string
	ID       string
	IP       string
	PublicIP string
}

IPInSubnet ...

type InstanceType

type InstanceType struct {
	InstanceType string
	VCPU         int64
	MemoryMb     int64
	GPU          int64
	MaxPods      int64
}

InstanceType is an EC2 instance type.

type OpContext

type OpContext struct {
	ProjectID    string
	DesiredState string
}

OpContext ...

type Result

type Result struct {
	State string
	Error error
	Done  bool
}

Result ...

Jump to

Keyboard shortcuts

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