key

package
v0.6.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Scope       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"`
	// contains filtered or unexported fields
}

func NewKey

func NewKey(scope string, e2 *ec2.Client) (k Key, err error)

func (*Key) Create

func (k *Key) Create() (id string, err error)

func (*Key) Delete

func (k *Key) Delete() (err error)

func (Key) Wait

func (k Key) Wait() (err error)

func (Key) WithEC2

func (k Key) WithEC2(e *ec2.Client) Key

Jump to

Keyboard shortcuts

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