Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEBUG = "debug" INFO = "info" ERROR = "error" FATAL = "fatal" WARN = "warn" )
Variables ¶
View Source
var NO_MESSAGE = ""
View Source
var PROCESSING_STATUS_FAILED = "failed"
View Source
var PROCESSING_STATUS_NONE = "none"
View Source
var PROCESSING_STATUS_SUCCESSFUL = "successful"
View Source
var PROCESSING_STATUS_UNKNOWN = "unknown"
View Source
var PROCESSING_TYPE_DEFAULT = "default"
View Source
var PROCESSING_TYPE_EXTENSION = "extension"
View Source
var PROCESSING_TYPE_NONE = "none"
Functions ¶
Types ¶
type CSMConnectionInterface ¶
type CSMConnectionInterface interface { CheckExtensions() GetConnection(workspaceID string, connectionID string) *models.ServiceManagerConnectionResponse CreateConnection(workspaceID string, createConnection *models.ServiceManagerConnectionCreateRequest, Details map[string]interface{}) *models.ServiceManagerConnectionResponse DeleteConnection(workspaceID string, connectionID string) *models.ServiceManagerConnectionResponse }
type CSMStatusInterface ¶
type CSMStatusInterface interface {
GetStatus() *models.StatusResponse
}
type CSMWorkspaceInterface ¶
type CSMWorkspaceInterface interface { CheckExtensions() GetWorkspace(workspaceID string) *models.ServiceManagerWorkspaceResponse CreateWorkspace(workspaceCreate *models.ServiceManagerWorkspaceCreateRequest) *models.ServiceManagerWorkspaceResponse DeleteWorkspace(workspaceID string) *models.ServiceManagerWorkspaceResponse }
type ServiceManagerConfiguration ¶
type ServiceManagerConfiguration struct { PARAMETERS *string MANAGER_HOME *string LOG_LEVEL *string DEV_MODE *string API_KEY *string EXT_TIMEOUT *string EXT_TIMEOUT_ERROR *string HEALTHCHECK_HOST *string HEALTHCHECK_PORT *string TLS_CERT_FILE *string TLS_PRIVATE_KEY_FILE *string PORT *string `env:"PORT"` KUBE_INSTANCE_ID *string `env:"KUBE_INSTANCE_ID"` }
func NewServiceManagerConfiguration ¶
func NewServiceManagerConfiguration() *ServiceManagerConfiguration
NewServiceManagerConfiguration : Creates object of ServiceManagerConfiguration
Click to show internal directories.
Click to hide internal directories.