connector

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDestinationNilResponse = errors.New("No response from the server")
	ErrDestinationNone        = errors.New("No destination has been found with the given parameters")
	ErrDestinationTooMany     = errors.New("Too many destinations found with the given parameters")
)

Functions

func AllConnectionsFamiliesNames

func AllConnectionsFamiliesNames() []string

func NewDataSourceDestinationError

func NewDataSourceDestinationError(err error) error

func SupportedCspConnections

func SupportedCspConnections() map[string]*schema.Resource

func SupportedEnterprises

func SupportedEnterprises() map[string]*schema.Resource

Types

type ConnectionFamily

type ConnectionFamily int
const (
	ConnectionFamilyAws ConnectionFamily = iota
	ConnectionFamilyAwsHosted
	ConnectionFamilyAzure
	ConnectionFamilyGcp
)

func AllConnectionsFamilies

func AllConnectionsFamilies() []ConnectionFamily

func (ConnectionFamily) ConnectionType

func (c ConnectionFamily) ConnectionType() string

func (ConnectionFamily) CspFamily

func (c ConnectionFamily) CspFamily() string

func (ConnectionFamily) String

func (c ConnectionFamily) String() string

type CspFamily

type CspFamily int
const (
	CspFamilyAws CspFamily = iota
	CspFamilyAzure
	CspFamilyGcp
)

func (CspFamily) String

func (f CspFamily) String() string

type ErrDataSourceDestination

type ErrDataSourceDestination struct {
	Msg string
	Err error
}

func (*ErrDataSourceDestination) Error

func (e *ErrDataSourceDestination) Error() string

func (*ErrDataSourceDestination) Unwrap

func (e *ErrDataSourceDestination) Unwrap() error

type Registration

type Registration struct{}

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*schema.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*schema.Resource

SupportedResources returns the supported Resources supported by this Service

Directories

Path Synopsis
csp
aws
gcp

Jump to

Keyboard shortcuts

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