Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockChartDownloader
- type MockChartDownloaderMockRecorder
- type MockChartImporter
- type MockChartImporterMockRecorder
- type MockFileImporter
- type MockFileImporterMockRecorder
- type MockImageMover
- type MockImageMoverMockRecorder
- type MockManifestDownloader
- type MockManifestDownloaderMockRecorder
- type MockPackager
- type MockPackagerMockRecorder
- type MockReader
- func (m *MockReader) EXPECT() *MockReaderMockRecorder
- func (m *MockReader) ReadBundlesForVersion(eksaVersion string) (*v1alpha1.Bundles, error)
- func (m *MockReader) ReadChartsFromBundles(ctx context.Context, bundles *v1alpha1.Bundles) []v1alpha1.Image
- func (m *MockReader) ReadImagesFromBundles(ctx context.Context, bundles *v1alpha1.Bundles) ([]v1alpha1.Image, error)
- type MockReaderMockRecorder
- type MockUnPackager
- type MockUnPackagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChartDownloader ¶
type MockChartDownloader struct {
// contains filtered or unexported fields
}
MockChartDownloader is a mock of ChartDownloader interface.
func NewMockChartDownloader ¶
func NewMockChartDownloader(ctrl *gomock.Controller) *MockChartDownloader
NewMockChartDownloader creates a new mock instance.
func (*MockChartDownloader) Download ¶
func (m *MockChartDownloader) Download(ctx context.Context, artifacts ...string) error
Download mocks base method.
func (*MockChartDownloader) EXPECT ¶
func (m *MockChartDownloader) EXPECT() *MockChartDownloaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockChartDownloaderMockRecorder ¶
type MockChartDownloaderMockRecorder struct {
// contains filtered or unexported fields
}
MockChartDownloaderMockRecorder is the mock recorder for MockChartDownloader.
func (*MockChartDownloaderMockRecorder) Download ¶
func (mr *MockChartDownloaderMockRecorder) Download(ctx interface{}, artifacts ...interface{}) *gomock.Call
Download indicates an expected call of Download.
type MockChartImporter ¶
type MockChartImporter struct {
// contains filtered or unexported fields
}
MockChartImporter is a mock of ChartImporter interface.
func NewMockChartImporter ¶
func NewMockChartImporter(ctrl *gomock.Controller) *MockChartImporter
NewMockChartImporter creates a new mock instance.
func (*MockChartImporter) EXPECT ¶
func (m *MockChartImporter) EXPECT() *MockChartImporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockChartImporterMockRecorder ¶
type MockChartImporterMockRecorder struct {
// contains filtered or unexported fields
}
MockChartImporterMockRecorder is the mock recorder for MockChartImporter.
func (*MockChartImporterMockRecorder) Import ¶
func (mr *MockChartImporterMockRecorder) Import(ctx interface{}, charts ...interface{}) *gomock.Call
Import indicates an expected call of Import.
type MockFileImporter ¶
type MockFileImporter struct {
// contains filtered or unexported fields
}
MockFileImporter is a mock of FileImporter interface.
func NewMockFileImporter ¶
func NewMockFileImporter(ctrl *gomock.Controller) *MockFileImporter
NewMockFileImporter creates a new mock instance.
func (*MockFileImporter) EXPECT ¶
func (m *MockFileImporter) EXPECT() *MockFileImporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFileImporterMockRecorder ¶
type MockFileImporterMockRecorder struct {
// contains filtered or unexported fields
}
MockFileImporterMockRecorder is the mock recorder for MockFileImporter.
func (*MockFileImporterMockRecorder) Push ¶
func (mr *MockFileImporterMockRecorder) Push(ctx, bundles interface{}) *gomock.Call
Push indicates an expected call of Push.
type MockImageMover ¶
type MockImageMover struct {
// contains filtered or unexported fields
}
MockImageMover is a mock of ImageMover interface.
func NewMockImageMover ¶
func NewMockImageMover(ctrl *gomock.Controller) *MockImageMover
NewMockImageMover creates a new mock instance.
func (*MockImageMover) EXPECT ¶
func (m *MockImageMover) EXPECT() *MockImageMoverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockImageMoverMockRecorder ¶
type MockImageMoverMockRecorder struct {
// contains filtered or unexported fields
}
MockImageMoverMockRecorder is the mock recorder for MockImageMover.
func (*MockImageMoverMockRecorder) Move ¶
func (mr *MockImageMoverMockRecorder) Move(ctx interface{}, artifacts ...interface{}) *gomock.Call
Move indicates an expected call of Move.
type MockManifestDownloader ¶
type MockManifestDownloader struct {
// contains filtered or unexported fields
}
MockManifestDownloader is a mock of ManifestDownloader interface.
func NewMockManifestDownloader ¶
func NewMockManifestDownloader(ctrl *gomock.Controller) *MockManifestDownloader
NewMockManifestDownloader creates a new mock instance.
func (*MockManifestDownloader) Download ¶
func (m *MockManifestDownloader) Download(ctx context.Context, bundles *v1alpha1.Bundles)
Download mocks base method.
func (*MockManifestDownloader) EXPECT ¶
func (m *MockManifestDownloader) EXPECT() *MockManifestDownloaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockManifestDownloaderMockRecorder ¶
type MockManifestDownloaderMockRecorder struct {
// contains filtered or unexported fields
}
MockManifestDownloaderMockRecorder is the mock recorder for MockManifestDownloader.
func (*MockManifestDownloaderMockRecorder) Download ¶
func (mr *MockManifestDownloaderMockRecorder) Download(ctx, bundles interface{}) *gomock.Call
Download indicates an expected call of Download.
type MockPackager ¶
type MockPackager struct {
// contains filtered or unexported fields
}
MockPackager is a mock of Packager interface.
func NewMockPackager ¶
func NewMockPackager(ctrl *gomock.Controller) *MockPackager
NewMockPackager creates a new mock instance.
func (*MockPackager) EXPECT ¶
func (m *MockPackager) EXPECT() *MockPackagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPackager) Package ¶
func (m *MockPackager) Package(folder, dstFile string) error
Package mocks base method.
type MockPackagerMockRecorder ¶
type MockPackagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPackagerMockRecorder is the mock recorder for MockPackager.
func (*MockPackagerMockRecorder) Package ¶
func (mr *MockPackagerMockRecorder) Package(folder, dstFile interface{}) *gomock.Call
Package indicates an expected call of Package.
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReader) ReadBundlesForVersion ¶
func (m *MockReader) ReadBundlesForVersion(eksaVersion string) (*v1alpha1.Bundles, error)
ReadBundlesForVersion mocks base method.
func (*MockReader) ReadChartsFromBundles ¶
func (m *MockReader) ReadChartsFromBundles(ctx context.Context, bundles *v1alpha1.Bundles) []v1alpha1.Image
ReadChartsFromBundles mocks base method.
func (*MockReader) ReadImagesFromBundles ¶
func (m *MockReader) ReadImagesFromBundles(ctx context.Context, bundles *v1alpha1.Bundles) ([]v1alpha1.Image, error)
ReadImagesFromBundles mocks base method.
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) ReadBundlesForVersion ¶
func (mr *MockReaderMockRecorder) ReadBundlesForVersion(eksaVersion interface{}) *gomock.Call
ReadBundlesForVersion indicates an expected call of ReadBundlesForVersion.
func (*MockReaderMockRecorder) ReadChartsFromBundles ¶
func (mr *MockReaderMockRecorder) ReadChartsFromBundles(ctx, bundles interface{}) *gomock.Call
ReadChartsFromBundles indicates an expected call of ReadChartsFromBundles.
func (*MockReaderMockRecorder) ReadImagesFromBundles ¶
func (mr *MockReaderMockRecorder) ReadImagesFromBundles(ctx, bundles interface{}) *gomock.Call
ReadImagesFromBundles indicates an expected call of ReadImagesFromBundles.
type MockUnPackager ¶
type MockUnPackager struct {
// contains filtered or unexported fields
}
MockUnPackager is a mock of UnPackager interface.
func NewMockUnPackager ¶
func NewMockUnPackager(ctrl *gomock.Controller) *MockUnPackager
NewMockUnPackager creates a new mock instance.
func (*MockUnPackager) EXPECT ¶
func (m *MockUnPackager) EXPECT() *MockUnPackagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUnPackager) UnPackage ¶
func (m *MockUnPackager) UnPackage(orgFile, dstFolder string) error
UnPackage mocks base method.
type MockUnPackagerMockRecorder ¶
type MockUnPackagerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnPackagerMockRecorder is the mock recorder for MockUnPackager.
func (*MockUnPackagerMockRecorder) UnPackage ¶
func (mr *MockUnPackagerMockRecorder) UnPackage(orgFile, dstFolder interface{}) *gomock.Call
UnPackage indicates an expected call of UnPackage.