ecs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*ecs.Client
}

Client is the ess client

func New

func New(c sdk.Client) *Client

New returns a new ess client

func (*Client) GetImageByID

func (c *Client) GetImageByID(id string) (Image, error)

GetImageByID returns image object with the given image id

func (*Client) GetImageNameByID

func (c *Client) GetImageNameByID(id string) (string, error)

GetImageNameByID returns name of the image

type Image

type Image struct {
	ImageID   string
	ImageName string
	OSName    string
	OSType    string
	SizeGB    int
}

Image struct

Jump to

Keyboard shortcuts

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