Documentation ¶
Index ¶
- Constants
- func BuildBroker() string
- func ExecuteAuthenticatedHTTPRequest(method, uri, username, password string) (int, []byte)
- func ExecuteAuthenticatedHTTPRequestWithBody(method, uri, username, password string, body []byte) (int, []byte)
- func HostIP4Addresses() ([]string, error)
- func LaunchProcessWithBrokerConfig(executablePath string, brokerConfigName string) *gexec.Session
- func LoadBrokerConfig(brokerFilename string) brokerconfig.Config
- type BrokerClient
- func (brokerClient *BrokerClient) BindInstance(instanceID, bindingID, plan string) (int, []byte)
- func (brokerClient *BrokerClient) BindingURI(instanceID, bindingID string) string
- func (brokerClient *BrokerClient) DeprovisionInstance(instanceID, plan string) (int, []byte)
- func (brokerClient *BrokerClient) InstanceIDFromHost(host string) (int, []byte)
- func (brokerClient *BrokerClient) InstanceURI(instanceID string) string
- func (brokerClient *BrokerClient) MakeCatalogRequest() (int, []byte)
- func (brokerClient *BrokerClient) ProvisionInstance(instanceID string, plan string) (int, []byte)
- func (brokerClient *BrokerClient) UnbindInstance(instanceID, bindingID, plan string) (int, []byte)
- type RedisRunner
Constants ¶
View Source
const RedisPort = 6480
View Source
const RedisTLSPort = 16480
Variables ¶
This section is empty.
Functions ¶
func BuildBroker ¶
func BuildBroker() string
func HostIP4Addresses ¶
func LoadBrokerConfig ¶
func LoadBrokerConfig(brokerFilename string) brokerconfig.Config
Types ¶
type BrokerClient ¶
type BrokerClient struct {
Config *brokerconfig.Config
}
func (*BrokerClient) BindInstance ¶
func (brokerClient *BrokerClient) BindInstance(instanceID, bindingID, plan string) (int, []byte)
func (*BrokerClient) BindingURI ¶
func (brokerClient *BrokerClient) BindingURI(instanceID, bindingID string) string
func (*BrokerClient) DeprovisionInstance ¶
func (brokerClient *BrokerClient) DeprovisionInstance(instanceID, plan string) (int, []byte)
func (*BrokerClient) InstanceIDFromHost ¶
func (brokerClient *BrokerClient) InstanceIDFromHost(host string) (int, []byte)
func (*BrokerClient) InstanceURI ¶
func (brokerClient *BrokerClient) InstanceURI(instanceID string) string
func (*BrokerClient) MakeCatalogRequest ¶
func (brokerClient *BrokerClient) MakeCatalogRequest() (int, []byte)
func (*BrokerClient) ProvisionInstance ¶
func (brokerClient *BrokerClient) ProvisionInstance(instanceID string, plan string) (int, []byte)
func (*BrokerClient) UnbindInstance ¶
func (brokerClient *BrokerClient) UnbindInstance(instanceID, bindingID, plan string) (int, []byte)
type RedisRunner ¶
type RedisRunner struct { Dir string // contains filtered or unexported fields }
func (*RedisRunner) Start ¶
func (runner *RedisRunner) Start(redisArgs []string)
func (*RedisRunner) StartTLS ¶
func (runner *RedisRunner) StartTLS(redisArgs []string)
func (*RedisRunner) Stop ¶
func (runner *RedisRunner) Stop()
func (*RedisRunner) StopTLS ¶
func (runner *RedisRunner) StopTLS()
Click to show internal directories.
Click to hide internal directories.