Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Index ¶
- type MockCommitServiceInterface
- func (m *MockCommitServiceInterface) EXPECT() *MockCommitServiceInterfaceMockRecorder
- func (m *MockCommitServiceInterface) GetCommitByID(commitID uint, orgID string) (*models.Commit, error)
- func (m *MockCommitServiceInterface) GetCommitByOSTreeCommit(ost string) (*models.Commit, error)
- func (m *MockCommitServiceInterface) ValidateDevicesImageSetWithCommit(deviceUUID []string, commitID uint) error
- type MockCommitServiceInterfaceMockRecorder
- func (mr *MockCommitServiceInterfaceMockRecorder) GetCommitByID(commitID, orgID interface{}) *gomock.Call
- func (mr *MockCommitServiceInterfaceMockRecorder) GetCommitByOSTreeCommit(ost interface{}) *gomock.Call
- func (mr *MockCommitServiceInterfaceMockRecorder) ValidateDevicesImageSetWithCommit(deviceUUID, commitID interface{}) *gomock.Call
- type MockDeviceGroupsServiceInterface
- func (m *MockDeviceGroupsServiceInterface) AddDeviceGroupDevices(orgID string, deviceGroupID uint, devices []models.Device) (*[]models.Device, error)
- func (m *MockDeviceGroupsServiceInterface) CreateDeviceGroup(deviceGroup *models.DeviceGroup) (*models.DeviceGroup, error)
- func (m *MockDeviceGroupsServiceInterface) DeleteDeviceGroupByID(ID string) error
- func (m *MockDeviceGroupsServiceInterface) DeleteDeviceGroupDevices(orgID string, deviceGroupID uint, devices []models.Device) (*[]models.Device, error)
- func (m *MockDeviceGroupsServiceInterface) DeviceGroupNameExists(orgID, name string) (bool, error)
- func (m *MockDeviceGroupsServiceInterface) EXPECT() *MockDeviceGroupsServiceInterfaceMockRecorder
- func (m *MockDeviceGroupsServiceInterface) GetDeviceGroupByID(ID string) (*models.DeviceGroup, error)
- func (m *MockDeviceGroupsServiceInterface) GetDeviceGroupDetailsByID(ID string) (*models.DeviceGroupDetails, error)
- func (m *MockDeviceGroupsServiceInterface) GetDeviceGroupDeviceByID(orgID string, deviceGroupID, deviceID uint) (*models.Device, error)
- func (m *MockDeviceGroupsServiceInterface) GetDeviceGroups(orgID string, limit, offset int, tx *gorm.DB) (*[]models.DeviceGroupListDetail, error)
- func (m *MockDeviceGroupsServiceInterface) GetDeviceGroupsCount(orgID string, tx *gorm.DB) (int64, error)
- func (m *MockDeviceGroupsServiceInterface) GetDeviceImageInfo(setOfImages map[int]models.DeviceImageInfo, orgID string) error
- func (m *MockDeviceGroupsServiceInterface) UpdateDeviceGroup(deviceGroup *models.DeviceGroup, orgID, ID string) error
- type MockDeviceGroupsServiceInterfaceMockRecorder
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) AddDeviceGroupDevices(orgID, deviceGroupID, devices interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) CreateDeviceGroup(deviceGroup interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) DeleteDeviceGroupByID(ID interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) DeleteDeviceGroupDevices(orgID, deviceGroupID, devices interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) DeviceGroupNameExists(orgID, name interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupByID(ID interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupDetailsByID(ID interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupDeviceByID(orgID, deviceGroupID, deviceID interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroups(orgID, limit, offset, tx interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupsCount(orgID, tx interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceImageInfo(setOfImages, orgID interface{}) *gomock.Call
- func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) UpdateDeviceGroup(deviceGroup, orgID, ID interface{}) *gomock.Call
- type MockDeviceServiceInterface
- func (m *MockDeviceServiceInterface) EXPECT() *MockDeviceServiceInterfaceMockRecorder
- func (m *MockDeviceServiceInterface) GetDeviceByID(deviceID uint) (*models.Device, error)
- func (m *MockDeviceServiceInterface) GetDeviceByUUID(deviceUUID string) (*models.Device, error)
- func (m *MockDeviceServiceInterface) GetDeviceDetails(device inventory.Device, ...) (*models.DeviceDetails, error)
- func (m *MockDeviceServiceInterface) GetDeviceDetailsByUUID(deviceUUID string, deviceUpdateImagesFilters models.DeviceUpdateImagesFilters) (*models.DeviceDetails, error)
- func (m *MockDeviceServiceInterface) GetDeviceImageInfo(device inventory.Device, ...) (*models.ImageInfo, error)
- func (m *MockDeviceServiceInterface) GetDeviceImageInfoByUUID(deviceUUID string, deviceUpdateImagesFilters models.DeviceUpdateImagesFilters) (*models.ImageInfo, error)
- func (m *MockDeviceServiceInterface) GetDeviceLastBootedDeployment(device inventory.Device) *inventory.OSTree
- func (m *MockDeviceServiceInterface) GetDeviceLastDeployment(device inventory.Device) *inventory.OSTree
- func (m *MockDeviceServiceInterface) GetDevices(params *inventory.Params) (*models.DeviceDetailsList, error)
- func (m *MockDeviceServiceInterface) GetDevicesCount(tx *gorm.DB) (int64, error)
- func (m *MockDeviceServiceInterface) GetDevicesView(limit, offset int, tx *gorm.DB) (*models.DeviceViewList, error)
- func (m *MockDeviceServiceInterface) GetLatestCommitFromDevices(orgID string, devicesUUID []string) (uint, error)
- func (m *MockDeviceServiceInterface) GetUpdateAvailableForDevice(device inventory.Device, latest bool, ...) ([]models.ImageUpdateAvailable, int64, error)
- func (m *MockDeviceServiceInterface) GetUpdateAvailableForDeviceByUUID(deviceUUID string, latest bool, ...) ([]models.ImageUpdateAvailable, int64, error)
- func (m *MockDeviceServiceInterface) ProcessPlatformInventoryCreateEvent(message []byte) error
- func (m *MockDeviceServiceInterface) ProcessPlatformInventoryDeleteEvent(message []byte) error
- func (m *MockDeviceServiceInterface) ProcessPlatformInventoryUpdatedEvent(message []byte) error
- func (m *MockDeviceServiceInterface) SyncDevicesWithInventory(orgID string)
- func (m *MockDeviceServiceInterface) SyncInventoryWithDevices(orgID string)
- type MockDeviceServiceInterfaceMockRecorder
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceByID(deviceID interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceByUUID(deviceUUID interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceDetails(device, deviceUpdateImagesFilters interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceDetailsByUUID(deviceUUID, deviceUpdateImagesFilters interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceImageInfo(device, deviceUpdateImagesFilters interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceImageInfoByUUID(deviceUUID, deviceUpdateImagesFilters interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceLastBootedDeployment(device interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceLastDeployment(device interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDevices(params interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDevicesCount(tx interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetDevicesView(limit, offset, tx interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetLatestCommitFromDevices(orgID, devicesUUID interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetUpdateAvailableForDevice(device, latest, deviceUpdateImagesFilters interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) GetUpdateAvailableForDeviceByUUID(deviceUUID, latest, deviceUpdateImagesFilters interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryCreateEvent(message interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryDeleteEvent(message interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryUpdatedEvent(message interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) SyncDevicesWithInventory(orgID interface{}) *gomock.Call
- func (mr *MockDeviceServiceInterfaceMockRecorder) SyncInventoryWithDevices(orgID interface{}) *gomock.Call
- type MockDownloader
- type MockDownloaderMockRecorder
- type MockFilesService
- func (m *MockFilesService) EXPECT() *MockFilesServiceMockRecorder
- func (m *MockFilesService) GetDownloader() files.Downloader
- func (m *MockFilesService) GetExtractor() files.Extractor
- func (m *MockFilesService) GetFile(path string) (io.ReadCloser, error)
- func (m *MockFilesService) GetSignedURL(path string) (string, error)
- func (m *MockFilesService) GetUploader() files.Uploader
- type MockFilesServiceMockRecorder
- func (mr *MockFilesServiceMockRecorder) GetDownloader() *gomock.Call
- func (mr *MockFilesServiceMockRecorder) GetExtractor() *gomock.Call
- func (mr *MockFilesServiceMockRecorder) GetFile(path interface{}) *gomock.Call
- func (mr *MockFilesServiceMockRecorder) GetSignedURL(path interface{}) *gomock.Call
- func (mr *MockFilesServiceMockRecorder) GetUploader() *gomock.Call
- type MockImageServiceInterface
- func (m *MockImageServiceInterface) AddPackageInfo(image *models.Image) (services.ImageDetail, error)
- func (m *MockImageServiceInterface) AddUserInfo(image *models.Image) error
- func (m *MockImageServiceInterface) CheckIfIsLatestVersion(previousImage *models.Image) error
- func (m *MockImageServiceInterface) CheckImageName(name, orgID string) (bool, error)
- func (m *MockImageServiceInterface) CreateImage(image *models.Image) error
- func (m *MockImageServiceInterface) CreateInstallerForImage(arg0 context.Context, arg1 *models.Image) (*models.Image, error)
- func (m *MockImageServiceInterface) CreateRepoForImage(arg0 context.Context, arg1 *models.Image) (*models.Repo, error)
- func (m *MockImageServiceInterface) DeleteImage(image *models.Image) error
- func (m *MockImageServiceInterface) EXPECT() *MockImageServiceInterfaceMockRecorder
- func (m *MockImageServiceInterface) GetImageByID(id string) (*models.Image, error)
- func (m *MockImageServiceInterface) GetImageByIDExtended(imageID uint, gormDB *gorm.DB) (*models.Image, error)
- func (m *MockImageServiceInterface) GetImageByOSTreeCommitHash(commitHash string) (*models.Image, error)
- func (m *MockImageServiceInterface) GetImageDevicesCount(imageId uint) (int64, error)
- func (m *MockImageServiceInterface) GetImagesView(limit, offset int, tx *gorm.DB) (*[]models.ImageView, error)
- func (m *MockImageServiceInterface) GetImagesViewCount(tx *gorm.DB) (int64, error)
- func (m *MockImageServiceInterface) GetMetadata(image *models.Image) (*models.Image, error)
- func (m *MockImageServiceInterface) GetRollbackImage(image *models.Image) (*models.Image, error)
- func (m *MockImageServiceInterface) GetUpdateInfo(image models.Image) (*models.ImageUpdateAvailable, error)
- func (m *MockImageServiceInterface) ProcessImage(ctx context.Context, img *models.Image, handleInterruptSignal bool) error
- func (m *MockImageServiceInterface) ProcessInstaller(ctx context.Context, image *models.Image) error
- func (m *MockImageServiceInterface) ResumeCreateImage(arg0 context.Context, arg1 *models.Image) error
- func (m *MockImageServiceInterface) RetryCreateImage(arg0 context.Context, arg1 *models.Image) error
- func (m *MockImageServiceInterface) SendImageNotification(image *models.Image) (services.ImageNotification, error)
- func (m *MockImageServiceInterface) SetBuildingStatusOnImageToRetryBuild(image *models.Image) error
- func (m *MockImageServiceInterface) SetDevicesUpdateAvailabilityFromImageSet(orgID string, ImageSetID uint) error
- func (m *MockImageServiceInterface) SetErrorStatusOnImage(err error, i *models.Image)
- func (m *MockImageServiceInterface) SetFinalImageStatus(i *models.Image)
- func (m *MockImageServiceInterface) SetImageContentSourcesRepositories(image *models.Image) error
- func (m *MockImageServiceInterface) SetLog(arg0 logrus.FieldLogger)
- func (m *MockImageServiceInterface) UpdateImage(image, previousImage *models.Image) error
- func (m *MockImageServiceInterface) UpdateImageStatus(image *models.Image) (*models.Image, error)
- func (m *MockImageServiceInterface) ValidateImagePackage(pack string, image *models.Image) error
- type MockImageServiceInterfaceMockRecorder
- func (mr *MockImageServiceInterfaceMockRecorder) AddPackageInfo(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) AddUserInfo(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) CheckIfIsLatestVersion(previousImage interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) CheckImageName(name, orgID interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) CreateImage(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) CreateInstallerForImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) CreateRepoForImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) DeleteImage(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetImageByID(id interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetImageByIDExtended(imageID, gormDB interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetImageByOSTreeCommitHash(commitHash interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetImageDevicesCount(imageId interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetImagesView(limit, offset, tx interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetImagesViewCount(tx interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetMetadata(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetRollbackImage(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) GetUpdateInfo(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) ProcessImage(ctx, img, handleInterruptSignal interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) ProcessInstaller(ctx, image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) ResumeCreateImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) RetryCreateImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) SendImageNotification(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) SetBuildingStatusOnImageToRetryBuild(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) SetDevicesUpdateAvailabilityFromImageSet(orgID, ImageSetID interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) SetErrorStatusOnImage(err, i interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) SetFinalImageStatus(i interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) SetImageContentSourcesRepositories(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) SetLog(arg0 interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) UpdateImage(image, previousImage interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) UpdateImageStatus(image interface{}) *gomock.Call
- func (mr *MockImageServiceInterfaceMockRecorder) ValidateImagePackage(pack, image interface{}) *gomock.Call
- type MockImageSetsServiceInterface
- func (m *MockImageSetsServiceInterface) DeleteImageSet(imageSetID uint) error
- func (m *MockImageSetsServiceInterface) EXPECT() *MockImageSetsServiceInterfaceMockRecorder
- func (m *MockImageSetsServiceInterface) GetDeviceIdsByImageSetID(imageSetID uint) (int, []string, error)
- func (m *MockImageSetsServiceInterface) GetImageSetImageViewByID(imageSetID, imageID uint) (*services.ImageSetImageIDView, error)
- func (m *MockImageSetsServiceInterface) GetImageSetViewByID(imageSetID uint) (*services.ImageSetIDView, error)
- func (m *MockImageSetsServiceInterface) GetImageSetsBuildIsoURL(orgID string, imageSetIDS []uint) (map[uint]uint, error)
- func (m *MockImageSetsServiceInterface) GetImageSetsByID(imageSetID int) (*models.ImageSet, error)
- func (m *MockImageSetsServiceInterface) GetImageSetsView(limit, offset int, tx *gorm.DB) (*[]models.ImageSetView, error)
- func (m *MockImageSetsServiceInterface) GetImageSetsViewCount(tx *gorm.DB) (int64, error)
- func (m *MockImageSetsServiceInterface) GetImagesViewData(imageSetID uint, imagesLimit, imagesOffSet int, tx *gorm.DB) (*services.ImagesViewData, error)
- type MockImageSetsServiceInterfaceMockRecorder
- func (mr *MockImageSetsServiceInterfaceMockRecorder) DeleteImageSet(imageSetID interface{}) *gomock.Call
- func (mr *MockImageSetsServiceInterfaceMockRecorder) GetDeviceIdsByImageSetID(imageSetID interface{}) *gomock.Call
- func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetImageViewByID(imageSetID, imageID interface{}) *gomock.Call
- func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetViewByID(imageSetID interface{}) *gomock.Call
- func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetsBuildIsoURL(orgID, imageSetIDS interface{}) *gomock.Call
- func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetsByID(imageSetID interface{}) *gomock.Call
- func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetsView(limit, offset, tx interface{}) *gomock.Call
- func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetsViewCount(tx interface{}) *gomock.Call
- func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImagesViewData(imageSetID, imagesLimit, imagesOffSet, tx interface{}) *gomock.Call
- type MockRepoBuilderInterface
- func (m *MockRepoBuilderInterface) BuildUpdateRepo(id uint) (*models.UpdateTransaction, error)
- func (m *MockRepoBuilderInterface) CommitTarDelete(tarFileName string) error
- func (m *MockRepoBuilderInterface) CommitTarDownload(c *models.Commit, dest string) (string, error)
- func (m *MockRepoBuilderInterface) CommitTarExtract(c *models.Commit, tarFileName, dest string) error
- func (m *MockRepoBuilderInterface) CommitTarUpload(c *models.Commit, tarFileName string) error
- func (m *MockRepoBuilderInterface) EXPECT() *MockRepoBuilderInterfaceMockRecorder
- func (m *MockRepoBuilderInterface) ImportRepo(r *models.Repo) (*models.Repo, error)
- func (m *MockRepoBuilderInterface) RepoPullLocalStaticDeltas(u, o *models.Commit, uprepo, oldrepo string) error
- func (m *MockRepoBuilderInterface) StoreRepo(arg0 context.Context, arg1 *models.Repo) (*models.Repo, error)
- type MockRepoBuilderInterfaceMockRecorder
- func (mr *MockRepoBuilderInterfaceMockRecorder) BuildUpdateRepo(id interface{}) *gomock.Call
- func (mr *MockRepoBuilderInterfaceMockRecorder) CommitTarDelete(tarFileName interface{}) *gomock.Call
- func (mr *MockRepoBuilderInterfaceMockRecorder) CommitTarDownload(c, dest interface{}) *gomock.Call
- func (mr *MockRepoBuilderInterfaceMockRecorder) CommitTarExtract(c, tarFileName, dest interface{}) *gomock.Call
- func (mr *MockRepoBuilderInterfaceMockRecorder) CommitTarUpload(c, tarFileName interface{}) *gomock.Call
- func (mr *MockRepoBuilderInterfaceMockRecorder) ImportRepo(r interface{}) *gomock.Call
- func (mr *MockRepoBuilderInterfaceMockRecorder) RepoPullLocalStaticDeltas(u, o, uprepo, oldrepo interface{}) *gomock.Call
- func (mr *MockRepoBuilderInterfaceMockRecorder) StoreRepo(arg0, arg1 interface{}) *gomock.Call
- type MockRepoServiceInterface
- type MockRepoServiceInterfaceMockRecorder
- type MockThirdPartyRepoServiceInterface
- func (m *MockThirdPartyRepoServiceInterface) CreateThirdPartyRepo(tprepo *models.ThirdPartyRepo, orgID string) (*models.ThirdPartyRepo, error)
- func (m *MockThirdPartyRepoServiceInterface) DeleteThirdPartyRepoByID(ID string) (*models.ThirdPartyRepo, error)
- func (m *MockThirdPartyRepoServiceInterface) EXPECT() *MockThirdPartyRepoServiceInterfaceMockRecorder
- func (m *MockThirdPartyRepoServiceInterface) GetThirdPartyRepoByID(ID string) (*models.ThirdPartyRepo, error)
- func (m *MockThirdPartyRepoServiceInterface) ThirdPartyRepoNameExists(orgID, name string) (bool, error)
- func (m *MockThirdPartyRepoServiceInterface) ThirdPartyRepoURLExists(orgID, url string) (bool, error)
- func (m *MockThirdPartyRepoServiceInterface) UpdateThirdPartyRepo(tprepo *models.ThirdPartyRepo, orgID, ID string) error
- type MockThirdPartyRepoServiceInterfaceMockRecorder
- func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) CreateThirdPartyRepo(tprepo, orgID interface{}) *gomock.Call
- func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) DeleteThirdPartyRepoByID(ID interface{}) *gomock.Call
- func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) GetThirdPartyRepoByID(ID interface{}) *gomock.Call
- func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) ThirdPartyRepoNameExists(orgID, name interface{}) *gomock.Call
- func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) ThirdPartyRepoURLExists(orgID, url interface{}) *gomock.Call
- func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) UpdateThirdPartyRepo(tprepo, orgID, ID interface{}) *gomock.Call
- type MockUpdateServiceInterface
- func (m *MockUpdateServiceInterface) BuildUpdateRepo(orgID string, updateID uint) (*models.UpdateTransaction, error)
- func (m *MockUpdateServiceInterface) BuildUpdateTransactions(devicesUpdate *models.DevicesUpdate, orgID string, commit *models.Commit) (*[]models.UpdateTransaction, error)
- func (m *MockUpdateServiceInterface) CreateUpdate(id uint) (*models.UpdateTransaction, error)
- func (m *MockUpdateServiceInterface) CreateUpdateAsync(id uint)
- func (m *MockUpdateServiceInterface) EXPECT() *MockUpdateServiceInterfaceMockRecorder
- func (m *MockUpdateServiceInterface) GetUpdatePlaybook(update *models.UpdateTransaction) (io.ReadCloser, error)
- func (m *MockUpdateServiceInterface) GetUpdateTransactionsForDevice(device *models.Device) (*[]models.UpdateTransaction, error)
- func (m *MockUpdateServiceInterface) InventoryGroupDevicesUpdateInfo(orgID, inventoryGroupUUID string) (*models.InventoryGroupDevicesUpdateInfo, error)
- func (m *MockUpdateServiceInterface) ProcessPlaybookDispatcherRunEvent(message []byte) error
- func (m *MockUpdateServiceInterface) SendDeviceNotification(update *models.UpdateTransaction) (services.ImageNotification, error)
- func (m *MockUpdateServiceInterface) SetUpdateStatus(update *models.UpdateTransaction) error
- func (m *MockUpdateServiceInterface) SetUpdateStatusBasedOnDispatchRecord(dispatchRecord models.DispatchRecord) error
- func (m *MockUpdateServiceInterface) UpdateDevicesFromUpdateTransaction(update models.UpdateTransaction) error
- func (m *MockUpdateServiceInterface) ValidateUpdateDeviceGroup(orgID string, deviceGroupID uint) (bool, error)
- func (m *MockUpdateServiceInterface) ValidateUpdateSelection(orgID string, imageIds []uint) (bool, error)
- func (m *MockUpdateServiceInterface) WriteTemplate(templateInfo services.TemplateRemoteInfo, orgID string) (string, error)
- type MockUpdateServiceInterfaceMockRecorder
- func (mr *MockUpdateServiceInterfaceMockRecorder) BuildUpdateRepo(orgID, updateID interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) BuildUpdateTransactions(devicesUpdate, orgID, commit interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) CreateUpdate(id interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) CreateUpdateAsync(id interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) GetUpdatePlaybook(update interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) GetUpdateTransactionsForDevice(device interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) InventoryGroupDevicesUpdateInfo(orgID, inventoryGroupUUID interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) ProcessPlaybookDispatcherRunEvent(message interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) SendDeviceNotification(update interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) SetUpdateStatus(update interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) SetUpdateStatusBasedOnDispatchRecord(dispatchRecord interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) UpdateDevicesFromUpdateTransaction(update interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) ValidateUpdateDeviceGroup(orgID, deviceGroupID interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) ValidateUpdateSelection(orgID, imageIds interface{}) *gomock.Call
- func (mr *MockUpdateServiceInterfaceMockRecorder) WriteTemplate(templateInfo, orgID interface{}) *gomock.Call
- type MockUploader
- type MockUploaderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommitServiceInterface ¶
type MockCommitServiceInterface struct {
// contains filtered or unexported fields
}
MockCommitServiceInterface is a mock of CommitServiceInterface interface.
func NewMockCommitServiceInterface ¶
func NewMockCommitServiceInterface(ctrl *gomock.Controller) *MockCommitServiceInterface
NewMockCommitServiceInterface creates a new mock instance.
func (*MockCommitServiceInterface) EXPECT ¶
func (m *MockCommitServiceInterface) EXPECT() *MockCommitServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitServiceInterface) GetCommitByID ¶
func (m *MockCommitServiceInterface) GetCommitByID(commitID uint, orgID string) (*models.Commit, error)
GetCommitByID mocks base method.
func (*MockCommitServiceInterface) GetCommitByOSTreeCommit ¶
func (m *MockCommitServiceInterface) GetCommitByOSTreeCommit(ost string) (*models.Commit, error)
GetCommitByOSTreeCommit mocks base method.
func (*MockCommitServiceInterface) ValidateDevicesImageSetWithCommit ¶
func (m *MockCommitServiceInterface) ValidateDevicesImageSetWithCommit(deviceUUID []string, commitID uint) error
ValidateDevicesImageSetWithCommit mocks base method.
type MockCommitServiceInterfaceMockRecorder ¶
type MockCommitServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitServiceInterfaceMockRecorder is the mock recorder for MockCommitServiceInterface.
func (*MockCommitServiceInterfaceMockRecorder) GetCommitByID ¶
func (mr *MockCommitServiceInterfaceMockRecorder) GetCommitByID(commitID, orgID interface{}) *gomock.Call
GetCommitByID indicates an expected call of GetCommitByID.
func (*MockCommitServiceInterfaceMockRecorder) GetCommitByOSTreeCommit ¶
func (mr *MockCommitServiceInterfaceMockRecorder) GetCommitByOSTreeCommit(ost interface{}) *gomock.Call
GetCommitByOSTreeCommit indicates an expected call of GetCommitByOSTreeCommit.
func (*MockCommitServiceInterfaceMockRecorder) ValidateDevicesImageSetWithCommit ¶
func (mr *MockCommitServiceInterfaceMockRecorder) ValidateDevicesImageSetWithCommit(deviceUUID, commitID interface{}) *gomock.Call
ValidateDevicesImageSetWithCommit indicates an expected call of ValidateDevicesImageSetWithCommit.
type MockDeviceGroupsServiceInterface ¶
type MockDeviceGroupsServiceInterface struct {
// contains filtered or unexported fields
}
MockDeviceGroupsServiceInterface is a mock of DeviceGroupsServiceInterface interface.
func NewMockDeviceGroupsServiceInterface ¶
func NewMockDeviceGroupsServiceInterface(ctrl *gomock.Controller) *MockDeviceGroupsServiceInterface
NewMockDeviceGroupsServiceInterface creates a new mock instance.
func (*MockDeviceGroupsServiceInterface) AddDeviceGroupDevices ¶
func (m *MockDeviceGroupsServiceInterface) AddDeviceGroupDevices(orgID string, deviceGroupID uint, devices []models.Device) (*[]models.Device, error)
AddDeviceGroupDevices mocks base method.
func (*MockDeviceGroupsServiceInterface) CreateDeviceGroup ¶
func (m *MockDeviceGroupsServiceInterface) CreateDeviceGroup(deviceGroup *models.DeviceGroup) (*models.DeviceGroup, error)
CreateDeviceGroup mocks base method.
func (*MockDeviceGroupsServiceInterface) DeleteDeviceGroupByID ¶
func (m *MockDeviceGroupsServiceInterface) DeleteDeviceGroupByID(ID string) error
DeleteDeviceGroupByID mocks base method.
func (*MockDeviceGroupsServiceInterface) DeleteDeviceGroupDevices ¶
func (m *MockDeviceGroupsServiceInterface) DeleteDeviceGroupDevices(orgID string, deviceGroupID uint, devices []models.Device) (*[]models.Device, error)
DeleteDeviceGroupDevices mocks base method.
func (*MockDeviceGroupsServiceInterface) DeviceGroupNameExists ¶
func (m *MockDeviceGroupsServiceInterface) DeviceGroupNameExists(orgID, name string) (bool, error)
DeviceGroupNameExists mocks base method.
func (*MockDeviceGroupsServiceInterface) EXPECT ¶
func (m *MockDeviceGroupsServiceInterface) EXPECT() *MockDeviceGroupsServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceGroupsServiceInterface) GetDeviceGroupByID ¶
func (m *MockDeviceGroupsServiceInterface) GetDeviceGroupByID(ID string) (*models.DeviceGroup, error)
GetDeviceGroupByID mocks base method.
func (*MockDeviceGroupsServiceInterface) GetDeviceGroupDetailsByID ¶
func (m *MockDeviceGroupsServiceInterface) GetDeviceGroupDetailsByID(ID string) (*models.DeviceGroupDetails, error)
GetDeviceGroupDetailsByID mocks base method.
func (*MockDeviceGroupsServiceInterface) GetDeviceGroupDeviceByID ¶
func (m *MockDeviceGroupsServiceInterface) GetDeviceGroupDeviceByID(orgID string, deviceGroupID, deviceID uint) (*models.Device, error)
GetDeviceGroupDeviceByID mocks base method.
func (*MockDeviceGroupsServiceInterface) GetDeviceGroups ¶
func (m *MockDeviceGroupsServiceInterface) GetDeviceGroups(orgID string, limit, offset int, tx *gorm.DB) (*[]models.DeviceGroupListDetail, error)
GetDeviceGroups mocks base method.
func (*MockDeviceGroupsServiceInterface) GetDeviceGroupsCount ¶
func (m *MockDeviceGroupsServiceInterface) GetDeviceGroupsCount(orgID string, tx *gorm.DB) (int64, error)
GetDeviceGroupsCount mocks base method.
func (*MockDeviceGroupsServiceInterface) GetDeviceImageInfo ¶
func (m *MockDeviceGroupsServiceInterface) GetDeviceImageInfo(setOfImages map[int]models.DeviceImageInfo, orgID string) error
GetDeviceImageInfo mocks base method.
func (*MockDeviceGroupsServiceInterface) UpdateDeviceGroup ¶
func (m *MockDeviceGroupsServiceInterface) UpdateDeviceGroup(deviceGroup *models.DeviceGroup, orgID, ID string) error
UpdateDeviceGroup mocks base method.
type MockDeviceGroupsServiceInterfaceMockRecorder ¶
type MockDeviceGroupsServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceGroupsServiceInterfaceMockRecorder is the mock recorder for MockDeviceGroupsServiceInterface.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) AddDeviceGroupDevices ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) AddDeviceGroupDevices(orgID, deviceGroupID, devices interface{}) *gomock.Call
AddDeviceGroupDevices indicates an expected call of AddDeviceGroupDevices.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) CreateDeviceGroup ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) CreateDeviceGroup(deviceGroup interface{}) *gomock.Call
CreateDeviceGroup indicates an expected call of CreateDeviceGroup.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) DeleteDeviceGroupByID ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) DeleteDeviceGroupByID(ID interface{}) *gomock.Call
DeleteDeviceGroupByID indicates an expected call of DeleteDeviceGroupByID.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) DeleteDeviceGroupDevices ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) DeleteDeviceGroupDevices(orgID, deviceGroupID, devices interface{}) *gomock.Call
DeleteDeviceGroupDevices indicates an expected call of DeleteDeviceGroupDevices.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) DeviceGroupNameExists ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) DeviceGroupNameExists(orgID, name interface{}) *gomock.Call
DeviceGroupNameExists indicates an expected call of DeviceGroupNameExists.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupByID ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupByID(ID interface{}) *gomock.Call
GetDeviceGroupByID indicates an expected call of GetDeviceGroupByID.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupDetailsByID ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupDetailsByID(ID interface{}) *gomock.Call
GetDeviceGroupDetailsByID indicates an expected call of GetDeviceGroupDetailsByID.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupDeviceByID ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupDeviceByID(orgID, deviceGroupID, deviceID interface{}) *gomock.Call
GetDeviceGroupDeviceByID indicates an expected call of GetDeviceGroupDeviceByID.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroups ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroups(orgID, limit, offset, tx interface{}) *gomock.Call
GetDeviceGroups indicates an expected call of GetDeviceGroups.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupsCount ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceGroupsCount(orgID, tx interface{}) *gomock.Call
GetDeviceGroupsCount indicates an expected call of GetDeviceGroupsCount.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceImageInfo ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) GetDeviceImageInfo(setOfImages, orgID interface{}) *gomock.Call
GetDeviceImageInfo indicates an expected call of GetDeviceImageInfo.
func (*MockDeviceGroupsServiceInterfaceMockRecorder) UpdateDeviceGroup ¶
func (mr *MockDeviceGroupsServiceInterfaceMockRecorder) UpdateDeviceGroup(deviceGroup, orgID, ID interface{}) *gomock.Call
UpdateDeviceGroup indicates an expected call of UpdateDeviceGroup.
type MockDeviceServiceInterface ¶
type MockDeviceServiceInterface struct {
// contains filtered or unexported fields
}
MockDeviceServiceInterface is a mock of DeviceServiceInterface interface.
func NewMockDeviceServiceInterface ¶
func NewMockDeviceServiceInterface(ctrl *gomock.Controller) *MockDeviceServiceInterface
NewMockDeviceServiceInterface creates a new mock instance.
func (*MockDeviceServiceInterface) EXPECT ¶
func (m *MockDeviceServiceInterface) EXPECT() *MockDeviceServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceServiceInterface) GetDeviceByID ¶
func (m *MockDeviceServiceInterface) GetDeviceByID(deviceID uint) (*models.Device, error)
GetDeviceByID mocks base method.
func (*MockDeviceServiceInterface) GetDeviceByUUID ¶
func (m *MockDeviceServiceInterface) GetDeviceByUUID(deviceUUID string) (*models.Device, error)
GetDeviceByUUID mocks base method.
func (*MockDeviceServiceInterface) GetDeviceDetails ¶
func (m *MockDeviceServiceInterface) GetDeviceDetails(device inventory.Device, deviceUpdateImagesFilters models.DeviceUpdateImagesFilters) (*models.DeviceDetails, error)
GetDeviceDetails mocks base method.
func (*MockDeviceServiceInterface) GetDeviceDetailsByUUID ¶
func (m *MockDeviceServiceInterface) GetDeviceDetailsByUUID(deviceUUID string, deviceUpdateImagesFilters models.DeviceUpdateImagesFilters) (*models.DeviceDetails, error)
GetDeviceDetailsByUUID mocks base method.
func (*MockDeviceServiceInterface) GetDeviceImageInfo ¶
func (m *MockDeviceServiceInterface) GetDeviceImageInfo(device inventory.Device, deviceUpdateImagesFilters models.DeviceUpdateImagesFilters) (*models.ImageInfo, error)
GetDeviceImageInfo mocks base method.
func (*MockDeviceServiceInterface) GetDeviceImageInfoByUUID ¶
func (m *MockDeviceServiceInterface) GetDeviceImageInfoByUUID(deviceUUID string, deviceUpdateImagesFilters models.DeviceUpdateImagesFilters) (*models.ImageInfo, error)
GetDeviceImageInfoByUUID mocks base method.
func (*MockDeviceServiceInterface) GetDeviceLastBootedDeployment ¶
func (m *MockDeviceServiceInterface) GetDeviceLastBootedDeployment(device inventory.Device) *inventory.OSTree
GetDeviceLastBootedDeployment mocks base method.
func (*MockDeviceServiceInterface) GetDeviceLastDeployment ¶
func (m *MockDeviceServiceInterface) GetDeviceLastDeployment(device inventory.Device) *inventory.OSTree
GetDeviceLastDeployment mocks base method.
func (*MockDeviceServiceInterface) GetDevices ¶
func (m *MockDeviceServiceInterface) GetDevices(params *inventory.Params) (*models.DeviceDetailsList, error)
GetDevices mocks base method.
func (*MockDeviceServiceInterface) GetDevicesCount ¶
func (m *MockDeviceServiceInterface) GetDevicesCount(tx *gorm.DB) (int64, error)
GetDevicesCount mocks base method.
func (*MockDeviceServiceInterface) GetDevicesView ¶
func (m *MockDeviceServiceInterface) GetDevicesView(limit, offset int, tx *gorm.DB) (*models.DeviceViewList, error)
GetDevicesView mocks base method.
func (*MockDeviceServiceInterface) GetLatestCommitFromDevices ¶
func (m *MockDeviceServiceInterface) GetLatestCommitFromDevices(orgID string, devicesUUID []string) (uint, error)
GetLatestCommitFromDevices mocks base method.
func (*MockDeviceServiceInterface) GetUpdateAvailableForDevice ¶
func (m *MockDeviceServiceInterface) GetUpdateAvailableForDevice(device inventory.Device, latest bool, deviceUpdateImagesFilters models.DeviceUpdateImagesFilters) ([]models.ImageUpdateAvailable, int64, error)
GetUpdateAvailableForDevice mocks base method.
func (*MockDeviceServiceInterface) GetUpdateAvailableForDeviceByUUID ¶
func (m *MockDeviceServiceInterface) GetUpdateAvailableForDeviceByUUID(deviceUUID string, latest bool, deviceUpdateImagesFilters models.DeviceUpdateImagesFilters) ([]models.ImageUpdateAvailable, int64, error)
GetUpdateAvailableForDeviceByUUID mocks base method.
func (*MockDeviceServiceInterface) ProcessPlatformInventoryCreateEvent ¶
func (m *MockDeviceServiceInterface) ProcessPlatformInventoryCreateEvent(message []byte) error
ProcessPlatformInventoryCreateEvent mocks base method.
func (*MockDeviceServiceInterface) ProcessPlatformInventoryDeleteEvent ¶
func (m *MockDeviceServiceInterface) ProcessPlatformInventoryDeleteEvent(message []byte) error
ProcessPlatformInventoryDeleteEvent mocks base method.
func (*MockDeviceServiceInterface) ProcessPlatformInventoryUpdatedEvent ¶
func (m *MockDeviceServiceInterface) ProcessPlatformInventoryUpdatedEvent(message []byte) error
ProcessPlatformInventoryUpdatedEvent mocks base method.
func (*MockDeviceServiceInterface) SyncDevicesWithInventory ¶
func (m *MockDeviceServiceInterface) SyncDevicesWithInventory(orgID string)
SyncDevicesWithInventory mocks base method.
func (*MockDeviceServiceInterface) SyncInventoryWithDevices ¶
func (m *MockDeviceServiceInterface) SyncInventoryWithDevices(orgID string)
SyncInventoryWithDevices mocks base method.
type MockDeviceServiceInterfaceMockRecorder ¶
type MockDeviceServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceServiceInterfaceMockRecorder is the mock recorder for MockDeviceServiceInterface.
func (*MockDeviceServiceInterfaceMockRecorder) GetDeviceByID ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceByID(deviceID interface{}) *gomock.Call
GetDeviceByID indicates an expected call of GetDeviceByID.
func (*MockDeviceServiceInterfaceMockRecorder) GetDeviceByUUID ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceByUUID(deviceUUID interface{}) *gomock.Call
GetDeviceByUUID indicates an expected call of GetDeviceByUUID.
func (*MockDeviceServiceInterfaceMockRecorder) GetDeviceDetails ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceDetails(device, deviceUpdateImagesFilters interface{}) *gomock.Call
GetDeviceDetails indicates an expected call of GetDeviceDetails.
func (*MockDeviceServiceInterfaceMockRecorder) GetDeviceDetailsByUUID ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceDetailsByUUID(deviceUUID, deviceUpdateImagesFilters interface{}) *gomock.Call
GetDeviceDetailsByUUID indicates an expected call of GetDeviceDetailsByUUID.
func (*MockDeviceServiceInterfaceMockRecorder) GetDeviceImageInfo ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceImageInfo(device, deviceUpdateImagesFilters interface{}) *gomock.Call
GetDeviceImageInfo indicates an expected call of GetDeviceImageInfo.
func (*MockDeviceServiceInterfaceMockRecorder) GetDeviceImageInfoByUUID ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceImageInfoByUUID(deviceUUID, deviceUpdateImagesFilters interface{}) *gomock.Call
GetDeviceImageInfoByUUID indicates an expected call of GetDeviceImageInfoByUUID.
func (*MockDeviceServiceInterfaceMockRecorder) GetDeviceLastBootedDeployment ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceLastBootedDeployment(device interface{}) *gomock.Call
GetDeviceLastBootedDeployment indicates an expected call of GetDeviceLastBootedDeployment.
func (*MockDeviceServiceInterfaceMockRecorder) GetDeviceLastDeployment ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDeviceLastDeployment(device interface{}) *gomock.Call
GetDeviceLastDeployment indicates an expected call of GetDeviceLastDeployment.
func (*MockDeviceServiceInterfaceMockRecorder) GetDevices ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDevices(params interface{}) *gomock.Call
GetDevices indicates an expected call of GetDevices.
func (*MockDeviceServiceInterfaceMockRecorder) GetDevicesCount ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDevicesCount(tx interface{}) *gomock.Call
GetDevicesCount indicates an expected call of GetDevicesCount.
func (*MockDeviceServiceInterfaceMockRecorder) GetDevicesView ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetDevicesView(limit, offset, tx interface{}) *gomock.Call
GetDevicesView indicates an expected call of GetDevicesView.
func (*MockDeviceServiceInterfaceMockRecorder) GetLatestCommitFromDevices ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetLatestCommitFromDevices(orgID, devicesUUID interface{}) *gomock.Call
GetLatestCommitFromDevices indicates an expected call of GetLatestCommitFromDevices.
func (*MockDeviceServiceInterfaceMockRecorder) GetUpdateAvailableForDevice ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetUpdateAvailableForDevice(device, latest, deviceUpdateImagesFilters interface{}) *gomock.Call
GetUpdateAvailableForDevice indicates an expected call of GetUpdateAvailableForDevice.
func (*MockDeviceServiceInterfaceMockRecorder) GetUpdateAvailableForDeviceByUUID ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) GetUpdateAvailableForDeviceByUUID(deviceUUID, latest, deviceUpdateImagesFilters interface{}) *gomock.Call
GetUpdateAvailableForDeviceByUUID indicates an expected call of GetUpdateAvailableForDeviceByUUID.
func (*MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryCreateEvent ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryCreateEvent(message interface{}) *gomock.Call
ProcessPlatformInventoryCreateEvent indicates an expected call of ProcessPlatformInventoryCreateEvent.
func (*MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryDeleteEvent ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryDeleteEvent(message interface{}) *gomock.Call
ProcessPlatformInventoryDeleteEvent indicates an expected call of ProcessPlatformInventoryDeleteEvent.
func (*MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryUpdatedEvent ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) ProcessPlatformInventoryUpdatedEvent(message interface{}) *gomock.Call
ProcessPlatformInventoryUpdatedEvent indicates an expected call of ProcessPlatformInventoryUpdatedEvent.
func (*MockDeviceServiceInterfaceMockRecorder) SyncDevicesWithInventory ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) SyncDevicesWithInventory(orgID interface{}) *gomock.Call
SyncDevicesWithInventory indicates an expected call of SyncDevicesWithInventory.
func (*MockDeviceServiceInterfaceMockRecorder) SyncInventoryWithDevices ¶
func (mr *MockDeviceServiceInterfaceMockRecorder) SyncInventoryWithDevices(orgID interface{}) *gomock.Call
SyncInventoryWithDevices indicates an expected call of SyncInventoryWithDevices.
type MockDownloader ¶
type MockDownloader struct {
// contains filtered or unexported fields
}
MockDownloader is a mock of Downloader interface.
func NewMockDownloader ¶
func NewMockDownloader(ctrl *gomock.Controller) *MockDownloader
NewMockDownloader creates a new mock instance.
func (*MockDownloader) DownloadToPath ¶
func (m *MockDownloader) DownloadToPath(source, destinationPath string) error
DownloadToPath mocks base method.
func (*MockDownloader) EXPECT ¶
func (m *MockDownloader) EXPECT() *MockDownloaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDownloaderMockRecorder ¶
type MockDownloaderMockRecorder struct {
// contains filtered or unexported fields
}
MockDownloaderMockRecorder is the mock recorder for MockDownloader.
func (*MockDownloaderMockRecorder) DownloadToPath ¶
func (mr *MockDownloaderMockRecorder) DownloadToPath(source, destinationPath interface{}) *gomock.Call
DownloadToPath indicates an expected call of DownloadToPath.
type MockFilesService ¶
type MockFilesService struct {
// contains filtered or unexported fields
}
MockFilesService is a mock of FilesService interface.
func NewMockFilesService ¶
func NewMockFilesService(ctrl *gomock.Controller) *MockFilesService
NewMockFilesService creates a new mock instance.
func (*MockFilesService) EXPECT ¶
func (m *MockFilesService) EXPECT() *MockFilesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFilesService) GetDownloader ¶
func (m *MockFilesService) GetDownloader() files.Downloader
GetDownloader mocks base method.
func (*MockFilesService) GetExtractor ¶
func (m *MockFilesService) GetExtractor() files.Extractor
GetExtractor mocks base method.
func (*MockFilesService) GetFile ¶
func (m *MockFilesService) GetFile(path string) (io.ReadCloser, error)
GetFile mocks base method.
func (*MockFilesService) GetSignedURL ¶
func (m *MockFilesService) GetSignedURL(path string) (string, error)
GetSignedURL mocks base method.
func (*MockFilesService) GetUploader ¶
func (m *MockFilesService) GetUploader() files.Uploader
GetUploader mocks base method.
type MockFilesServiceMockRecorder ¶
type MockFilesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFilesServiceMockRecorder is the mock recorder for MockFilesService.
func (*MockFilesServiceMockRecorder) GetDownloader ¶
func (mr *MockFilesServiceMockRecorder) GetDownloader() *gomock.Call
GetDownloader indicates an expected call of GetDownloader.
func (*MockFilesServiceMockRecorder) GetExtractor ¶
func (mr *MockFilesServiceMockRecorder) GetExtractor() *gomock.Call
GetExtractor indicates an expected call of GetExtractor.
func (*MockFilesServiceMockRecorder) GetFile ¶
func (mr *MockFilesServiceMockRecorder) GetFile(path interface{}) *gomock.Call
GetFile indicates an expected call of GetFile.
func (*MockFilesServiceMockRecorder) GetSignedURL ¶
func (mr *MockFilesServiceMockRecorder) GetSignedURL(path interface{}) *gomock.Call
GetSignedURL indicates an expected call of GetSignedURL.
func (*MockFilesServiceMockRecorder) GetUploader ¶
func (mr *MockFilesServiceMockRecorder) GetUploader() *gomock.Call
GetUploader indicates an expected call of GetUploader.
type MockImageServiceInterface ¶
type MockImageServiceInterface struct {
// contains filtered or unexported fields
}
MockImageServiceInterface is a mock of ImageServiceInterface interface.
func NewMockImageServiceInterface ¶
func NewMockImageServiceInterface(ctrl *gomock.Controller) *MockImageServiceInterface
NewMockImageServiceInterface creates a new mock instance.
func (*MockImageServiceInterface) AddPackageInfo ¶
func (m *MockImageServiceInterface) AddPackageInfo(image *models.Image) (services.ImageDetail, error)
AddPackageInfo mocks base method.
func (*MockImageServiceInterface) AddUserInfo ¶
func (m *MockImageServiceInterface) AddUserInfo(image *models.Image) error
AddUserInfo mocks base method.
func (*MockImageServiceInterface) CheckIfIsLatestVersion ¶
func (m *MockImageServiceInterface) CheckIfIsLatestVersion(previousImage *models.Image) error
CheckIfIsLatestVersion mocks base method.
func (*MockImageServiceInterface) CheckImageName ¶
func (m *MockImageServiceInterface) CheckImageName(name, orgID string) (bool, error)
CheckImageName mocks base method.
func (*MockImageServiceInterface) CreateImage ¶
func (m *MockImageServiceInterface) CreateImage(image *models.Image) error
CreateImage mocks base method.
func (*MockImageServiceInterface) CreateInstallerForImage ¶
func (m *MockImageServiceInterface) CreateInstallerForImage(arg0 context.Context, arg1 *models.Image) (*models.Image, error)
CreateInstallerForImage mocks base method.
func (*MockImageServiceInterface) CreateRepoForImage ¶
func (m *MockImageServiceInterface) CreateRepoForImage(arg0 context.Context, arg1 *models.Image) (*models.Repo, error)
CreateRepoForImage mocks base method.
func (*MockImageServiceInterface) DeleteImage ¶
func (m *MockImageServiceInterface) DeleteImage(image *models.Image) error
DeleteImage mocks base method.
func (*MockImageServiceInterface) EXPECT ¶
func (m *MockImageServiceInterface) EXPECT() *MockImageServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImageServiceInterface) GetImageByID ¶
func (m *MockImageServiceInterface) GetImageByID(id string) (*models.Image, error)
GetImageByID mocks base method.
func (*MockImageServiceInterface) GetImageByIDExtended ¶
func (m *MockImageServiceInterface) GetImageByIDExtended(imageID uint, gormDB *gorm.DB) (*models.Image, error)
GetImageByIDExtended mocks base method.
func (*MockImageServiceInterface) GetImageByOSTreeCommitHash ¶
func (m *MockImageServiceInterface) GetImageByOSTreeCommitHash(commitHash string) (*models.Image, error)
GetImageByOSTreeCommitHash mocks base method.
func (*MockImageServiceInterface) GetImageDevicesCount ¶
func (m *MockImageServiceInterface) GetImageDevicesCount(imageId uint) (int64, error)
GetImageDevicesCount mocks base method.
func (*MockImageServiceInterface) GetImagesView ¶
func (m *MockImageServiceInterface) GetImagesView(limit, offset int, tx *gorm.DB) (*[]models.ImageView, error)
GetImagesView mocks base method.
func (*MockImageServiceInterface) GetImagesViewCount ¶
func (m *MockImageServiceInterface) GetImagesViewCount(tx *gorm.DB) (int64, error)
GetImagesViewCount mocks base method.
func (*MockImageServiceInterface) GetMetadata ¶
GetMetadata mocks base method.
func (*MockImageServiceInterface) GetRollbackImage ¶
GetRollbackImage mocks base method.
func (*MockImageServiceInterface) GetUpdateInfo ¶
func (m *MockImageServiceInterface) GetUpdateInfo(image models.Image) (*models.ImageUpdateAvailable, error)
GetUpdateInfo mocks base method.
func (*MockImageServiceInterface) ProcessImage ¶
func (m *MockImageServiceInterface) ProcessImage(ctx context.Context, img *models.Image, handleInterruptSignal bool) error
ProcessImage mocks base method.
func (*MockImageServiceInterface) ProcessInstaller ¶
func (m *MockImageServiceInterface) ProcessInstaller(ctx context.Context, image *models.Image) error
ProcessInstaller mocks base method.
func (*MockImageServiceInterface) ResumeCreateImage ¶
func (m *MockImageServiceInterface) ResumeCreateImage(arg0 context.Context, arg1 *models.Image) error
ResumeCreateImage mocks base method.
func (*MockImageServiceInterface) RetryCreateImage ¶
func (m *MockImageServiceInterface) RetryCreateImage(arg0 context.Context, arg1 *models.Image) error
RetryCreateImage mocks base method.
func (*MockImageServiceInterface) SendImageNotification ¶
func (m *MockImageServiceInterface) SendImageNotification(image *models.Image) (services.ImageNotification, error)
SendImageNotification mocks base method.
func (*MockImageServiceInterface) SetBuildingStatusOnImageToRetryBuild ¶
func (m *MockImageServiceInterface) SetBuildingStatusOnImageToRetryBuild(image *models.Image) error
SetBuildingStatusOnImageToRetryBuild mocks base method.
func (*MockImageServiceInterface) SetDevicesUpdateAvailabilityFromImageSet ¶
func (m *MockImageServiceInterface) SetDevicesUpdateAvailabilityFromImageSet(orgID string, ImageSetID uint) error
SetDevicesUpdateAvailabilityFromImageSet mocks base method.
func (*MockImageServiceInterface) SetErrorStatusOnImage ¶
func (m *MockImageServiceInterface) SetErrorStatusOnImage(err error, i *models.Image)
SetErrorStatusOnImage mocks base method.
func (*MockImageServiceInterface) SetFinalImageStatus ¶
func (m *MockImageServiceInterface) SetFinalImageStatus(i *models.Image)
SetFinalImageStatus mocks base method.
func (*MockImageServiceInterface) SetImageContentSourcesRepositories ¶
func (m *MockImageServiceInterface) SetImageContentSourcesRepositories(image *models.Image) error
SetImageContentSourcesRepositories mocks base method.
func (*MockImageServiceInterface) SetLog ¶
func (m *MockImageServiceInterface) SetLog(arg0 logrus.FieldLogger)
SetLog mocks base method.
func (*MockImageServiceInterface) UpdateImage ¶
func (m *MockImageServiceInterface) UpdateImage(image, previousImage *models.Image) error
UpdateImage mocks base method.
func (*MockImageServiceInterface) UpdateImageStatus ¶
UpdateImageStatus mocks base method.
func (*MockImageServiceInterface) ValidateImagePackage ¶
func (m *MockImageServiceInterface) ValidateImagePackage(pack string, image *models.Image) error
ValidateImagePackage mocks base method.
type MockImageServiceInterfaceMockRecorder ¶
type MockImageServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockImageServiceInterfaceMockRecorder is the mock recorder for MockImageServiceInterface.
func (*MockImageServiceInterfaceMockRecorder) AddPackageInfo ¶
func (mr *MockImageServiceInterfaceMockRecorder) AddPackageInfo(image interface{}) *gomock.Call
AddPackageInfo indicates an expected call of AddPackageInfo.
func (*MockImageServiceInterfaceMockRecorder) AddUserInfo ¶
func (mr *MockImageServiceInterfaceMockRecorder) AddUserInfo(image interface{}) *gomock.Call
AddUserInfo indicates an expected call of AddUserInfo.
func (*MockImageServiceInterfaceMockRecorder) CheckIfIsLatestVersion ¶
func (mr *MockImageServiceInterfaceMockRecorder) CheckIfIsLatestVersion(previousImage interface{}) *gomock.Call
CheckIfIsLatestVersion indicates an expected call of CheckIfIsLatestVersion.
func (*MockImageServiceInterfaceMockRecorder) CheckImageName ¶
func (mr *MockImageServiceInterfaceMockRecorder) CheckImageName(name, orgID interface{}) *gomock.Call
CheckImageName indicates an expected call of CheckImageName.
func (*MockImageServiceInterfaceMockRecorder) CreateImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) CreateImage(image interface{}) *gomock.Call
CreateImage indicates an expected call of CreateImage.
func (*MockImageServiceInterfaceMockRecorder) CreateInstallerForImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) CreateInstallerForImage(arg0, arg1 interface{}) *gomock.Call
CreateInstallerForImage indicates an expected call of CreateInstallerForImage.
func (*MockImageServiceInterfaceMockRecorder) CreateRepoForImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) CreateRepoForImage(arg0, arg1 interface{}) *gomock.Call
CreateRepoForImage indicates an expected call of CreateRepoForImage.
func (*MockImageServiceInterfaceMockRecorder) DeleteImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) DeleteImage(image interface{}) *gomock.Call
DeleteImage indicates an expected call of DeleteImage.
func (*MockImageServiceInterfaceMockRecorder) GetImageByID ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetImageByID(id interface{}) *gomock.Call
GetImageByID indicates an expected call of GetImageByID.
func (*MockImageServiceInterfaceMockRecorder) GetImageByIDExtended ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetImageByIDExtended(imageID, gormDB interface{}) *gomock.Call
GetImageByIDExtended indicates an expected call of GetImageByIDExtended.
func (*MockImageServiceInterfaceMockRecorder) GetImageByOSTreeCommitHash ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetImageByOSTreeCommitHash(commitHash interface{}) *gomock.Call
GetImageByOSTreeCommitHash indicates an expected call of GetImageByOSTreeCommitHash.
func (*MockImageServiceInterfaceMockRecorder) GetImageDevicesCount ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetImageDevicesCount(imageId interface{}) *gomock.Call
GetImageDevicesCount indicates an expected call of GetImageDevicesCount.
func (*MockImageServiceInterfaceMockRecorder) GetImagesView ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetImagesView(limit, offset, tx interface{}) *gomock.Call
GetImagesView indicates an expected call of GetImagesView.
func (*MockImageServiceInterfaceMockRecorder) GetImagesViewCount ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetImagesViewCount(tx interface{}) *gomock.Call
GetImagesViewCount indicates an expected call of GetImagesViewCount.
func (*MockImageServiceInterfaceMockRecorder) GetMetadata ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetMetadata(image interface{}) *gomock.Call
GetMetadata indicates an expected call of GetMetadata.
func (*MockImageServiceInterfaceMockRecorder) GetRollbackImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetRollbackImage(image interface{}) *gomock.Call
GetRollbackImage indicates an expected call of GetRollbackImage.
func (*MockImageServiceInterfaceMockRecorder) GetUpdateInfo ¶
func (mr *MockImageServiceInterfaceMockRecorder) GetUpdateInfo(image interface{}) *gomock.Call
GetUpdateInfo indicates an expected call of GetUpdateInfo.
func (*MockImageServiceInterfaceMockRecorder) ProcessImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) ProcessImage(ctx, img, handleInterruptSignal interface{}) *gomock.Call
ProcessImage indicates an expected call of ProcessImage.
func (*MockImageServiceInterfaceMockRecorder) ProcessInstaller ¶
func (mr *MockImageServiceInterfaceMockRecorder) ProcessInstaller(ctx, image interface{}) *gomock.Call
ProcessInstaller indicates an expected call of ProcessInstaller.
func (*MockImageServiceInterfaceMockRecorder) ResumeCreateImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) ResumeCreateImage(arg0, arg1 interface{}) *gomock.Call
ResumeCreateImage indicates an expected call of ResumeCreateImage.
func (*MockImageServiceInterfaceMockRecorder) RetryCreateImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) RetryCreateImage(arg0, arg1 interface{}) *gomock.Call
RetryCreateImage indicates an expected call of RetryCreateImage.
func (*MockImageServiceInterfaceMockRecorder) SendImageNotification ¶
func (mr *MockImageServiceInterfaceMockRecorder) SendImageNotification(image interface{}) *gomock.Call
SendImageNotification indicates an expected call of SendImageNotification.
func (*MockImageServiceInterfaceMockRecorder) SetBuildingStatusOnImageToRetryBuild ¶
func (mr *MockImageServiceInterfaceMockRecorder) SetBuildingStatusOnImageToRetryBuild(image interface{}) *gomock.Call
SetBuildingStatusOnImageToRetryBuild indicates an expected call of SetBuildingStatusOnImageToRetryBuild.
func (*MockImageServiceInterfaceMockRecorder) SetDevicesUpdateAvailabilityFromImageSet ¶
func (mr *MockImageServiceInterfaceMockRecorder) SetDevicesUpdateAvailabilityFromImageSet(orgID, ImageSetID interface{}) *gomock.Call
SetDevicesUpdateAvailabilityFromImageSet indicates an expected call of SetDevicesUpdateAvailabilityFromImageSet.
func (*MockImageServiceInterfaceMockRecorder) SetErrorStatusOnImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) SetErrorStatusOnImage(err, i interface{}) *gomock.Call
SetErrorStatusOnImage indicates an expected call of SetErrorStatusOnImage.
func (*MockImageServiceInterfaceMockRecorder) SetFinalImageStatus ¶
func (mr *MockImageServiceInterfaceMockRecorder) SetFinalImageStatus(i interface{}) *gomock.Call
SetFinalImageStatus indicates an expected call of SetFinalImageStatus.
func (*MockImageServiceInterfaceMockRecorder) SetImageContentSourcesRepositories ¶
func (mr *MockImageServiceInterfaceMockRecorder) SetImageContentSourcesRepositories(image interface{}) *gomock.Call
SetImageContentSourcesRepositories indicates an expected call of SetImageContentSourcesRepositories.
func (*MockImageServiceInterfaceMockRecorder) SetLog ¶
func (mr *MockImageServiceInterfaceMockRecorder) SetLog(arg0 interface{}) *gomock.Call
SetLog indicates an expected call of SetLog.
func (*MockImageServiceInterfaceMockRecorder) UpdateImage ¶
func (mr *MockImageServiceInterfaceMockRecorder) UpdateImage(image, previousImage interface{}) *gomock.Call
UpdateImage indicates an expected call of UpdateImage.
func (*MockImageServiceInterfaceMockRecorder) UpdateImageStatus ¶
func (mr *MockImageServiceInterfaceMockRecorder) UpdateImageStatus(image interface{}) *gomock.Call
UpdateImageStatus indicates an expected call of UpdateImageStatus.
func (*MockImageServiceInterfaceMockRecorder) ValidateImagePackage ¶
func (mr *MockImageServiceInterfaceMockRecorder) ValidateImagePackage(pack, image interface{}) *gomock.Call
ValidateImagePackage indicates an expected call of ValidateImagePackage.
type MockImageSetsServiceInterface ¶
type MockImageSetsServiceInterface struct {
// contains filtered or unexported fields
}
MockImageSetsServiceInterface is a mock of ImageSetsServiceInterface interface.
func NewMockImageSetsServiceInterface ¶
func NewMockImageSetsServiceInterface(ctrl *gomock.Controller) *MockImageSetsServiceInterface
NewMockImageSetsServiceInterface creates a new mock instance.
func (*MockImageSetsServiceInterface) DeleteImageSet ¶
func (m *MockImageSetsServiceInterface) DeleteImageSet(imageSetID uint) error
DeleteImageSet mocks base method.
func (*MockImageSetsServiceInterface) EXPECT ¶
func (m *MockImageSetsServiceInterface) EXPECT() *MockImageSetsServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImageSetsServiceInterface) GetDeviceIdsByImageSetID ¶
func (m *MockImageSetsServiceInterface) GetDeviceIdsByImageSetID(imageSetID uint) (int, []string, error)
GetDeviceIdsByImageSetID mocks base method.
func (*MockImageSetsServiceInterface) GetImageSetImageViewByID ¶
func (m *MockImageSetsServiceInterface) GetImageSetImageViewByID(imageSetID, imageID uint) (*services.ImageSetImageIDView, error)
GetImageSetImageViewByID mocks base method.
func (*MockImageSetsServiceInterface) GetImageSetViewByID ¶
func (m *MockImageSetsServiceInterface) GetImageSetViewByID(imageSetID uint) (*services.ImageSetIDView, error)
GetImageSetViewByID mocks base method.
func (*MockImageSetsServiceInterface) GetImageSetsBuildIsoURL ¶
func (m *MockImageSetsServiceInterface) GetImageSetsBuildIsoURL(orgID string, imageSetIDS []uint) (map[uint]uint, error)
GetImageSetsBuildIsoURL mocks base method.
func (*MockImageSetsServiceInterface) GetImageSetsByID ¶
func (m *MockImageSetsServiceInterface) GetImageSetsByID(imageSetID int) (*models.ImageSet, error)
GetImageSetsByID mocks base method.
func (*MockImageSetsServiceInterface) GetImageSetsView ¶
func (m *MockImageSetsServiceInterface) GetImageSetsView(limit, offset int, tx *gorm.DB) (*[]models.ImageSetView, error)
GetImageSetsView mocks base method.
func (*MockImageSetsServiceInterface) GetImageSetsViewCount ¶
func (m *MockImageSetsServiceInterface) GetImageSetsViewCount(tx *gorm.DB) (int64, error)
GetImageSetsViewCount mocks base method.
func (*MockImageSetsServiceInterface) GetImagesViewData ¶
func (m *MockImageSetsServiceInterface) GetImagesViewData(imageSetID uint, imagesLimit, imagesOffSet int, tx *gorm.DB) (*services.ImagesViewData, error)
GetImagesViewData mocks base method.
type MockImageSetsServiceInterfaceMockRecorder ¶
type MockImageSetsServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockImageSetsServiceInterfaceMockRecorder is the mock recorder for MockImageSetsServiceInterface.
func (*MockImageSetsServiceInterfaceMockRecorder) DeleteImageSet ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) DeleteImageSet(imageSetID interface{}) *gomock.Call
DeleteImageSet indicates an expected call of DeleteImageSet.
func (*MockImageSetsServiceInterfaceMockRecorder) GetDeviceIdsByImageSetID ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) GetDeviceIdsByImageSetID(imageSetID interface{}) *gomock.Call
GetDeviceIdsByImageSetID indicates an expected call of GetDeviceIdsByImageSetID.
func (*MockImageSetsServiceInterfaceMockRecorder) GetImageSetImageViewByID ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetImageViewByID(imageSetID, imageID interface{}) *gomock.Call
GetImageSetImageViewByID indicates an expected call of GetImageSetImageViewByID.
func (*MockImageSetsServiceInterfaceMockRecorder) GetImageSetViewByID ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetViewByID(imageSetID interface{}) *gomock.Call
GetImageSetViewByID indicates an expected call of GetImageSetViewByID.
func (*MockImageSetsServiceInterfaceMockRecorder) GetImageSetsBuildIsoURL ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetsBuildIsoURL(orgID, imageSetIDS interface{}) *gomock.Call
GetImageSetsBuildIsoURL indicates an expected call of GetImageSetsBuildIsoURL.
func (*MockImageSetsServiceInterfaceMockRecorder) GetImageSetsByID ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetsByID(imageSetID interface{}) *gomock.Call
GetImageSetsByID indicates an expected call of GetImageSetsByID.
func (*MockImageSetsServiceInterfaceMockRecorder) GetImageSetsView ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetsView(limit, offset, tx interface{}) *gomock.Call
GetImageSetsView indicates an expected call of GetImageSetsView.
func (*MockImageSetsServiceInterfaceMockRecorder) GetImageSetsViewCount ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImageSetsViewCount(tx interface{}) *gomock.Call
GetImageSetsViewCount indicates an expected call of GetImageSetsViewCount.
func (*MockImageSetsServiceInterfaceMockRecorder) GetImagesViewData ¶
func (mr *MockImageSetsServiceInterfaceMockRecorder) GetImagesViewData(imageSetID, imagesLimit, imagesOffSet, tx interface{}) *gomock.Call
GetImagesViewData indicates an expected call of GetImagesViewData.
type MockRepoBuilderInterface ¶
type MockRepoBuilderInterface struct {
// contains filtered or unexported fields
}
MockRepoBuilderInterface is a mock of RepoBuilderInterface interface.
func NewMockRepoBuilderInterface ¶
func NewMockRepoBuilderInterface(ctrl *gomock.Controller) *MockRepoBuilderInterface
NewMockRepoBuilderInterface creates a new mock instance.
func (*MockRepoBuilderInterface) BuildUpdateRepo ¶
func (m *MockRepoBuilderInterface) BuildUpdateRepo(id uint) (*models.UpdateTransaction, error)
BuildUpdateRepo mocks base method.
func (*MockRepoBuilderInterface) CommitTarDelete ¶
func (m *MockRepoBuilderInterface) CommitTarDelete(tarFileName string) error
CommitTarDelete mocks base method.
func (*MockRepoBuilderInterface) CommitTarDownload ¶
CommitTarDownload mocks base method.
func (*MockRepoBuilderInterface) CommitTarExtract ¶
func (m *MockRepoBuilderInterface) CommitTarExtract(c *models.Commit, tarFileName, dest string) error
CommitTarExtract mocks base method.
func (*MockRepoBuilderInterface) CommitTarUpload ¶
func (m *MockRepoBuilderInterface) CommitTarUpload(c *models.Commit, tarFileName string) error
CommitTarUpload mocks base method.
func (*MockRepoBuilderInterface) EXPECT ¶
func (m *MockRepoBuilderInterface) EXPECT() *MockRepoBuilderInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepoBuilderInterface) ImportRepo ¶
ImportRepo mocks base method.
func (*MockRepoBuilderInterface) RepoPullLocalStaticDeltas ¶
func (m *MockRepoBuilderInterface) RepoPullLocalStaticDeltas(u, o *models.Commit, uprepo, oldrepo string) error
RepoPullLocalStaticDeltas mocks base method.
type MockRepoBuilderInterfaceMockRecorder ¶
type MockRepoBuilderInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoBuilderInterfaceMockRecorder is the mock recorder for MockRepoBuilderInterface.
func (*MockRepoBuilderInterfaceMockRecorder) BuildUpdateRepo ¶
func (mr *MockRepoBuilderInterfaceMockRecorder) BuildUpdateRepo(id interface{}) *gomock.Call
BuildUpdateRepo indicates an expected call of BuildUpdateRepo.
func (*MockRepoBuilderInterfaceMockRecorder) CommitTarDelete ¶
func (mr *MockRepoBuilderInterfaceMockRecorder) CommitTarDelete(tarFileName interface{}) *gomock.Call
CommitTarDelete indicates an expected call of CommitTarDelete.
func (*MockRepoBuilderInterfaceMockRecorder) CommitTarDownload ¶
func (mr *MockRepoBuilderInterfaceMockRecorder) CommitTarDownload(c, dest interface{}) *gomock.Call
CommitTarDownload indicates an expected call of CommitTarDownload.
func (*MockRepoBuilderInterfaceMockRecorder) CommitTarExtract ¶
func (mr *MockRepoBuilderInterfaceMockRecorder) CommitTarExtract(c, tarFileName, dest interface{}) *gomock.Call
CommitTarExtract indicates an expected call of CommitTarExtract.
func (*MockRepoBuilderInterfaceMockRecorder) CommitTarUpload ¶
func (mr *MockRepoBuilderInterfaceMockRecorder) CommitTarUpload(c, tarFileName interface{}) *gomock.Call
CommitTarUpload indicates an expected call of CommitTarUpload.
func (*MockRepoBuilderInterfaceMockRecorder) ImportRepo ¶
func (mr *MockRepoBuilderInterfaceMockRecorder) ImportRepo(r interface{}) *gomock.Call
ImportRepo indicates an expected call of ImportRepo.
func (*MockRepoBuilderInterfaceMockRecorder) RepoPullLocalStaticDeltas ¶
func (mr *MockRepoBuilderInterfaceMockRecorder) RepoPullLocalStaticDeltas(u, o, uprepo, oldrepo interface{}) *gomock.Call
RepoPullLocalStaticDeltas indicates an expected call of RepoPullLocalStaticDeltas.
func (*MockRepoBuilderInterfaceMockRecorder) StoreRepo ¶
func (mr *MockRepoBuilderInterfaceMockRecorder) StoreRepo(arg0, arg1 interface{}) *gomock.Call
StoreRepo indicates an expected call of StoreRepo.
type MockRepoServiceInterface ¶
type MockRepoServiceInterface struct {
// contains filtered or unexported fields
}
MockRepoServiceInterface is a mock of RepoServiceInterface interface.
func NewMockRepoServiceInterface ¶
func NewMockRepoServiceInterface(ctrl *gomock.Controller) *MockRepoServiceInterface
NewMockRepoServiceInterface creates a new mock instance.
func (*MockRepoServiceInterface) EXPECT ¶
func (m *MockRepoServiceInterface) EXPECT() *MockRepoServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepoServiceInterface) GetRepoByID ¶
func (m *MockRepoServiceInterface) GetRepoByID(repoID *uint) (*models.Repo, error)
GetRepoByID mocks base method.
type MockRepoServiceInterfaceMockRecorder ¶
type MockRepoServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoServiceInterfaceMockRecorder is the mock recorder for MockRepoServiceInterface.
func (*MockRepoServiceInterfaceMockRecorder) GetRepoByID ¶
func (mr *MockRepoServiceInterfaceMockRecorder) GetRepoByID(repoID interface{}) *gomock.Call
GetRepoByID indicates an expected call of GetRepoByID.
type MockThirdPartyRepoServiceInterface ¶
type MockThirdPartyRepoServiceInterface struct {
// contains filtered or unexported fields
}
MockThirdPartyRepoServiceInterface is a mock of ThirdPartyRepoServiceInterface interface.
func NewMockThirdPartyRepoServiceInterface ¶
func NewMockThirdPartyRepoServiceInterface(ctrl *gomock.Controller) *MockThirdPartyRepoServiceInterface
NewMockThirdPartyRepoServiceInterface creates a new mock instance.
func (*MockThirdPartyRepoServiceInterface) CreateThirdPartyRepo ¶
func (m *MockThirdPartyRepoServiceInterface) CreateThirdPartyRepo(tprepo *models.ThirdPartyRepo, orgID string) (*models.ThirdPartyRepo, error)
CreateThirdPartyRepo mocks base method.
func (*MockThirdPartyRepoServiceInterface) DeleteThirdPartyRepoByID ¶
func (m *MockThirdPartyRepoServiceInterface) DeleteThirdPartyRepoByID(ID string) (*models.ThirdPartyRepo, error)
DeleteThirdPartyRepoByID mocks base method.
func (*MockThirdPartyRepoServiceInterface) EXPECT ¶
func (m *MockThirdPartyRepoServiceInterface) EXPECT() *MockThirdPartyRepoServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockThirdPartyRepoServiceInterface) GetThirdPartyRepoByID ¶
func (m *MockThirdPartyRepoServiceInterface) GetThirdPartyRepoByID(ID string) (*models.ThirdPartyRepo, error)
GetThirdPartyRepoByID mocks base method.
func (*MockThirdPartyRepoServiceInterface) ThirdPartyRepoNameExists ¶
func (m *MockThirdPartyRepoServiceInterface) ThirdPartyRepoNameExists(orgID, name string) (bool, error)
ThirdPartyRepoNameExists mocks base method.
func (*MockThirdPartyRepoServiceInterface) ThirdPartyRepoURLExists ¶
func (m *MockThirdPartyRepoServiceInterface) ThirdPartyRepoURLExists(orgID, url string) (bool, error)
ThirdPartyRepoURLExists mocks base method.
func (*MockThirdPartyRepoServiceInterface) UpdateThirdPartyRepo ¶
func (m *MockThirdPartyRepoServiceInterface) UpdateThirdPartyRepo(tprepo *models.ThirdPartyRepo, orgID, ID string) error
UpdateThirdPartyRepo mocks base method.
type MockThirdPartyRepoServiceInterfaceMockRecorder ¶
type MockThirdPartyRepoServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockThirdPartyRepoServiceInterfaceMockRecorder is the mock recorder for MockThirdPartyRepoServiceInterface.
func (*MockThirdPartyRepoServiceInterfaceMockRecorder) CreateThirdPartyRepo ¶
func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) CreateThirdPartyRepo(tprepo, orgID interface{}) *gomock.Call
CreateThirdPartyRepo indicates an expected call of CreateThirdPartyRepo.
func (*MockThirdPartyRepoServiceInterfaceMockRecorder) DeleteThirdPartyRepoByID ¶
func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) DeleteThirdPartyRepoByID(ID interface{}) *gomock.Call
DeleteThirdPartyRepoByID indicates an expected call of DeleteThirdPartyRepoByID.
func (*MockThirdPartyRepoServiceInterfaceMockRecorder) GetThirdPartyRepoByID ¶
func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) GetThirdPartyRepoByID(ID interface{}) *gomock.Call
GetThirdPartyRepoByID indicates an expected call of GetThirdPartyRepoByID.
func (*MockThirdPartyRepoServiceInterfaceMockRecorder) ThirdPartyRepoNameExists ¶
func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) ThirdPartyRepoNameExists(orgID, name interface{}) *gomock.Call
ThirdPartyRepoNameExists indicates an expected call of ThirdPartyRepoNameExists.
func (*MockThirdPartyRepoServiceInterfaceMockRecorder) ThirdPartyRepoURLExists ¶
func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) ThirdPartyRepoURLExists(orgID, url interface{}) *gomock.Call
ThirdPartyRepoURLExists indicates an expected call of ThirdPartyRepoURLExists.
func (*MockThirdPartyRepoServiceInterfaceMockRecorder) UpdateThirdPartyRepo ¶
func (mr *MockThirdPartyRepoServiceInterfaceMockRecorder) UpdateThirdPartyRepo(tprepo, orgID, ID interface{}) *gomock.Call
UpdateThirdPartyRepo indicates an expected call of UpdateThirdPartyRepo.
type MockUpdateServiceInterface ¶
type MockUpdateServiceInterface struct {
// contains filtered or unexported fields
}
MockUpdateServiceInterface is a mock of UpdateServiceInterface interface.
func NewMockUpdateServiceInterface ¶
func NewMockUpdateServiceInterface(ctrl *gomock.Controller) *MockUpdateServiceInterface
NewMockUpdateServiceInterface creates a new mock instance.
func (*MockUpdateServiceInterface) BuildUpdateRepo ¶
func (m *MockUpdateServiceInterface) BuildUpdateRepo(orgID string, updateID uint) (*models.UpdateTransaction, error)
BuildUpdateRepo mocks base method.
func (*MockUpdateServiceInterface) BuildUpdateTransactions ¶
func (m *MockUpdateServiceInterface) BuildUpdateTransactions(devicesUpdate *models.DevicesUpdate, orgID string, commit *models.Commit) (*[]models.UpdateTransaction, error)
BuildUpdateTransactions mocks base method.
func (*MockUpdateServiceInterface) CreateUpdate ¶
func (m *MockUpdateServiceInterface) CreateUpdate(id uint) (*models.UpdateTransaction, error)
CreateUpdate mocks base method.
func (*MockUpdateServiceInterface) CreateUpdateAsync ¶
func (m *MockUpdateServiceInterface) CreateUpdateAsync(id uint)
CreateUpdateAsync mocks base method.
func (*MockUpdateServiceInterface) EXPECT ¶
func (m *MockUpdateServiceInterface) EXPECT() *MockUpdateServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpdateServiceInterface) GetUpdatePlaybook ¶
func (m *MockUpdateServiceInterface) GetUpdatePlaybook(update *models.UpdateTransaction) (io.ReadCloser, error)
GetUpdatePlaybook mocks base method.
func (*MockUpdateServiceInterface) GetUpdateTransactionsForDevice ¶
func (m *MockUpdateServiceInterface) GetUpdateTransactionsForDevice(device *models.Device) (*[]models.UpdateTransaction, error)
GetUpdateTransactionsForDevice mocks base method.
func (*MockUpdateServiceInterface) InventoryGroupDevicesUpdateInfo ¶
func (m *MockUpdateServiceInterface) InventoryGroupDevicesUpdateInfo(orgID, inventoryGroupUUID string) (*models.InventoryGroupDevicesUpdateInfo, error)
InventoryGroupDevicesUpdateInfo mocks base method.
func (*MockUpdateServiceInterface) ProcessPlaybookDispatcherRunEvent ¶
func (m *MockUpdateServiceInterface) ProcessPlaybookDispatcherRunEvent(message []byte) error
ProcessPlaybookDispatcherRunEvent mocks base method.
func (*MockUpdateServiceInterface) SendDeviceNotification ¶
func (m *MockUpdateServiceInterface) SendDeviceNotification(update *models.UpdateTransaction) (services.ImageNotification, error)
SendDeviceNotification mocks base method.
func (*MockUpdateServiceInterface) SetUpdateStatus ¶
func (m *MockUpdateServiceInterface) SetUpdateStatus(update *models.UpdateTransaction) error
SetUpdateStatus mocks base method.
func (*MockUpdateServiceInterface) SetUpdateStatusBasedOnDispatchRecord ¶
func (m *MockUpdateServiceInterface) SetUpdateStatusBasedOnDispatchRecord(dispatchRecord models.DispatchRecord) error
SetUpdateStatusBasedOnDispatchRecord mocks base method.
func (*MockUpdateServiceInterface) UpdateDevicesFromUpdateTransaction ¶
func (m *MockUpdateServiceInterface) UpdateDevicesFromUpdateTransaction(update models.UpdateTransaction) error
UpdateDevicesFromUpdateTransaction mocks base method.
func (*MockUpdateServiceInterface) ValidateUpdateDeviceGroup ¶
func (m *MockUpdateServiceInterface) ValidateUpdateDeviceGroup(orgID string, deviceGroupID uint) (bool, error)
ValidateUpdateDeviceGroup mocks base method.
func (*MockUpdateServiceInterface) ValidateUpdateSelection ¶
func (m *MockUpdateServiceInterface) ValidateUpdateSelection(orgID string, imageIds []uint) (bool, error)
ValidateUpdateSelection mocks base method.
func (*MockUpdateServiceInterface) WriteTemplate ¶
func (m *MockUpdateServiceInterface) WriteTemplate(templateInfo services.TemplateRemoteInfo, orgID string) (string, error)
WriteTemplate mocks base method.
type MockUpdateServiceInterfaceMockRecorder ¶
type MockUpdateServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdateServiceInterfaceMockRecorder is the mock recorder for MockUpdateServiceInterface.
func (*MockUpdateServiceInterfaceMockRecorder) BuildUpdateRepo ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) BuildUpdateRepo(orgID, updateID interface{}) *gomock.Call
BuildUpdateRepo indicates an expected call of BuildUpdateRepo.
func (*MockUpdateServiceInterfaceMockRecorder) BuildUpdateTransactions ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) BuildUpdateTransactions(devicesUpdate, orgID, commit interface{}) *gomock.Call
BuildUpdateTransactions indicates an expected call of BuildUpdateTransactions.
func (*MockUpdateServiceInterfaceMockRecorder) CreateUpdate ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) CreateUpdate(id interface{}) *gomock.Call
CreateUpdate indicates an expected call of CreateUpdate.
func (*MockUpdateServiceInterfaceMockRecorder) CreateUpdateAsync ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) CreateUpdateAsync(id interface{}) *gomock.Call
CreateUpdateAsync indicates an expected call of CreateUpdateAsync.
func (*MockUpdateServiceInterfaceMockRecorder) GetUpdatePlaybook ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) GetUpdatePlaybook(update interface{}) *gomock.Call
GetUpdatePlaybook indicates an expected call of GetUpdatePlaybook.
func (*MockUpdateServiceInterfaceMockRecorder) GetUpdateTransactionsForDevice ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) GetUpdateTransactionsForDevice(device interface{}) *gomock.Call
GetUpdateTransactionsForDevice indicates an expected call of GetUpdateTransactionsForDevice.
func (*MockUpdateServiceInterfaceMockRecorder) InventoryGroupDevicesUpdateInfo ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) InventoryGroupDevicesUpdateInfo(orgID, inventoryGroupUUID interface{}) *gomock.Call
InventoryGroupDevicesUpdateInfo indicates an expected call of InventoryGroupDevicesUpdateInfo.
func (*MockUpdateServiceInterfaceMockRecorder) ProcessPlaybookDispatcherRunEvent ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) ProcessPlaybookDispatcherRunEvent(message interface{}) *gomock.Call
ProcessPlaybookDispatcherRunEvent indicates an expected call of ProcessPlaybookDispatcherRunEvent.
func (*MockUpdateServiceInterfaceMockRecorder) SendDeviceNotification ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) SendDeviceNotification(update interface{}) *gomock.Call
SendDeviceNotification indicates an expected call of SendDeviceNotification.
func (*MockUpdateServiceInterfaceMockRecorder) SetUpdateStatus ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) SetUpdateStatus(update interface{}) *gomock.Call
SetUpdateStatus indicates an expected call of SetUpdateStatus.
func (*MockUpdateServiceInterfaceMockRecorder) SetUpdateStatusBasedOnDispatchRecord ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) SetUpdateStatusBasedOnDispatchRecord(dispatchRecord interface{}) *gomock.Call
SetUpdateStatusBasedOnDispatchRecord indicates an expected call of SetUpdateStatusBasedOnDispatchRecord.
func (*MockUpdateServiceInterfaceMockRecorder) UpdateDevicesFromUpdateTransaction ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) UpdateDevicesFromUpdateTransaction(update interface{}) *gomock.Call
UpdateDevicesFromUpdateTransaction indicates an expected call of UpdateDevicesFromUpdateTransaction.
func (*MockUpdateServiceInterfaceMockRecorder) ValidateUpdateDeviceGroup ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) ValidateUpdateDeviceGroup(orgID, deviceGroupID interface{}) *gomock.Call
ValidateUpdateDeviceGroup indicates an expected call of ValidateUpdateDeviceGroup.
func (*MockUpdateServiceInterfaceMockRecorder) ValidateUpdateSelection ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) ValidateUpdateSelection(orgID, imageIds interface{}) *gomock.Call
ValidateUpdateSelection indicates an expected call of ValidateUpdateSelection.
func (*MockUpdateServiceInterfaceMockRecorder) WriteTemplate ¶
func (mr *MockUpdateServiceInterfaceMockRecorder) WriteTemplate(templateInfo, orgID interface{}) *gomock.Call
WriteTemplate indicates an expected call of WriteTemplate.
type MockUploader ¶
type MockUploader struct {
// contains filtered or unexported fields
}
MockUploader is a mock of Uploader interface.
func NewMockUploader ¶
func NewMockUploader(ctrl *gomock.Controller) *MockUploader
NewMockUploader creates a new mock instance.
func (*MockUploader) EXPECT ¶
func (m *MockUploader) EXPECT() *MockUploaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUploader) UploadFile ¶
func (m *MockUploader) UploadFile(fname, uploadPath string) (string, error)
UploadFile mocks base method.
func (*MockUploader) UploadRepo ¶
func (m *MockUploader) UploadRepo(src, account, acl string) (string, error)
UploadRepo mocks base method.
type MockUploaderMockRecorder ¶
type MockUploaderMockRecorder struct {
// contains filtered or unexported fields
}
MockUploaderMockRecorder is the mock recorder for MockUploader.
func (*MockUploaderMockRecorder) UploadFile ¶
func (mr *MockUploaderMockRecorder) UploadFile(fname, uploadPath interface{}) *gomock.Call
UploadFile indicates an expected call of UploadFile.
func (*MockUploaderMockRecorder) UploadRepo ¶
func (mr *MockUploaderMockRecorder) UploadRepo(src, account, acl interface{}) *gomock.Call
UploadRepo indicates an expected call of UploadRepo.