Documentation ¶
Index ¶
- type TestHelper
- func (h *TestHelper) BuildBrokerpak(paths ...string)
- func (h *TestHelper) BuildBrokerpakCommand(paths ...string) *exec.Cmd
- func (h *TestHelper) Client() *client.Client
- func (h *TestHelper) DBConn() *gorm.DB
- func (h *TestHelper) Restore()
- func (h *TestHelper) StartBroker(env ...string) *gexec.Session
- func (h *TestHelper) StartBrokerCommand(env ...string) *exec.Cmd
- func (h *TestHelper) StartBrokerSession(env ...string) *gexec.Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestHelper ¶
func New ¶
func New(csb string) *TestHelper
func (*TestHelper) BuildBrokerpak ¶
func (h *TestHelper) BuildBrokerpak(paths ...string)
func (*TestHelper) BuildBrokerpakCommand ¶
func (h *TestHelper) BuildBrokerpakCommand(paths ...string) *exec.Cmd
func (*TestHelper) Client ¶
func (h *TestHelper) Client() *client.Client
func (*TestHelper) DBConn ¶
func (h *TestHelper) DBConn() *gorm.DB
func (*TestHelper) Restore ¶
func (h *TestHelper) Restore()
func (*TestHelper) StartBroker ¶
func (h *TestHelper) StartBroker(env ...string) *gexec.Session
func (*TestHelper) StartBrokerCommand ¶
func (h *TestHelper) StartBrokerCommand(env ...string) *exec.Cmd
func (*TestHelper) StartBrokerSession ¶
func (h *TestHelper) StartBrokerSession(env ...string) *gexec.Session
Click to show internal directories.
Click to hide internal directories.