Documentation ¶
Index ¶
- Constants
- type RedisProvisioner
- func (provisioner *RedisProvisioner) ContainerExists(containerName string) (bool, error)
- func (provisioner *RedisProvisioner) CreateContainer(containerName string) error
- func (provisioner *RedisProvisioner) DeleteContainer(containerName string) error
- func (provisioner *RedisProvisioner) FindImage(imageName string) (*dockerclient.Image, error)
- func (provisioner *RedisProvisioner) GetCredentials(containerName string) (map[string]string, error)
- type RedisProvisionerInterface
Constants ¶
View Source
const DockerImage = "redis"
View Source
const ImageTag = "hsm"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisProvisioner ¶
type RedisProvisioner struct {
// contains filtered or unexported fields
}
func (*RedisProvisioner) ContainerExists ¶
func (provisioner *RedisProvisioner) ContainerExists(containerName string) (bool, error)
func (*RedisProvisioner) CreateContainer ¶
func (provisioner *RedisProvisioner) CreateContainer(containerName string) error
func (*RedisProvisioner) DeleteContainer ¶
func (provisioner *RedisProvisioner) DeleteContainer(containerName string) error
func (*RedisProvisioner) FindImage ¶
func (provisioner *RedisProvisioner) FindImage(imageName string) (*dockerclient.Image, error)
func (*RedisProvisioner) GetCredentials ¶
func (provisioner *RedisProvisioner) GetCredentials(containerName string) (map[string]string, error)
type RedisProvisionerInterface ¶
type RedisProvisionerInterface interface { CreateContainer(string) error DeleteContainer(string) error ContainerExists(string) (bool, error) GetCredentials(string) (map[string]string, error) FindImage(string) (*dockerclient.Image, error) }
func NewRedisProvisioner ¶
func NewRedisProvisioner(logger lager.Logger, conf config.RedisConfig) RedisProvisionerInterface
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.