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

Jump to

Keyboard shortcuts

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