Documentation ¶
Index ¶
- Constants
- type Database
- type ErrataListFilters
- type ErrataListItem
- type Logger
- type MockTangy
- func (_m *MockTangy) Close()
- func (_m *MockTangy) RpmRepositoryVersionEnvironmentSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmEnvironmentSearch, error)
- func (_m *MockTangy) RpmRepositoryVersionErrataList(ctx context.Context, hrefs []string, filterOpts ErrataListFilters, ...) ([]ErrataListItem, int, error)
- func (_m *MockTangy) RpmRepositoryVersionPackageGroupSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmPackageGroupSearch, error)
- func (_m *MockTangy) RpmRepositoryVersionPackageList(ctx context.Context, hrefs []string, filterOpts RpmListFilters, ...) ([]RpmListItem, int, error)
- func (_m *MockTangy) RpmRepositoryVersionPackageSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmPackageSearch, error)
- type PageOptions
- type ParsedRepoVersion
- type RpmEnvironmentSearch
- type RpmListFilters
- type RpmListItem
- type RpmPackageGroupSearch
- type RpmPackageSearch
- type Tangy
Constants ¶
const DefaultLimit = 500
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 ErrataListFilters ¶ added in v0.0.5
type ErrataListItem ¶ added in v0.0.5
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) RpmRepositoryVersionEnvironmentSearch ¶ added in v0.0.2
func (_m *MockTangy) RpmRepositoryVersionEnvironmentSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmEnvironmentSearch, error)
RpmRepositoryVersionEnvironmentSearch provides a mock function with given fields: ctx, hrefs, search, limit
func (*MockTangy) RpmRepositoryVersionErrataList ¶ added in v0.0.5
func (_m *MockTangy) RpmRepositoryVersionErrataList(ctx context.Context, hrefs []string, filterOpts ErrataListFilters, pageOpts PageOptions) ([]ErrataListItem, int, error)
RpmRepositoryVersionErrataList provides a mock function with given fields: ctx, hrefs, filterOpts, pageOpts
func (*MockTangy) RpmRepositoryVersionPackageGroupSearch ¶ added in v0.0.2
func (_m *MockTangy) RpmRepositoryVersionPackageGroupSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmPackageGroupSearch, error)
RpmRepositoryVersionPackageGroupSearch provides a mock function with given fields: ctx, hrefs, search, limit
func (*MockTangy) RpmRepositoryVersionPackageList ¶ added in v0.0.4
func (_m *MockTangy) RpmRepositoryVersionPackageList(ctx context.Context, hrefs []string, filterOpts RpmListFilters, pageOpts PageOptions) ([]RpmListItem, int, error)
RpmRepositoryVersionPackageList provides a mock function with given fields: ctx, hrefs, filterOpts, pageOpts
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 PageOptions ¶ added in v0.0.4
type ParsedRepoVersion ¶ added in v0.0.4
type RpmEnvironmentSearch ¶ added in v0.0.2
type RpmListFilters ¶ added in v0.0.4
type RpmListFilters struct {
Name string
}
type RpmListItem ¶ added in v0.0.4
type RpmPackageGroupSearch ¶ added in v0.0.2
type RpmPackageSearch ¶
type Tangy ¶
type Tangy interface { RpmRepositoryVersionPackageSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmPackageSearch, error) RpmRepositoryVersionPackageGroupSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmPackageGroupSearch, error) RpmRepositoryVersionEnvironmentSearch(ctx context.Context, hrefs []string, search string, limit int) ([]RpmEnvironmentSearch, error) RpmRepositoryVersionPackageList(ctx context.Context, hrefs []string, filterOpts RpmListFilters, pageOpts PageOptions) ([]RpmListItem, int, error) RpmRepositoryVersionErrataList(ctx context.Context, hrefs []string, filterOpts ErrataListFilters, pageOpts PageOptions) ([]ErrataListItem, int, error) Close() }