Documentation
¶
Index ¶
- type CSMConnection
- func (c *CSMConnection) CheckExtensions()
- func (c *CSMConnection) CreateConnection(workspaceID string, connectionID string, details map[string]interface{}) (*models.ServiceManagerConnectionResponse, *models.Error)
- func (c *CSMConnection) DeleteConnection(workspaceID string, connectionID string) (*models.ServiceManagerConnectionResponse, *models.Error)
- func (c *CSMConnection) GetConnection(workspaceID string, connectionID string) (*models.ServiceManagerConnectionResponse, *models.Error)
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
Click to show internal directories.
Click to hide internal directories.