Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultLimit = 500
View Source
const DefaultMaxPoolLimit = 20
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
Name string
Host string
Port int
User string
Password string
CACertPath string `mapstructure:"ca_cert_path"`
PoolLimit int `mapstructure:"pool_limit"`
}
Database configuration options for connection to a pulp database
type MockTangy ¶
MockTangy is an autogenerated mock type for the Tangy type
func NewMockTangy ¶
NewMockTangy creates a new instance of MockTangy. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTangy) Close ¶
func (_m *MockTangy) Close()
Close provides a mock function with given fields:
func (*MockTangy) RpmRepositoryVersionPackageSearch ¶
func (_m *MockTangy) RpmRepositoryVersionPackageSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmPackageSearch, error)
RpmRepositoryVersionPackageSearch provides a mock function with given fields: ctx, hrefs, search, limit
type RpmPackageSearch ¶
Click to show internal directories.
Click to hide internal directories.