Documentation ¶
Index ¶
- func CheckKeyExistsInEC2(ctx context.Context, ec2API awsapi.EC2, sshKeyName string) error
- func DeleteKeys(ctx context.Context, ec2API awsapi.EC2, clusterName string)
- func LoadKeyByContent(ctx context.Context, key *string, clusterName, ngName string, ...) (string, error)
- func LoadKeyFromFile(ctx context.Context, filePath, clusterName, ngName string, ec2API awsapi.EC2) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckKeyExistsInEC2 ¶
CheckKeyExistsInEC2 returns whether a public ssh key already exists in EC2 or error if it couldn't be checked
func DeleteKeys ¶
DeleteKeys will delete the public SSH key, if it exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.