Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServiceDefinition ¶
func ServiceDefinition() *broker.ServiceDefinition
Types ¶
type InstanceInformation ¶
type InstanceInformation struct { RedisVersion string `json:"redis_version"` Host string `json:"host"` Port string `json:"port"` MemorySizeGb int `json:"memory_size_gb"` }
InstanceInformation holds the details needed to connect to a Redis instance after it has been provisioned
type RedisBroker ¶
type RedisBroker struct {
base.BrokerBase
}
RedisBroker is the service-broker back-end for creating and binding Redis services.
func (*RedisBroker) Deprovision ¶
func (b *RedisBroker) Deprovision(ctx context.Context, instance models.ServiceInstanceDetails, details brokerapi.DeprovisionDetails) (*string, error)
Deprovision deletes the Redis instance with the given instance ID
func (*RedisBroker) Provision ¶
func (b *RedisBroker) Provision(ctx context.Context, provisionContext *varcontext.VarContext) (models.ServiceInstanceDetails, error)
Provision creates a new Redis instance from the settings in the user-provided details and service plan.
Click to show internal directories.
Click to hide internal directories.