@openshift-assisted/ui-lib
Version:
React component library for the Assisted Installer UI
20 lines • 730 B
TypeScript
import { Host, HostRoleUpdateParams, HostValidationId } from '@openshift-assisted/types/assisted-installer-service';
export type Validation = {
id: HostValidationId;
status: 'success' | 'failure' | 'pending' | 'disabled' | 'error';
message: string;
};
export type ValidationGroup = 'hardware' | 'network' | 'operators' | 'infrastructure';
export type ValidationsInfo = {
[key in ValidationGroup]?: Validation[];
};
export type ClusterWizardStepHostStatusDeterminationObject = {
status: Host['status'];
validationsInfo?: Host['validationsInfo'] | ValidationsInfo;
};
export type HostRole = {
value: HostRoleUpdateParams;
label: string;
description: string;
};
//# sourceMappingURL=hosts.d.ts.map