UNPKG

@openshift-assisted/ui-lib

Version:

React component library for the Assisted Installer UI

17 lines 1.23 kB
import { AxiosResponse } from 'axios'; import { CpuArchitecture } from '../../common'; import { Cluster, HostStaticNetworkConfig, InfraEnv, InfraEnvCreateParams } from '@openshift-assisted/types/assisted-installer-service'; declare const InfraEnvsService: { getInfraEnvId(clusterId: Cluster['id'], cpuArchitecture: CpuArchitecture): Promise<string | Error>; getInfraEnv(clusterId: Cluster['id'], cpuArchitecture: CpuArchitecture): Promise<Error | InfraEnv>; getAllInfraEnvIds(clusterId: Cluster['id']): Promise<string[]>; getAllInfraEnvs(clusterId: Cluster['id']): Promise<InfraEnv[]>; create(params: InfraEnvCreateParams): Promise<InfraEnv>; removeAll(clusterId: Cluster['id']): Promise<AxiosResponse<void, any>[]>; updateAllInfraEnvsToDhcp(clusterId: Cluster['id']): Promise<AxiosResponse<InfraEnv, any>[]>; setDummyStaticConfigToInfraEnv(infraEnvId: InfraEnv['id']): Promise<InfraEnv>; syncStaticIpConfigs(clusterId: Cluster['id'], currentInfraEnvId: InfraEnv['id'], staticNetworkConfig: HostStaticNetworkConfig[]): Promise<InfraEnv>; makeInfraEnvName(cpuArchitecture: string, name?: string): string; }; export default InfraEnvsService; //# sourceMappingURL=InfraEnvsService.d.ts.map