models

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OperationProvisioning for asyc provision
	OperationProvisioning string = "provisioning"

	// OperationDeprovisioning for asyc deprovision
	OperationDeprovisioning string = "deprovisioning"

	// OperationUpdating for asyc update
	OperationUpdating string = "updating"
)
View Source
const (
	// OperationAsyncDCS for default way
	OperationAsyncDCS bool = true

	// OperationAsyncDMSQueue for default way
	OperationAsyncDMSQueue bool = false

	// OperationAsyncDMSInstance for default way
	OperationAsyncDMSInstance bool = true

	// OperationAsyncOBS for default way
	OperationAsyncOBS bool = false

	// OperationAsyncRDS for default way
	OperationAsyncRDS bool = true
)
View Source
const DCSIMDGServiceName = "dcs-imdg"

DCSIMDGServiceName for DCSIMDG service name

View Source
const DCSMemcachedServiceName = "dcs-memcached"

DCSMemcachedServiceName for DCSMemcached service name

View Source
const DCSRedisServiceName = "dcs-redis"

DCSRedisServiceName for DCSRedis service name

View Source
const DMSActiveMQServiceName = "dms-activemq"

DMSActiveMQServiceName for DMSActiveMQ service name

View Source
const DMSKafkaServiceName = "dms-kafka"

DMSKafkaServiceName for DMSKafka service name

View Source
const DMSRabbitMQServiceName = "dms-rabbitmq"

DMSRabbitMQServiceName for DMSRabbitMQ service name

View Source
const DMSStandardServiceName = "dms-standard"

DMSStandardServiceName for DMSStandard service name

View Source
const OBSServiceName = "obs"

OBSServiceName for OBS service name

View Source
const RDSHwsqlServiceName = "rds-hwsql"

RDSHwsqlServiceName for RDSHwsql service name

View Source
const RDSMysqlServiceName = "rds-mysql"

RDSMysqlServiceName for RDSMysql service name

View Source
const RDSPostgresqlServiceName = "rds-postgresql"

RDSPostgresqlServiceName for RDSPostgresql service name

View Source
const RDSSqlserverServiceName = "rds-sqlserver"

RDSSqlserverServiceName for RDSSqlserver service name

Variables

This section is empty.

Functions

func ToJson

func ToJson(obj interface{}) string

ToJson for log

Types

type ServiceBrokerProxy

type ServiceBrokerProxy interface {
	Provision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)

	Deprovision(instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)

	Bind(instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, error)

	Unbind(instanceID, bindingID string, details brokerapi.UnbindDetails) error

	Update(instanceID string, details brokerapi.UpdateDetails, asyncAllowed bool) (brokerapi.UpdateServiceSpec, error)

	LastOperation(instanceID string, operationData database.OperationDetails) (brokerapi.LastOperation, error)

	GetPlanSchemas(serviceID string, planID string, metadata *brokerapi.ServicePlanMetadata) (*brokerapi.PlanSchemas, error)
}

ServiceBrokerProxy is used to implement details

Jump to

Keyboard shortcuts

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