Documentation ¶
Index ¶
- Constants
- type ManagementPg
- func (m *ManagementPg) BeginTransaction() (*sql.Tx, error)
- func (m *ManagementPg) CleanupAll() error
- func (m *ManagementPg) CleanupTest() error
- func (m *ManagementPg) InsertApidCluster(tx *sql.Tx, cluster *apidClusterRow) error
- func (m *ManagementPg) InsertBundleConfig(tx *sql.Tx, bf *bundleConfigRow) error
- func (m *ManagementPg) InsertDataScope(tx *sql.Tx, ds *dataScopeRow) error
- func (m *ManagementPg) InsertDeployment(tx *sql.Tx, d *deploymentRow) error
- type MockAuthServer
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)
Click to show internal directories.
Click to hide internal directories.