client

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKeyExistsInEC2

func CheckKeyExistsInEC2(sshKeyName string, ec2API ec2iface.EC2API) error

CheckKeyExistsInEC2 returns whether a public ssh key already exists in EC2 or error if it couldn't be checked

func DeleteKeys

func DeleteKeys(clusterName string, ec2API ec2iface.EC2API)

DeleteKeys will delete the public SSH key, if it exists

func LoadKeyByContent

func LoadKeyByContent(key *string, clusterName, ngName string, ec2API ec2iface.EC2API) (string, error)

LoadKeyByContent loads and imports an SSH public key into EC2 if it doesn't exist

func LoadKeyFromFile

func LoadKeyFromFile(filePath, clusterName, ngName string, ec2API ec2iface.EC2API) (string, error)

LoadKeyFromFile loads and imports a public SSH key from a file provided a path to that file. returns the name of the key

Types

This section is empty.

Jump to

Keyboard shortcuts

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