api

package
v0.0.0-...-93d438d Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Jump to

Keyboard shortcuts

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