Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClonePackage ¶
ClonePackage clones the provided package returning a new one.
Types ¶
type TestsServicesWrapper ¶
type TestsServicesWrapper struct { Ec *repo.ErrorsCollectorMock Hc *tests.HTTPClientMock Op *oci.PullerMock Is *img.StoreMock Sc *oci.SignatureCheckerMock Svc *hub.TrackerSourceServices }
TestsServicesWrapper is wrapper around a TrackerSourceServices instance used in tests.
func NewTestsServicesWrapper ¶
func NewTestsServicesWrapper() *TestsServicesWrapper
NewTestsServicesWrapper creates a new TestsServicesWrapper instance.
func (*TestsServicesWrapper) AssertExpectations ¶
func (sw *TestsServicesWrapper) AssertExpectations(t *testing.T)
AssertExpectations asserts all expectations defined for the mocks in the services wrapper.
Click to show internal directories.
Click to hide internal directories.