File tree Expand file tree Collapse file tree
Components/CreateImageWizard/steps/ImageOutput/tests/mocks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import {
2- Architectures ,
3- BootcDistributionItem ,
4- ImageInfo ,
5- } from '@/store/api/backend' ;
1+ import { Architectures , BootcDistributionItem } from '@/store/api/backend' ;
62
73export const mockArchitecturesX86 : Architectures = [
84 {
@@ -70,19 +66,6 @@ export const mockArchitecturesWithNetworkInstaller: Architectures = [
7066 } ,
7167] ;
7268
73- export const mockPodmanImages : ImageInfo [ ] = [
74- {
75- image : 'registry.redhat.io/rhel10/rhel-bootc:10.0' ,
76- repository : 'registry.redhat.io/rhel10/rhel-bootc' ,
77- tag : '10.0' ,
78- } ,
79- {
80- image : 'registry.redhat.io/rhel10/rhel-bootc:latest' ,
81- repository : 'registry.redhat.io/rhel10/rhel-bootc' ,
82- tag : 'latest' ,
83- } ,
84- ] ;
85-
8669export const mockBootcDistributions : BootcDistributionItem [ ] = [
8770 {
8871 distro : 'rhel-10' ,
Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ export {
107107 useExportBlueprintCockpitQuery ,
108108 useGetWorkerConfigQuery ,
109109 useLazyExportBlueprintCockpitQuery ,
110- usePodmanImagesQuery ,
111110 useUpdateWorkerConfigMutation ,
112111} from './onprem' ;
113112
@@ -143,10 +142,6 @@ export type {
143142 WorkerConfigFile ,
144143 WorkerConfigRequest ,
145144 WorkerConfigResponse ,
146- // Podman types (on-prem only)
147- ImageInfo ,
148- PodmanImagesArg ,
149- PodmanImagesResponse ,
150145 // Non-conflicting generated types
151146 Bootc ,
152147 LocalUploadStatus ,
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { architectureEndpoints } from './architecture';
22import { blueprintEndpoints } from './blueprints' ;
33import { composeEndpoints } from './composes' ;
44import { oscapEndpoints } from './oscap' ;
5- import { podmanEndpoints } from './podman' ;
65import { workerEndpoints } from './worker' ;
76
87import { emptyComposerApi } from '../emptyComposerApi' ;
@@ -15,7 +14,6 @@ export const composerApi = emptyComposerApi.injectEndpoints({
1514 ...composeEndpoints ( builder ) ,
1615 ...oscapEndpoints ( builder ) ,
1716 ...workerEndpoints ( builder ) ,
18- ...podmanEndpoints ( builder ) ,
1917 } ;
2018 } ,
2119 // since we are inheriting some endpoints,
@@ -44,8 +42,6 @@ export const {
4442 useGetComposeStatusQuery,
4543 useGetWorkerConfigQuery,
4644 useUpdateWorkerConfigMutation,
47- usePodmanImagesQuery,
48- useLazyPodmanImagesQuery,
4945} = composerApi ;
5046
5147// re-export this for testing
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ export {
1818 useLazyExportBlueprintCockpitQuery ,
1919 useLazyGetBlueprintsQuery ,
2020 useLazyGetOscapCustomizationsQuery ,
21- useLazyPodmanImagesQuery ,
22- usePodmanImagesQuery ,
2321 useUpdateBlueprintMutation ,
2422 useUpdateWorkerConfigMutation ,
2523} from './composerApi' ;
Original file line number Diff line number Diff line change @@ -117,15 +117,6 @@ export type ComposerComposesResponseItem = Omit<
117117 } ;
118118} ;
119119
120- export type ImageInfo = {
121- image : string ;
122- repository : string ;
123- tag : string ;
124- } ;
125-
126- export type PodmanImagesArg = void ;
127- export type PodmanImagesResponse = ImageInfo [ ] ;
128-
129120type PodmanLabels = {
130121 // let's just hardcode this for now, we don't have any
131122 // rpm builds for other arches for the on-prem frontend
You can’t perform that action at this time.
0 commit comments