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: 6 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoMssqlProvisioner

type GoMssqlProvisioner struct {
	// contains filtered or unexported fields
}

func (*GoMssqlProvisioner) CreateDatabase

func (provisioner *GoMssqlProvisioner) CreateDatabase(databaseId string) error

func (*GoMssqlProvisioner) CreateUser

func (provisioner *GoMssqlProvisioner) CreateUser(databaseId, userId, password string) error

func (*GoMssqlProvisioner) DeleteDatabase

func (provisioner *GoMssqlProvisioner) DeleteDatabase(databaseId string) error

func (*GoMssqlProvisioner) DeleteUser

func (provisioner *GoMssqlProvisioner) DeleteUser(databaseId, userId string) error

func (*GoMssqlProvisioner) IsDatabaseCreated

func (provisioner *GoMssqlProvisioner) IsDatabaseCreated(databaseId string) (bool, error)

func (*GoMssqlProvisioner) IsUserCreated

func (provisioner *GoMssqlProvisioner) IsUserCreated(databaseId, userId string) (bool, error)

type MssqlProvisioner

type MssqlProvisioner interface {
	IsDatabaseCreated(databaseId string) (bool, error)
	IsUserCreated(databaseId, userId string) (bool, error)
	CreateDatabase(databaseId string) error
	DeleteDatabase(databaseId string) error
	CreateUser(databaseId, userId, password string) error
	DeleteUser(databaseId, userId string) error
}

func NewGoMssqlProvisioner

func NewGoMssqlProvisioner(logger lager.Logger, conf config.MssqlConfig) MssqlProvisioner

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