Documentation ¶
Index ¶
- Constants
- type RabbitHoleProvisioner
- func (provisioner *RabbitHoleProvisioner) ContainerExists(containerName string) (bool, error)
- func (provisioner *RabbitHoleProvisioner) CreateContainer(containerName string) error
- func (provisioner *RabbitHoleProvisioner) CreateUser(containerName, newUser, userPass string) (map[string]string, error)
- func (provisioner *RabbitHoleProvisioner) DeleteContainer(containerName string) error
- func (provisioner *RabbitHoleProvisioner) DeleteUser(containerName, user string) error
- func (provisioner *RabbitHoleProvisioner) FindImage(imageName string) (*dockerclient.Image, error)
- func (provisioner *RabbitHoleProvisioner) UserExists(containerName, user string) (bool, error)
- type RabbitmqProvisionerInterface
Constants ¶
View Source
const CONTAINER_START_TIMEOUT int = 30
View Source
const DockerImage = "rabbitmq"
View Source
const ImageTag = "hsm"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitHoleProvisioner ¶
type RabbitHoleProvisioner struct {
// contains filtered or unexported fields
}
func (*RabbitHoleProvisioner) ContainerExists ¶
func (provisioner *RabbitHoleProvisioner) ContainerExists(containerName string) (bool, error)
func (*RabbitHoleProvisioner) CreateContainer ¶
func (provisioner *RabbitHoleProvisioner) CreateContainer(containerName string) error
func (*RabbitHoleProvisioner) CreateUser ¶
func (provisioner *RabbitHoleProvisioner) CreateUser(containerName, newUser, userPass string) (map[string]string, error)
func (*RabbitHoleProvisioner) DeleteContainer ¶
func (provisioner *RabbitHoleProvisioner) DeleteContainer(containerName string) error
func (*RabbitHoleProvisioner) DeleteUser ¶
func (provisioner *RabbitHoleProvisioner) DeleteUser(containerName, user string) error
func (*RabbitHoleProvisioner) FindImage ¶
func (provisioner *RabbitHoleProvisioner) FindImage(imageName string) (*dockerclient.Image, error)
func (*RabbitHoleProvisioner) UserExists ¶
func (provisioner *RabbitHoleProvisioner) UserExists(containerName, user string) (bool, error)
type RabbitmqProvisionerInterface ¶
type RabbitmqProvisionerInterface interface { CreateContainer(string) error DeleteContainer(string) error ContainerExists(string) (bool, error) CreateUser(string, string, string) (map[string]string, error) DeleteUser(string, string) error UserExists(string, string) (bool, error) FindImage(string) (*dockerclient.Image, error) }
func NewRabbitHoleProvisioner ¶
func NewRabbitHoleProvisioner(logger lager.Logger, conf config.RabbitmqConfig) RabbitmqProvisionerInterface
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.