provisioner

package
v0.0.0-...-d6600ca Latest Latest
Warning

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

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

Documentation

Index

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

Jump to

Keyboard shortcuts

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