key

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 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 {
	Cluster     string           `json:"-"`
	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(cluster 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