cloud

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSession

func GetSession() interface{}

Types

type AWS

type AWS struct {
	Session *session.Session
}

func NewAWS

func NewAWS() *AWS

func (*AWS) Bootstrap

func (a *AWS) Bootstrap() error

func (*AWS) GetSession

func (a *AWS) GetSession() interface{}

type Cloud

type Cloud struct {
	Provider CloudProvider
}

func Instance

func Instance() (*Cloud, error)

type CloudProvider

type CloudProvider interface {
	Bootstrap() error
	GetSession() interface{}
}

type GCP

type GCP struct {
}

func NewGCP

func NewGCP() *GCP

func (*GCP) Bootstrap

func (g *GCP) Bootstrap() error

func (*GCP) GetSession

func (g *GCP) GetSession() interface{}

Jump to

Keyboard shortcuts

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