dockertests

package
v0.0.0-...-655b66d Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApigeeSyncEventSelector = "ApigeeSync"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagementPg

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

func InitDb

func InitDb(dbUrl string) (*ManagementPg, error)

func (*ManagementPg) BeginTransaction

func (m *ManagementPg) BeginTransaction() (*sql.Tx, error)

func (*ManagementPg) CleanupAll

func (m *ManagementPg) CleanupAll() error

func (*ManagementPg) CleanupTest

func (m *ManagementPg) CleanupTest() error

* Delete all new tables or rows created by a test from pg. * Only test data for the whole suite will remain in the pg.

func (*ManagementPg) InsertApidCluster

func (m *ManagementPg) InsertApidCluster(tx *sql.Tx, cluster *apidClusterRow) error

func (*ManagementPg) InsertBundleConfig

func (m *ManagementPg) InsertBundleConfig(tx *sql.Tx, bf *bundleConfigRow) error

func (*ManagementPg) InsertDataScope

func (m *ManagementPg) InsertDataScope(tx *sql.Tx, ds *dataScopeRow) error

func (*ManagementPg) InsertDeployment

func (m *ManagementPg) InsertDeployment(tx *sql.Tx, d *deploymentRow) error

type MockAuthServer

type MockAuthServer struct {
}

func (*MockAuthServer) Start

func (m *MockAuthServer) Start(router apid.Router)

Jump to

Keyboard shortcuts

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