aws

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: MIT Imports: 10 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, rc *RunConfig) (*Client, error)

func (*Client) CreateAMI

func (c *Client) CreateAMI(instanceID string, amiName string) (string, error)

func (*Client) RunInstanceRefresh

func (c *Client) RunInstanceRefresh() error

func (*Client) UpdateLaunchTemplate

func (c *Client) UpdateLaunchTemplate() error

type RunConfig

type RunConfig struct {
	AMIName       string
	ImageID       string
	InstanceID    string
	GroupName     string
	UpdateTimeout time.Duration
	UpdateTick    time.Duration
}

Jump to

Keyboard shortcuts

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