integration

package
v0.0.0-...-ff29edb Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const RedisPort = 6480
View Source
const RedisTLSPort = 16480

Variables

This section is empty.

Functions

func BuildBroker

func BuildBroker() string

func ExecuteAuthenticatedHTTPRequest

func ExecuteAuthenticatedHTTPRequest(method, uri, username, password string) (int, []byte)

func ExecuteAuthenticatedHTTPRequestWithBody

func ExecuteAuthenticatedHTTPRequestWithBody(method, uri, username, password string, body []byte) (int, []byte)

func HostIP4Addresses

func HostIP4Addresses() ([]string, error)

func LaunchProcessWithBrokerConfig

func LaunchProcessWithBrokerConfig(executablePath string, brokerConfigName string) *gexec.Session

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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