Documentation ¶
Index ¶
Constants ¶
View Source
const DevelOrgKey = "content-sources-test"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CandlepinClient ¶
type CandlepinClient interface { CreateOwner() error ImportManifest(filename string) error ListContents(ownerKey string) ([]string, error) }
func NewCandlepinClient ¶
func NewCandlepinClient(ctx context.Context) (CandlepinClient, error)
type MockCandlepinClient ¶
MockCandlepinClient is an autogenerated mock type for the CandlepinClient type
func NewMockCandlepinClient ¶
func NewMockCandlepinClient(t interface { mock.TestingT Cleanup(func()) }) *MockCandlepinClient
NewMockCandlepinClient creates a new instance of MockCandlepinClient. 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 (*MockCandlepinClient) CreateOwner ¶
func (_m *MockCandlepinClient) CreateOwner() error
CreateOwner provides a mock function with given fields:
func (*MockCandlepinClient) ImportManifest ¶
func (_m *MockCandlepinClient) ImportManifest(filename string) error
ImportManifest provides a mock function with given fields: filename
func (*MockCandlepinClient) ListContents ¶
func (_m *MockCandlepinClient) ListContents(ownerKey string) ([]string, error)
ListContents provides a mock function with given fields: ownerKey
Click to show internal directories.
Click to hide internal directories.