redis

package
v4.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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