aws

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package aws collects AWS-specific configuration.

Package aws collects AWS-specific configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseDomain added in v0.8.0

func GetBaseDomain() (string, error)

GetBaseDomain returns a base domain chosen from among the account's public routes.

func GetPublicZone added in v0.13.0

func GetPublicZone(name string) (*route53.HostedZone, error)

GetPublicZone returns a public route53 zone that matches the name.

func GetSession added in v0.11.0

func GetSession() (*session.Session, error)

GetSession returns an AWS session by checking credentials and, if no creds are found, asks for them and stores them on disk in a config file

func IsForbidden added in v0.8.0

func IsForbidden(err error) bool

IsForbidden returns true if and only if the input error is an HTTP 403 error from the AWS API.

func Platform

func Platform() (*aws.Platform, error)

Platform collects AWS-specific configuration.

func ValidateCreds added in v0.13.0

func ValidateCreds(ssn *session.Session) error

ValidateCreds will try to create an AWS session, and also verify that the current credentials are sufficient to perform an installation, and that they can be used for cluster runtime as either capable of creating new credentials for components that interact with the cloud or being able to be passed through as-is to the components that need cloud credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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