@harnessio/react-chaos-manager-client 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chaos-manager/src/services/hooks/useDeleteMachineChaosInfraMutation.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteMachineChaosInfraMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetMachineChaosInfraDetailsQuery.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useGetMachineChaosInfraDetailsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetMachineChaosInfraVersionDetailsQuery.d.ts +23 -0
- package/dist/chaos-manager/src/services/hooks/useGetMachineChaosInfraVersionDetailsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListMachineChaosInfraQuery.d.ts +23 -0
- package/dist/chaos-manager/src/services/hooks/useListMachineChaosInfraQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useRegisterMachineInfraMutation.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useRegisterMachineInfraMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +28 -0
- package/dist/chaos-manager/src/services/index.js +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentChaosExperimentRequest.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentInfraType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentInfraType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra.d.ts +84 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraCloudFoundryInfraUserInputs.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/InfraCloudFoundryInfraUserInputs.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraContainerInfraInstallationManifest.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraContainerInfraInstallationManifest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraContainerInfraUserInputs.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/InfraContainerInfraUserInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraDeploymentType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraDeploymentType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraEcsInstallationManifest.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/InfraEcsInstallationManifest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraIdentifiers.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraIdentifiers.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraInfraSpecificUserInputs.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/InfraInfraSpecificUserInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraInfraType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraInfraType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraInfraVersionDetails.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/InfraInfraVersionDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraInstallationManifest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraInstallationManifest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraListInfraResponse.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/InfraListInfraResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraPlatformType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraPlatformType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraRequest.d.ts +50 -0
- package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraResponse.d.ts +32 -0
- package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraUserInputs.d.ts +47 -0
- package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraUserInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraUserDetails.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraUserDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesExperimentCreationRequest.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
|
+
export interface DeleteMachineChaosInfraMutationPathParams {
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteMachineChaosInfraMutationQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
organizationIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type DeleteMachineChaosInfraOkResponse = string;
|
|
13
|
+
export type DeleteMachineChaosInfraErrorResponse = ApiRestError;
|
|
14
|
+
export interface DeleteMachineChaosInfraProps extends DeleteMachineChaosInfraMutationPathParams, Omit<FetcherOptions<DeleteMachineChaosInfraMutationQueryParams, unknown>, 'url'> {
|
|
15
|
+
queryParams: DeleteMachineChaosInfraMutationQueryParams;
|
|
16
|
+
}
|
|
17
|
+
export interface DeleteMachineChaosInfraResponseContainer {
|
|
18
|
+
body: DeleteMachineChaosInfraOkResponse;
|
|
19
|
+
headers: Headers;
|
|
20
|
+
}
|
|
21
|
+
export declare function deleteMachineChaosInfra(props: DeleteMachineChaosInfraProps): Promise<DeleteMachineChaosInfraResponseContainer>;
|
|
22
|
+
export type DeleteMachineChaosInfraMutationProps<T extends keyof DeleteMachineChaosInfraProps> = Omit<DeleteMachineChaosInfraProps, T> & Partial<Pick<DeleteMachineChaosInfraProps, T>>;
|
|
23
|
+
/**
|
|
24
|
+
* Deletes a machine chaos infra
|
|
25
|
+
*/
|
|
26
|
+
export declare function useDeleteMachineChaosInfraMutation<T extends keyof DeleteMachineChaosInfraProps>(props: Pick<Partial<DeleteMachineChaosInfraProps>, T>, options?: Omit<UseMutationOptions<DeleteMachineChaosInfraResponseContainer, DeleteMachineChaosInfraErrorResponse, DeleteMachineChaosInfraMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteMachineChaosInfraResponseContainer, ApiRestError, DeleteMachineChaosInfraMutationProps<T>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function deleteMachineChaosInfra(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infra/:id`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Deletes a machine chaos infra
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteMachineChaosInfraMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteMachineChaosInfra(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra } from '../schemas/GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetMachineChaosInfraDetailsQueryPathParams {
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetMachineChaosInfraDetailsQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
organizationIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetMachineChaosInfraDetailsOkResponse = GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra;
|
|
14
|
+
export type GetMachineChaosInfraDetailsErrorResponse = ApiRestError;
|
|
15
|
+
export interface GetMachineChaosInfraDetailsProps extends GetMachineChaosInfraDetailsQueryPathParams, Omit<FetcherOptions<GetMachineChaosInfraDetailsQueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: GetMachineChaosInfraDetailsQueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export interface GetMachineChaosInfraDetailsResponseContainer {
|
|
19
|
+
body: GetMachineChaosInfraDetailsOkResponse;
|
|
20
|
+
headers: Headers;
|
|
21
|
+
}
|
|
22
|
+
export declare function getMachineChaosInfraDetails(props: GetMachineChaosInfraDetailsProps): Promise<GetMachineChaosInfraDetailsResponseContainer>;
|
|
23
|
+
/**
|
|
24
|
+
* Get machine chaos infrastructure details
|
|
25
|
+
*/
|
|
26
|
+
export declare function useGetMachineChaosInfraDetailsQuery(props: GetMachineChaosInfraDetailsProps, options?: Omit<UseQueryOptions<GetMachineChaosInfraDetailsResponseContainer, GetMachineChaosInfraDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetMachineChaosInfraDetailsResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getMachineChaosInfraDetails(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infra/:id`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get machine chaos infrastructure details
|
|
11
|
+
*/
|
|
12
|
+
export function useGetMachineChaosInfraDetailsQuery(props, options) {
|
|
13
|
+
return useQuery(['getMachineChaosInfraDetails', props.id, props.queryParams], ({ signal }) => getMachineChaosInfraDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InfraInfraVersionDetails } from '../schemas/InfraInfraVersionDetails';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetMachineChaosInfraVersionDetailsQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
organizationIdentifier: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type GetMachineChaosInfraVersionDetailsOkResponse = InfraInfraVersionDetails;
|
|
11
|
+
export type GetMachineChaosInfraVersionDetailsErrorResponse = ApiRestError;
|
|
12
|
+
export interface GetMachineChaosInfraVersionDetailsProps extends Omit<FetcherOptions<GetMachineChaosInfraVersionDetailsQueryQueryParams, unknown>, 'url'> {
|
|
13
|
+
queryParams: GetMachineChaosInfraVersionDetailsQueryQueryParams;
|
|
14
|
+
}
|
|
15
|
+
export interface GetMachineChaosInfraVersionDetailsResponseContainer {
|
|
16
|
+
body: GetMachineChaosInfraVersionDetailsOkResponse;
|
|
17
|
+
headers: Headers;
|
|
18
|
+
}
|
|
19
|
+
export declare function getMachineChaosInfraVersionDetails(props: GetMachineChaosInfraVersionDetailsProps): Promise<GetMachineChaosInfraVersionDetailsResponseContainer>;
|
|
20
|
+
/**
|
|
21
|
+
* Get machine chaos infrastructure version details
|
|
22
|
+
*/
|
|
23
|
+
export declare function useGetMachineChaosInfraVersionDetailsQuery(props: GetMachineChaosInfraVersionDetailsProps, options?: Omit<UseQueryOptions<GetMachineChaosInfraVersionDetailsResponseContainer, GetMachineChaosInfraVersionDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetMachineChaosInfraVersionDetailsResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getMachineChaosInfraVersionDetails(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infra/version`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get machine chaos infrastructure version details
|
|
11
|
+
*/
|
|
12
|
+
export function useGetMachineChaosInfraVersionDetailsQuery(props, options) {
|
|
13
|
+
return useQuery(['getMachineChaosInfraVersionDetails', props.queryParams], ({ signal }) => getMachineChaosInfraVersionDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InfraListInfraResponse } from '../schemas/InfraListInfraResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListMachineChaosInfraQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
organizationIdentifier: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type ListMachineChaosInfraOkResponse = InfraListInfraResponse;
|
|
11
|
+
export type ListMachineChaosInfraErrorResponse = ApiRestError;
|
|
12
|
+
export interface ListMachineChaosInfraProps extends Omit<FetcherOptions<ListMachineChaosInfraQueryQueryParams, unknown>, 'url'> {
|
|
13
|
+
queryParams: ListMachineChaosInfraQueryQueryParams;
|
|
14
|
+
}
|
|
15
|
+
export interface ListMachineChaosInfraResponseContainer {
|
|
16
|
+
body: ListMachineChaosInfraOkResponse;
|
|
17
|
+
headers: Headers;
|
|
18
|
+
}
|
|
19
|
+
export declare function listMachineChaosInfra(props: ListMachineChaosInfraProps): Promise<ListMachineChaosInfraResponseContainer>;
|
|
20
|
+
/**
|
|
21
|
+
* List machine chaos infras
|
|
22
|
+
*/
|
|
23
|
+
export declare function useListMachineChaosInfraQuery(props: ListMachineChaosInfraProps, options?: Omit<UseQueryOptions<ListMachineChaosInfraResponseContainer, ListMachineChaosInfraErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListMachineChaosInfraResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listMachineChaosInfra(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infras`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List machine chaos infras
|
|
11
|
+
*/
|
|
12
|
+
export function useListMachineChaosInfraQuery(props, options) {
|
|
13
|
+
return useQuery(['listMachineChaosInfra', props.queryParams], ({ signal }) => listMachineChaosInfra(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InfraRegisterInfraResponse } from '../schemas/InfraRegisterInfraResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { InfraRegisterInfraRequest } from '../schemas/InfraRegisterInfraRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface RegisterMachineInfraMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
organizationIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type RegisterMachineInfraRequestBody = InfraRegisterInfraRequest;
|
|
12
|
+
export type RegisterMachineInfraOkResponse = InfraRegisterInfraResponse;
|
|
13
|
+
export type RegisterMachineInfraErrorResponse = ApiRestError;
|
|
14
|
+
export interface RegisterMachineInfraProps extends Omit<FetcherOptions<RegisterMachineInfraMutationQueryParams, RegisterMachineInfraRequestBody>, 'url'> {
|
|
15
|
+
queryParams: RegisterMachineInfraMutationQueryParams;
|
|
16
|
+
body: RegisterMachineInfraRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export interface RegisterMachineInfraResponseContainer {
|
|
19
|
+
body: RegisterMachineInfraOkResponse;
|
|
20
|
+
headers: Headers;
|
|
21
|
+
}
|
|
22
|
+
export declare function registerMachineInfra(props: RegisterMachineInfraProps): Promise<RegisterMachineInfraResponseContainer>;
|
|
23
|
+
export type RegisterMachineInfraMutationProps<T extends keyof RegisterMachineInfraProps> = Omit<RegisterMachineInfraProps, T> & Partial<Pick<RegisterMachineInfraProps, T>>;
|
|
24
|
+
/**
|
|
25
|
+
* Register a new machine chaos infra
|
|
26
|
+
*/
|
|
27
|
+
export declare function useRegisterMachineInfraMutation<T extends keyof RegisterMachineInfraProps>(props: Pick<Partial<RegisterMachineInfraProps>, T>, options?: Omit<UseMutationOptions<RegisterMachineInfraResponseContainer, RegisterMachineInfraErrorResponse, RegisterMachineInfraMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RegisterMachineInfraResponseContainer, ApiRestError, RegisterMachineInfraMutationProps<T>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function registerMachineInfra(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infra`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Register a new machine chaos infra
|
|
11
|
+
*/
|
|
12
|
+
export function useRegisterMachineInfraMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => registerMachineInfra(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -48,6 +48,8 @@ export type { DeleteInfraV2ErrorResponse, DeleteInfraV2MutationPathParams, Delet
|
|
|
48
48
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
49
49
|
export type { DeleteInputSetErrorResponse, DeleteInputSetMutationPathParams, DeleteInputSetMutationProps, DeleteInputSetMutationQueryParams, DeleteInputSetOkResponse, DeleteInputSetProps, } from './hooks/useDeleteInputSetMutation';
|
|
50
50
|
export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
|
|
51
|
+
export type { DeleteMachineChaosInfraErrorResponse, DeleteMachineChaosInfraMutationPathParams, DeleteMachineChaosInfraMutationProps, DeleteMachineChaosInfraMutationQueryParams, DeleteMachineChaosInfraOkResponse, DeleteMachineChaosInfraProps, } from './hooks/useDeleteMachineChaosInfraMutation';
|
|
52
|
+
export { deleteMachineChaosInfra, useDeleteMachineChaosInfraMutation, } from './hooks/useDeleteMachineChaosInfraMutation';
|
|
51
53
|
export type { DeleteProbeErrorResponse, DeleteProbeMutationPathParams, DeleteProbeMutationProps, DeleteProbeMutationQueryParams, DeleteProbeOkResponse, DeleteProbeProps, } from './hooks/useDeleteProbeMutation';
|
|
52
54
|
export { deleteProbe, useDeleteProbeMutation } from './hooks/useDeleteProbeMutation';
|
|
53
55
|
export type { DeleteProbeTemplateErrorResponse, DeleteProbeTemplateMutationPathParams, DeleteProbeTemplateMutationProps, DeleteProbeTemplateMutationQueryParams, DeleteProbeTemplateOkResponse, DeleteProbeTemplateProps, } from './hooks/useDeleteProbeTemplateMutation';
|
|
@@ -118,6 +120,10 @@ export type { GetInfraV2ErrorResponse, GetInfraV2OkResponse, GetInfraV2Props, Ge
|
|
|
118
120
|
export { getInfraV2, useGetInfraV2Query } from './hooks/useGetInfraV2Query';
|
|
119
121
|
export type { GetInputSetErrorResponse, GetInputSetOkResponse, GetInputSetProps, GetInputSetQueryPathParams, GetInputSetQueryQueryParams, } from './hooks/useGetInputSetQuery';
|
|
120
122
|
export { getInputSet, useGetInputSetQuery } from './hooks/useGetInputSetQuery';
|
|
123
|
+
export type { GetMachineChaosInfraDetailsErrorResponse, GetMachineChaosInfraDetailsOkResponse, GetMachineChaosInfraDetailsProps, GetMachineChaosInfraDetailsQueryPathParams, GetMachineChaosInfraDetailsQueryQueryParams, } from './hooks/useGetMachineChaosInfraDetailsQuery';
|
|
124
|
+
export { getMachineChaosInfraDetails, useGetMachineChaosInfraDetailsQuery, } from './hooks/useGetMachineChaosInfraDetailsQuery';
|
|
125
|
+
export type { GetMachineChaosInfraVersionDetailsErrorResponse, GetMachineChaosInfraVersionDetailsOkResponse, GetMachineChaosInfraVersionDetailsProps, GetMachineChaosInfraVersionDetailsQueryQueryParams, } from './hooks/useGetMachineChaosInfraVersionDetailsQuery';
|
|
126
|
+
export { getMachineChaosInfraVersionDetails, useGetMachineChaosInfraVersionDetailsQuery, } from './hooks/useGetMachineChaosInfraVersionDetailsQuery';
|
|
121
127
|
export type { GetNoteErrorResponse, GetNoteOkResponse, GetNoteProps, GetNoteQueryQueryParams, } from './hooks/useGetNoteQuery';
|
|
122
128
|
export { getNote, useGetNoteQuery } from './hooks/useGetNoteQuery';
|
|
123
129
|
export type { GetOnboardingExperimentsErrorResponse, GetOnboardingExperimentsOkResponse, GetOnboardingExperimentsProps, GetOnboardingExperimentsQueryPathParams, GetOnboardingExperimentsQueryQueryParams, } from './hooks/useGetOnboardingExperimentsQuery';
|
|
@@ -184,6 +190,8 @@ export type { ListInputSetErrorResponse, ListInputSetOkResponse, ListInputSetPro
|
|
|
184
190
|
export { listInputSet, useListInputSetQuery } from './hooks/useListInputSetQuery';
|
|
185
191
|
export type { ListK8sInfrasV2ErrorResponse, ListK8sInfrasV2MutationProps, ListK8sInfrasV2MutationQueryParams, ListK8sInfrasV2OkResponse, ListK8sInfrasV2Props, ListK8sInfrasV2RequestBody, } from './hooks/useListK8sInfrasV2Mutation';
|
|
186
192
|
export { listK8sInfrasV2, useListK8sInfrasV2Mutation } from './hooks/useListK8sInfrasV2Mutation';
|
|
193
|
+
export type { ListMachineChaosInfraErrorResponse, ListMachineChaosInfraOkResponse, ListMachineChaosInfraProps, ListMachineChaosInfraQueryQueryParams, } from './hooks/useListMachineChaosInfraQuery';
|
|
194
|
+
export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
|
|
187
195
|
export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListProbeTemplateProps, ListProbeTemplateQueryQueryParams, } from './hooks/useListProbeTemplateQuery';
|
|
188
196
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
189
197
|
export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, ListProbesQueryQueryParams, } from './hooks/useListProbesQuery';
|
|
@@ -212,6 +220,8 @@ export type { RecommendationEventErrorResponse, RecommendationEventMutationProps
|
|
|
212
220
|
export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
|
|
213
221
|
export type { RegisterInfraV2ErrorResponse, RegisterInfraV2MutationProps, RegisterInfraV2MutationQueryParams, RegisterInfraV2OkResponse, RegisterInfraV2Props, RegisterInfraV2RequestBody, } from './hooks/useRegisterInfraV2Mutation';
|
|
214
222
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
223
|
+
export type { RegisterMachineInfraErrorResponse, RegisterMachineInfraMutationProps, RegisterMachineInfraMutationQueryParams, RegisterMachineInfraOkResponse, RegisterMachineInfraProps, RegisterMachineInfraRequestBody, } from './hooks/useRegisterMachineInfraMutation';
|
|
224
|
+
export { registerMachineInfra, useRegisterMachineInfraMutation, } from './hooks/useRegisterMachineInfraMutation';
|
|
215
225
|
export type { RetryExperimentCreationErrorResponse, RetryExperimentCreationMutationPathParams, RetryExperimentCreationMutationProps, RetryExperimentCreationMutationQueryParams, RetryExperimentCreationOkResponse, RetryExperimentCreationProps, RetryExperimentCreationRequestBody, } from './hooks/useRetryExperimentCreationMutation';
|
|
216
226
|
export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
|
|
217
227
|
export type { RunChaosV2ExperimentErrorResponse, RunChaosV2ExperimentMutationPathParams, RunChaosV2ExperimentMutationProps, RunChaosV2ExperimentMutationQueryParams, RunChaosV2ExperimentOkResponse, RunChaosV2ExperimentProps, RunChaosV2ExperimentRequestBody, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
@@ -409,6 +419,7 @@ export type { ExperimentExperimentComponents } from './schemas/ExperimentExperim
|
|
|
409
419
|
export type { ExperimentFaultRef } from './schemas/ExperimentFaultRef';
|
|
410
420
|
export type { ExperimentHelperConfig } from './schemas/ExperimentHelperConfig';
|
|
411
421
|
export type { ExperimentHostFile } from './schemas/ExperimentHostFile';
|
|
422
|
+
export type { ExperimentInfraType } from './schemas/ExperimentInfraType';
|
|
412
423
|
export type { ExperimentProbeActions } from './schemas/ExperimentProbeActions';
|
|
413
424
|
export type { ExperimentProbeConditions } from './schemas/ExperimentProbeConditions';
|
|
414
425
|
export type { ExperimentProbeRef } from './schemas/ExperimentProbeRef';
|
|
@@ -477,6 +488,7 @@ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } fr
|
|
|
477
488
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics';
|
|
478
489
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
|
|
479
490
|
export type { GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers } from './schemas/GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers';
|
|
491
|
+
export type { GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra } from './schemas/GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra';
|
|
480
492
|
export type { HandlersChaosExperimentRunsStatsResponse } from './schemas/HandlersChaosExperimentRunsStatsResponse';
|
|
481
493
|
export type { HandlersChaosLicenseUsageDto } from './schemas/HandlersChaosLicenseUsageDto';
|
|
482
494
|
export type { HandlersDashboard } from './schemas/HandlersDashboard';
|
|
@@ -489,6 +501,22 @@ export type { HandlersUsageDataDto } from './schemas/HandlersUsageDataDto';
|
|
|
489
501
|
export type { ImageRegistryCustomImagesRequest } from './schemas/ImageRegistryCustomImagesRequest';
|
|
490
502
|
export type { ImageRegistryImageRegistryV2 } from './schemas/ImageRegistryImageRegistryV2';
|
|
491
503
|
export type { ImageRegistryUserDetails } from './schemas/ImageRegistryUserDetails';
|
|
504
|
+
export type { InfraCloudFoundryInfraUserInputs } from './schemas/InfraCloudFoundryInfraUserInputs';
|
|
505
|
+
export type { InfraContainerInfraInstallationManifest } from './schemas/InfraContainerInfraInstallationManifest';
|
|
506
|
+
export type { InfraContainerInfraUserInputs } from './schemas/InfraContainerInfraUserInputs';
|
|
507
|
+
export type { InfraDeploymentType } from './schemas/InfraDeploymentType';
|
|
508
|
+
export type { InfraEcsInstallationManifest } from './schemas/InfraEcsInstallationManifest';
|
|
509
|
+
export type { InfraIdentifiers } from './schemas/InfraIdentifiers';
|
|
510
|
+
export type { InfraInfraSpecificUserInputs } from './schemas/InfraInfraSpecificUserInputs';
|
|
511
|
+
export type { InfraInfraType } from './schemas/InfraInfraType';
|
|
512
|
+
export type { InfraInfraVersionDetails } from './schemas/InfraInfraVersionDetails';
|
|
513
|
+
export type { InfraInstallationManifest } from './schemas/InfraInstallationManifest';
|
|
514
|
+
export type { InfraListInfraResponse } from './schemas/InfraListInfraResponse';
|
|
515
|
+
export type { InfraPlatformType } from './schemas/InfraPlatformType';
|
|
516
|
+
export type { InfraRegisterInfraRequest } from './schemas/InfraRegisterInfraRequest';
|
|
517
|
+
export type { InfraRegisterInfraResponse } from './schemas/InfraRegisterInfraResponse';
|
|
518
|
+
export type { InfraRegisterInfraUserInputs } from './schemas/InfraRegisterInfraUserInputs';
|
|
519
|
+
export type { InfraUserDetails } from './schemas/InfraUserDetails';
|
|
492
520
|
export type { InfraV2DeleteKubernetesInfraV2Response } from './schemas/InfraV2DeleteKubernetesInfraV2Response';
|
|
493
521
|
export type { InfraV2Env } from './schemas/InfraV2Env';
|
|
494
522
|
export type { InfraV2EnvValueFrom } from './schemas/InfraV2EnvValueFrom';
|
|
@@ -23,6 +23,7 @@ export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/us
|
|
|
23
23
|
export { deleteGamedayV2, useDeleteGamedayV2Mutation } from './hooks/useDeleteGamedayV2Mutation';
|
|
24
24
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
25
25
|
export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
|
|
26
|
+
export { deleteMachineChaosInfra, useDeleteMachineChaosInfraMutation, } from './hooks/useDeleteMachineChaosInfraMutation';
|
|
26
27
|
export { deleteProbe, useDeleteProbeMutation } from './hooks/useDeleteProbeMutation';
|
|
27
28
|
export { deleteProbeTemplate, useDeleteProbeTemplateMutation, } from './hooks/useDeleteProbeTemplateMutation';
|
|
28
29
|
export { deleteRecommendation, useDeleteRecommendationMutation, } from './hooks/useDeleteRecommendationMutation';
|
|
@@ -58,6 +59,8 @@ export { getImageRegistry, useGetImageRegistryQuery } from './hooks/useGetImageR
|
|
|
58
59
|
export { getInfraToken, useGetInfraTokenQuery } from './hooks/useGetInfraTokenQuery';
|
|
59
60
|
export { getInfraV2, useGetInfraV2Query } from './hooks/useGetInfraV2Query';
|
|
60
61
|
export { getInputSet, useGetInputSetQuery } from './hooks/useGetInputSetQuery';
|
|
62
|
+
export { getMachineChaosInfraDetails, useGetMachineChaosInfraDetailsQuery, } from './hooks/useGetMachineChaosInfraDetailsQuery';
|
|
63
|
+
export { getMachineChaosInfraVersionDetails, useGetMachineChaosInfraVersionDetailsQuery, } from './hooks/useGetMachineChaosInfraVersionDetailsQuery';
|
|
61
64
|
export { getNote, useGetNoteQuery } from './hooks/useGetNoteQuery';
|
|
62
65
|
export { getOnboardingExperiments, useGetOnboardingExperimentsQuery, } from './hooks/useGetOnboardingExperimentsQuery';
|
|
63
66
|
export { getOverallServiceUsageStats, useGetOverallServiceUsageStatsQuery, } from './hooks/useGetOverallServiceUsageStatsQuery';
|
|
@@ -91,6 +94,7 @@ export { listHarnessInfra, useListHarnessInfraQuery } from './hooks/useListHarne
|
|
|
91
94
|
export { listInfraV2, useListInfraV2Query } from './hooks/useListInfraV2Query';
|
|
92
95
|
export { listInputSet, useListInputSetQuery } from './hooks/useListInputSetQuery';
|
|
93
96
|
export { listK8sInfrasV2, useListK8sInfrasV2Mutation } from './hooks/useListK8sInfrasV2Mutation';
|
|
97
|
+
export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
|
|
94
98
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
95
99
|
export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
|
|
96
100
|
export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
|
|
@@ -105,6 +109,7 @@ export { onboardingConfirmExperimentRun, useOnboardingConfirmExperimentRunMutati
|
|
|
105
109
|
export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
106
110
|
export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
|
|
107
111
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
112
|
+
export { registerMachineInfra, useRegisterMachineInfraMutation, } from './hooks/useRegisterMachineInfraMutation';
|
|
108
113
|
export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
|
|
109
114
|
export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
110
115
|
export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hooks/useRunChaosV2InternalApiMutation';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ChaosExperimentChaosExperimentType } from '../schemas/ChaosExperimentChaosExperimentType';
|
|
2
|
+
import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
|
|
2
3
|
import type { ChaosExperimentExperimentRunDetail } from '../schemas/ChaosExperimentExperimentRunDetail';
|
|
3
4
|
import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
|
|
4
5
|
import type { ChaosExperimentWorkflowRevision } from '../schemas/ChaosExperimentWorkflowRevision';
|
|
@@ -16,7 +17,7 @@ export interface ChaosExperimentChaosExperimentRequest {
|
|
|
16
17
|
*/
|
|
17
18
|
identity?: string;
|
|
18
19
|
infraID?: string;
|
|
19
|
-
infraType?:
|
|
20
|
+
infraType?: ExperimentInfraType;
|
|
20
21
|
isCronEnabled?: boolean;
|
|
21
22
|
isCustomExperiment?: boolean;
|
|
22
23
|
isRemoved: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ExperimentInfraType = 'CloudFoundry' | 'Container' | 'Kubernetes' | 'KubernetesV2' | 'Linux' | 'Windows' | 'windows';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { InfraUserDetails } from '../schemas/InfraUserDetails';
|
|
2
|
+
import type { InfraRegisterInfraUserInputs } from '../schemas/InfraRegisterInfraUserInputs';
|
|
3
|
+
export interface GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra {
|
|
4
|
+
/**
|
|
5
|
+
* Timestamp when the infra was created
|
|
6
|
+
*/
|
|
7
|
+
createdAt?: string;
|
|
8
|
+
/**
|
|
9
|
+
* User who created the infra
|
|
10
|
+
*/
|
|
11
|
+
createdBy?: InfraUserDetails;
|
|
12
|
+
/**
|
|
13
|
+
* Description of the infra
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Environment ID for the infra
|
|
18
|
+
*/
|
|
19
|
+
environmentID?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Hostname of the infra
|
|
22
|
+
*/
|
|
23
|
+
hostname?: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the infra
|
|
26
|
+
*/
|
|
27
|
+
infraID?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Boolean value indicating if chaos infrastructure is active or not
|
|
30
|
+
*/
|
|
31
|
+
isActive?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Boolean value indicating if chaos infrastructure is confirmed or not
|
|
34
|
+
*/
|
|
35
|
+
isInfraConfirmed?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* IsRegistered indicates if the infra is registered
|
|
38
|
+
*/
|
|
39
|
+
isRegistered?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Last Heartbeat status sent by the infra
|
|
42
|
+
*/
|
|
43
|
+
lastHeartbeat?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Timestamp of the last workflow run in the infra
|
|
46
|
+
*/
|
|
47
|
+
lastWorkflowTimestamp?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Name of the infra
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Number of schedules created in the infra
|
|
54
|
+
*/
|
|
55
|
+
noOfSchedules?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Number of workflows run in the infra
|
|
58
|
+
*/
|
|
59
|
+
noOfWorkflows?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Timestamp when the infra got connected
|
|
62
|
+
*/
|
|
63
|
+
startTime?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Tags of the infra
|
|
66
|
+
*/
|
|
67
|
+
tags?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Timestamp when the infra was last updated
|
|
70
|
+
*/
|
|
71
|
+
updatedAt?: string;
|
|
72
|
+
/**
|
|
73
|
+
* User who has updated the infra
|
|
74
|
+
*/
|
|
75
|
+
updatedBy?: InfraUserDetails;
|
|
76
|
+
/**
|
|
77
|
+
* User inputs for the infra
|
|
78
|
+
*/
|
|
79
|
+
userInputs?: InfraRegisterInfraUserInputs;
|
|
80
|
+
/**
|
|
81
|
+
* Version of the infra
|
|
82
|
+
*/
|
|
83
|
+
version?: string;
|
|
84
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface InfraCloudFoundryInfraUserInputs {
|
|
2
|
+
/**
|
|
3
|
+
* The origins to be exempted from CORS
|
|
4
|
+
*/
|
|
5
|
+
allowedOrigins?: string;
|
|
6
|
+
/**
|
|
7
|
+
* The port at which CFCO should be started
|
|
8
|
+
*/
|
|
9
|
+
httpPort?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The interval at which app instances liveness is checked
|
|
12
|
+
*/
|
|
13
|
+
livenessCheckInterval?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The maximum delay in the liveness update of app instances after which they get removed
|
|
16
|
+
*/
|
|
17
|
+
maxHeartbeatDelay?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { InfraDeploymentType } from '../schemas/InfraDeploymentType';
|
|
2
|
+
import type { InfraPlatformType } from '../schemas/InfraPlatformType';
|
|
3
|
+
export interface InfraContainerInfraUserInputs {
|
|
4
|
+
/**
|
|
5
|
+
* The deployment type for the container infrastructure
|
|
6
|
+
*/
|
|
7
|
+
deploymentType?: InfraDeploymentType;
|
|
8
|
+
/**
|
|
9
|
+
* The platform type for the container infrastructure
|
|
10
|
+
*/
|
|
11
|
+
platformType?: InfraPlatformType;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InfraDeploymentType = 'AWS_ECS_EC2' | 'AWS_ECS_FARGATE';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { InfraCloudFoundryInfraUserInputs } from '../schemas/InfraCloudFoundryInfraUserInputs';
|
|
2
|
+
import type { InfraContainerInfraUserInputs } from '../schemas/InfraContainerInfraUserInputs';
|
|
3
|
+
export interface InfraInfraSpecificUserInputs {
|
|
4
|
+
cloudFoundryInfraUserInputs?: InfraCloudFoundryInfraUserInputs;
|
|
5
|
+
containerInfraUserInputs?: InfraContainerInfraUserInputs;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InfraInfraType = 'CloudFoundry' | 'Container' | 'Linux' | 'Windows';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { InfraContainerInfraInstallationManifest } from '../schemas/InfraContainerInfraInstallationManifest';
|
|
2
|
+
export interface InfraInstallationManifest {
|
|
3
|
+
cloudFoundryInfraUserInputs?: string;
|
|
4
|
+
containerInfraUserInputs?: InfraContainerInfraInstallationManifest;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra } from '../schemas/GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra';
|
|
2
|
+
export interface InfraListInfraResponse {
|
|
3
|
+
/**
|
|
4
|
+
* Details related to the infras
|
|
5
|
+
*/
|
|
6
|
+
infras?: GithubComHarnessHceSaasHceSdkTypesApiMachineInfraInfra[];
|
|
7
|
+
/**
|
|
8
|
+
* Total number of infras
|
|
9
|
+
*/
|
|
10
|
+
totalNoOfInfras?: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InfraPlatformType = 'AWS_ECS' | 'DOCKER_COMPOSE' | 'HASHICORP_NOMAD';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { InfraUserDetails } from '../schemas/InfraUserDetails';
|
|
2
|
+
import type { InfraIdentifiers } from '../schemas/InfraIdentifiers';
|
|
3
|
+
import type { InfraInfraType } from '../schemas/InfraInfraType';
|
|
4
|
+
import type { InfraRegisterInfraUserInputs } from '../schemas/InfraRegisterInfraUserInputs';
|
|
5
|
+
export interface InfraRegisterInfraRequest {
|
|
6
|
+
/**
|
|
7
|
+
* CorrelationId for the request
|
|
8
|
+
*/
|
|
9
|
+
correlationId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* CreatedBy for the infra
|
|
12
|
+
*/
|
|
13
|
+
createdBy?: InfraUserDetails;
|
|
14
|
+
/**
|
|
15
|
+
* Description of the infra
|
|
16
|
+
*/
|
|
17
|
+
description?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Environment ID for the infra
|
|
20
|
+
*/
|
|
21
|
+
environmentID?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Identifier for the infra
|
|
24
|
+
*/
|
|
25
|
+
identifier?: InfraIdentifiers;
|
|
26
|
+
/**
|
|
27
|
+
* InfraType of the infra
|
|
28
|
+
*/
|
|
29
|
+
infraType?: InfraInfraType;
|
|
30
|
+
/**
|
|
31
|
+
* Name of the infra
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Tags of the infra
|
|
36
|
+
*/
|
|
37
|
+
tags?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* UpdatedBy for the infra
|
|
40
|
+
*/
|
|
41
|
+
updatedBy?: InfraUserDetails;
|
|
42
|
+
/**
|
|
43
|
+
* User inputs for the infra
|
|
44
|
+
*/
|
|
45
|
+
userInputs?: InfraRegisterInfraUserInputs;
|
|
46
|
+
/**
|
|
47
|
+
* Version of the infra
|
|
48
|
+
*/
|
|
49
|
+
version?: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { InfraInfraType } from '../schemas/InfraInfraType';
|
|
2
|
+
import type { InfraInstallationManifest } from '../schemas/InfraInstallationManifest';
|
|
3
|
+
export interface InfraRegisterInfraResponse {
|
|
4
|
+
/**
|
|
5
|
+
* Infra access key
|
|
6
|
+
*/
|
|
7
|
+
accessKey?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Unique ID for the newly registered infra
|
|
10
|
+
*/
|
|
11
|
+
infraID?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Infra type
|
|
14
|
+
*/
|
|
15
|
+
infraType?: InfraInfraType;
|
|
16
|
+
/**
|
|
17
|
+
* Infra installation manifest
|
|
18
|
+
*/
|
|
19
|
+
installationManifest?: InfraInstallationManifest;
|
|
20
|
+
/**
|
|
21
|
+
* Infra name as sent in request
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Infra server URL
|
|
26
|
+
*/
|
|
27
|
+
serverURL?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Infra Version
|
|
30
|
+
*/
|
|
31
|
+
version?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { InfraInfraSpecificUserInputs } from '../schemas/InfraInfraSpecificUserInputs';
|
|
2
|
+
export interface InfraRegisterInfraUserInputs {
|
|
3
|
+
/**
|
|
4
|
+
* The interval at which abort is polled for a running task
|
|
5
|
+
*/
|
|
6
|
+
abortPollInterval?: string;
|
|
7
|
+
/**
|
|
8
|
+
* TLS certificate to be used with the infrastructure
|
|
9
|
+
*/
|
|
10
|
+
customTlsCertificate?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The timeout duration for the infrastructure http client
|
|
13
|
+
*/
|
|
14
|
+
httpClientTimeout?: string;
|
|
15
|
+
/**
|
|
16
|
+
* URL for the http proxy
|
|
17
|
+
*/
|
|
18
|
+
httpProxy?: string;
|
|
19
|
+
/**
|
|
20
|
+
* URL for the https proxy
|
|
21
|
+
*/
|
|
22
|
+
httpsProxy?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Infra specific user inputs
|
|
25
|
+
*/
|
|
26
|
+
infraSpecificUserInputs?: InfraInfraSpecificUserInputs;
|
|
27
|
+
/**
|
|
28
|
+
* The interval at which chaos infrastructure updates liveness heartbeat
|
|
29
|
+
*/
|
|
30
|
+
livenessUpdateInterval?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Comma separated URLs that won't be proxied
|
|
33
|
+
*/
|
|
34
|
+
noProxy?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The polling interval for fetching the new tasks
|
|
37
|
+
*/
|
|
38
|
+
taskPollInterval?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the maximum number of retries in case of a failure while sending a task status or result
|
|
41
|
+
*/
|
|
42
|
+
updateRetries?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the interval between the subsequent attempts to send a fault status or result, in case of a failure
|
|
45
|
+
*/
|
|
46
|
+
updateRetryInterval?: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ModelEventMetadata } from '../schemas/ModelEventMetadata';
|
|
2
2
|
import type { ModelWorkflowType } from '../schemas/ModelWorkflowType';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
|
|
4
4
|
import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
|
|
5
5
|
export interface TypesExperimentCreationRequest {
|
|
6
6
|
cronSyntax?: string;
|
|
@@ -10,7 +10,7 @@ export interface TypesExperimentCreationRequest {
|
|
|
10
10
|
id?: string;
|
|
11
11
|
identity?: string;
|
|
12
12
|
infraId?: string;
|
|
13
|
-
infraType?:
|
|
13
|
+
infraType?: ExperimentInfraType;
|
|
14
14
|
isSingleRunCronEnabled?: boolean;
|
|
15
15
|
manifest?: string;
|
|
16
16
|
name?: string;
|
package/package.json
CHANGED