ec2api

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Code        ec2.EventCode `json:"Code"`
	InstanceID  string        `json:"-"`
	NotBefore   time.Time     `json:"NotBefore"`
	NotAfter    time.Time     `json:"NotAfter"`
	Description string        `json:"Description"`
}

Event ...

type Events

type Events []Event

Events ...

type Mainte

type Mainte struct {
	Client      ec2iface.ClientAPI
	InstanceIds []string
}

Mainte ...

func (Mainte) Fetch added in v0.2.0

func (mt Mainte) Fetch(ctx context.Context) (evs events.Events, err error)

Fetch ... Call API and get specified events

Jump to

Keyboard shortcuts

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