console

package
v0.0.0-...-9444df9 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2018 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

Package console ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsCredentials

type AwsCredentials struct {
	AccessKeyID     string
	SecretAccessKey string
	SessionToken    string
}

AwsCredentials acts as a credential storage structure across providers

type Browser

type Browser interface {
	Open(url string) error
}

Browser describes an object that interacts with a browser

type Console

type Console struct {
	Profile         string
	Service         string
	SessionDuration string
	PrintKeys       bool
	PrintURL        bool
}

Console wrapper for the console command

func (*Console) OpenConsole

func (c *Console) OpenConsole(browser Browser, sdkHelper SdkHelper) error

OpenConsole opens the console using

type DefaultBrowser

type DefaultBrowser struct{}

DefaultBrowser represents system default browser

func (DefaultBrowser) Open

func (DefaultBrowser) Open(url string) error

Open Opens url in default browser

type DefaultSdkHelper

type DefaultSdkHelper struct{}

DefaultSdkHelper is the default sdk helper implementation

func (DefaultSdkHelper) GetStsClient

func (DefaultSdkHelper) GetStsClient(profile string) (stsiface.STSAPI, error)

type SdkHelper

type SdkHelper interface {
	GetStsClient(profile string) (stsiface.STSAPI, error)
}

SdkHelper describes an object that helps

Jump to

Keyboard shortcuts

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