key

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoKeyFound = fmt.Errorf("no key found")

Functions

func Wait

func Wait(k Key, e2 *ec2.Client) (err error)

Types

type Key

type Key struct {
	Id          string           `json:"id"`
	Name        string           `json:"name"`
	PemName     string           `json:"pem_name"`
	Fingerprint string           `json:"fingerprint"`
	Material    string           `json:"material"`
	Type        ec2types.KeyType `json:"type"`
	Created     time.Time
}

func Get

func Get(name string, e2 *ec2.Client) (k Key, err error)

func New

func New(keyName string, e2 *ec2.Client) (k Key, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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