provider

package
v0.0.0-...-ca1ed16 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSProvider

type AWSProvider struct {
	Provider string
}

AWS provider Struct

func (AWSProvider) CreateClient

func (a AWSProvider) CreateClient(region string, resource string) (client.Client, error)

CreateClient creates a new resource-specific client

func (AWSProvider) GetProvider

func (a AWSProvider) GetProvider() string

GetProvider returns provider

type Provider

type Provider interface {
	CreateClient(string, string) (client.Client, error)
	GetProvider() string
}

func ChooseProvider

func ChooseProvider(provider string) (Provider, error)

ChooseProvider select provider with specified provider key

func CreateProvider

func CreateProvider(provider string) (Provider, error)

CreateProvider creates new provider for redhawk

func NewAWSProvider

func NewAWSProvider() Provider

NewAWSProvider creates AWS Provider

Jump to

Keyboard shortcuts

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