connection

package
v0.0.0-...-d6600ca Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSMConnection

type CSMConnection struct {
	Logger     *logrus.Logger
	Config     *common.ServiceManagerConfiguration
	FileHelper utils.CSMFileHelperInterface
}

CSMConnection object for managing the connection.

func NewCSMConnection

func NewCSMConnection(logger *logrus.Logger, config *common.ServiceManagerConfiguration, fileHelper utils.CSMFileHelperInterface) *CSMConnection

NewCSMConnection creates CSMConnection

func (*CSMConnection) CheckExtensions

func (c *CSMConnection) CheckExtensions()

CheckExtensions checks for workspace extensions

func (*CSMConnection) CreateConnection

func (c *CSMConnection) CreateConnection(workspaceID string, connectionID string, details map[string]interface{}) (*models.ServiceManagerConnectionResponse, *models.Error)

CreateConnection create connections

func (*CSMConnection) DeleteConnection

func (c *CSMConnection) DeleteConnection(workspaceID string, connectionID string) (*models.ServiceManagerConnectionResponse, *models.Error)

DeleteConnection delete connections

func (*CSMConnection) GetConnection

func (c *CSMConnection) GetConnection(workspaceID string, connectionID string) (*models.ServiceManagerConnectionResponse, *models.Error)

GetConnection get connections

Jump to

Keyboard shortcuts

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