Back to

Package api

Latest Go to latest

The latest major version is .

Published: Aug 6, 2019 | License: Apache-2.0 | Module:


type DetermineProviderApi

type DetermineProviderApi struct {
	// contains filtered or unexported fields

DetermineProviderApi determines the cloud provider.

func NewDetermineProviderApi

func NewDetermineProviderApi(logger logrus.FieldLogger) *DetermineProviderApi

NewDetermineProviderApi returns a new DetermineProviderApi instance.

func (*DetermineProviderApi) DetermineProvider

func (a *DetermineProviderApi) DetermineProvider(c *gin.Context)

DetermineProvider determines the cloud provider

type Identifier

type Identifier interface {
	Identify() (string, error)

Identifier is the common interface

type ProviderInfo

type ProviderInfo struct {
	Name string `json:"name"`

ProviderInfo holds the provider name

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier