@harnessio/react-chaos-manager-client 1.65.0 → 1.65.1
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/useCreateChaosServiceMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useCreateChaosServiceMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteChaosServiceMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteChaosServiceMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunV3Query.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosServiceQuery.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosServiceQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetKubeObjectV3Mutation.d.ts +32 -0
- package/dist/chaos-manager/src/services/hooks/useGetKubeObjectV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.d.ts +47 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +41 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useRunChaosExperimentV3Mutation.d.ts +34 -0
- package/dist/chaos-manager/src/services/hooks/useRunChaosExperimentV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useStopChaosExperimentV3Mutation.d.ts +32 -0
- package/dist/chaos-manager/src/services/hooks/useStopChaosExperimentV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosServiceMutation.d.ts +33 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosServiceMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +38 -0
- package/dist/chaos-manager/src/services/index.js +10 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesChaosServiceResponse.d.ts +38 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesChaosServiceResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesCreateRequest.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesCreateRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesDeleteResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesDeleteResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesListChaosServiceResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesListChaosServiceResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesServiceProbeAssociation.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesServiceProbeAssociation.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesUpdateRequest.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesUpdateRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetExperimentRunResponse.d.ts +23 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetExperimentRunResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsListExperimentRunItem.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsListExperimentRunItem.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsListExperimentRunsResponse.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsListExperimentRunsResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsRunBody.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsRunBody.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsRunExperimentResponse.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsRunExperimentResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopExperimentBody.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopExperimentBody.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopExperimentResponse.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopExperimentResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsGetKubeObjectBody.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsGetKubeObjectBody.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsGetKubeObjectResponse.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsGetKubeObjectResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsKubeGvrRequest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsKubeGvrRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsKubeObject.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsKubeObject.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsObjectData.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraopsObjectData.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V3GetExperimentOrTemplateVariableResponse.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ChaosservicesCreateRequest } from '../schemas/ChaosservicesCreateRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface CreateChaosServiceMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
useParentUniqueID?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export type CreateChaosServiceRequestBody = ChaosservicesCreateRequest;
|
|
15
|
+
export type CreateChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
16
|
+
export type CreateChaosServiceErrorResponse = ApiRestError;
|
|
17
|
+
export interface CreateChaosServiceProps extends Omit<FetcherOptions<CreateChaosServiceMutationQueryParams, CreateChaosServiceRequestBody>, 'url'> {
|
|
18
|
+
queryParams: CreateChaosServiceMutationQueryParams;
|
|
19
|
+
body: CreateChaosServiceRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface CreateChaosServiceResponseContainer {
|
|
22
|
+
body: CreateChaosServiceOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function createChaosService(props: CreateChaosServiceProps): Promise<CreateChaosServiceResponseContainer>;
|
|
26
|
+
export type CreateChaosServiceMutationProps<T extends keyof CreateChaosServiceProps> = Omit<CreateChaosServiceProps, T> & Partial<Pick<CreateChaosServiceProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a chaos service
|
|
29
|
+
*/
|
|
30
|
+
export declare function useCreateChaosServiceMutation<T extends keyof CreateChaosServiceProps>(props: Pick<Partial<CreateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<CreateChaosServiceResponseContainer, CreateChaosServiceErrorResponse, CreateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosServiceResponseContainer, ApiRestError, CreateChaosServiceMutationProps<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 createChaosService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a chaos service
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateChaosServiceMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => createChaosService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesDeleteResponse } from '../schemas/ChaosservicesDeleteResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface DeleteChaosServiceMutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteChaosServiceMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
organizationIdentifier?: string;
|
|
12
|
+
parentUniqueId?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
useParentUniqueID?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export type DeleteChaosServiceOkResponse = ChaosservicesDeleteResponse;
|
|
17
|
+
export type DeleteChaosServiceErrorResponse = ApiRestError;
|
|
18
|
+
export interface DeleteChaosServiceProps extends DeleteChaosServiceMutationPathParams, Omit<FetcherOptions<DeleteChaosServiceMutationQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: DeleteChaosServiceMutationQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface DeleteChaosServiceResponseContainer {
|
|
22
|
+
body: DeleteChaosServiceOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function deleteChaosService(props: DeleteChaosServiceProps): Promise<DeleteChaosServiceResponseContainer>;
|
|
26
|
+
export type DeleteChaosServiceMutationProps<T extends keyof DeleteChaosServiceProps> = Omit<DeleteChaosServiceProps, T> & Partial<Pick<DeleteChaosServiceProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete a chaos service
|
|
29
|
+
*/
|
|
30
|
+
export declare function useDeleteChaosServiceMutation<T extends keyof DeleteChaosServiceProps>(props: Pick<Partial<DeleteChaosServiceProps>, T>, options?: Omit<UseMutationOptions<DeleteChaosServiceResponseContainer, DeleteChaosServiceErrorResponse, DeleteChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteChaosServiceResponseContainer, ApiRestError, DeleteChaosServiceMutationProps<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 deleteChaosService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services/${props.identity}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete a chaos service
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteChaosServiceMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteChaosService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExperimentrunsGetExperimentRunResponse } from '../schemas/ExperimentrunsGetExperimentRunResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetChaosExperimentRunV3QueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
experimentRunId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetChaosExperimentRunV3QueryQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetChaosExperimentRunV3OkResponse = ExperimentrunsGetExperimentRunResponse;
|
|
17
|
+
export type GetChaosExperimentRunV3ErrorResponse = ApiRestError;
|
|
18
|
+
export interface GetChaosExperimentRunV3Props extends GetChaosExperimentRunV3QueryPathParams, Omit<FetcherOptions<GetChaosExperimentRunV3QueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetChaosExperimentRunV3QueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface GetChaosExperimentRunV3ResponseContainer {
|
|
22
|
+
body: GetChaosExperimentRunV3OkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function getChaosExperimentRunV3(props: GetChaosExperimentRunV3Props): Promise<GetChaosExperimentRunV3ResponseContainer>;
|
|
26
|
+
/**
|
|
27
|
+
* Fetches one run scoped to an experiment, by experimentRunId path slot or by notifyId in the query (with experimentRunId set to '_').
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetChaosExperimentRunV3Query(props: GetChaosExperimentRunV3Props, options?: Omit<UseQueryOptions<GetChaosExperimentRunV3ResponseContainer, GetChaosExperimentRunV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosExperimentRunV3ResponseContainer, 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 getChaosExperimentRunV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/runs/${props.experimentRunId}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Fetches one run scoped to an experiment, by experimentRunId path slot or by notifyId in the query (with experimentRunId set to '_').
|
|
11
|
+
*/
|
|
12
|
+
export function useGetChaosExperimentRunV3Query(props, options) {
|
|
13
|
+
return useQuery(['getChaosExperimentRunV3', props.identity, props.experimentRunId, props.queryParams], ({ signal }) => getChaosExperimentRunV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetChaosServiceQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetChaosServiceQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
organizationIdentifier?: string;
|
|
12
|
+
parentUniqueId?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
useParentUniqueID?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export type GetChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
17
|
+
export type GetChaosServiceErrorResponse = ApiRestError;
|
|
18
|
+
export interface GetChaosServiceProps extends GetChaosServiceQueryPathParams, Omit<FetcherOptions<GetChaosServiceQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetChaosServiceQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface GetChaosServiceResponseContainer {
|
|
22
|
+
body: GetChaosServiceOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function getChaosService(props: GetChaosServiceProps): Promise<GetChaosServiceResponseContainer>;
|
|
26
|
+
/**
|
|
27
|
+
* Get a chaos service by identity
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetChaosServiceQuery(props: GetChaosServiceProps, options?: Omit<UseQueryOptions<GetChaosServiceResponseContainer, GetChaosServiceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosServiceResponseContainer, 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 getChaosService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services/${props.identity}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get a chaos service by identity
|
|
11
|
+
*/
|
|
12
|
+
export function useGetChaosServiceQuery(props, options) {
|
|
13
|
+
return useQuery(['getChaosService', props.identity, props.queryParams], ({ signal }) => getChaosService(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InfraopsGetKubeObjectResponse } from '../schemas/InfraopsGetKubeObjectResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { InfraopsGetKubeObjectBody } from '../schemas/InfraopsGetKubeObjectBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface GetKubeObjectV3MutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetKubeObjectV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetKubeObjectV3RequestBody = InfraopsGetKubeObjectBody;
|
|
17
|
+
export type GetKubeObjectV3OkResponse = InfraopsGetKubeObjectResponse;
|
|
18
|
+
export type GetKubeObjectV3ErrorResponse = ApiRestError;
|
|
19
|
+
export interface GetKubeObjectV3Props extends GetKubeObjectV3MutationPathParams, Omit<FetcherOptions<GetKubeObjectV3MutationQueryParams, GetKubeObjectV3RequestBody>, 'url'> {
|
|
20
|
+
queryParams: GetKubeObjectV3MutationQueryParams;
|
|
21
|
+
body: GetKubeObjectV3RequestBody;
|
|
22
|
+
}
|
|
23
|
+
export interface GetKubeObjectV3ResponseContainer {
|
|
24
|
+
body: GetKubeObjectV3OkResponse;
|
|
25
|
+
headers: Headers;
|
|
26
|
+
}
|
|
27
|
+
export declare function getKubeObjectV3(props: GetKubeObjectV3Props): Promise<GetKubeObjectV3ResponseContainer>;
|
|
28
|
+
export type GetKubeObjectV3MutationProps<T extends keyof GetKubeObjectV3Props> = Omit<GetKubeObjectV3Props, T> & Partial<Pick<GetKubeObjectV3Props, T>>;
|
|
29
|
+
/**
|
|
30
|
+
* Discovers Kubernetes resources (group/version/resource) on a chaos infrastructure via delegate task.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useGetKubeObjectV3Mutation<T extends keyof GetKubeObjectV3Props>(props: Pick<Partial<GetKubeObjectV3Props>, T>, options?: Omit<UseMutationOptions<GetKubeObjectV3ResponseContainer, GetKubeObjectV3ErrorResponse, GetKubeObjectV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetKubeObjectV3ResponseContainer, ApiRestError, GetKubeObjectV3MutationProps<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 getKubeObjectV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-infrastructures/${props.identity}/kube-objects`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Discovers Kubernetes resources (group/version/resource) on a chaos infrastructure via delegate task.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetKubeObjectV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => getKubeObjectV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExperimentrunsListExperimentRunsResponse } from '../schemas/ExperimentrunsListExperimentRunsResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListChaosExperimentRunsV3QueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ListChaosExperimentRunsV3QueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
endTime?: number;
|
|
12
|
+
experimentIDs?: string;
|
|
13
|
+
experimentRunIDs?: string;
|
|
14
|
+
infraIDs?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @default 15
|
|
17
|
+
*/
|
|
18
|
+
limit?: number;
|
|
19
|
+
notifyIDs?: string;
|
|
20
|
+
organizationIdentifier?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @default 0
|
|
23
|
+
*/
|
|
24
|
+
page?: number;
|
|
25
|
+
parentUniqueId?: string;
|
|
26
|
+
phases?: string;
|
|
27
|
+
projectIdentifier?: string;
|
|
28
|
+
runSequence?: number;
|
|
29
|
+
search?: string;
|
|
30
|
+
sortAscending?: boolean;
|
|
31
|
+
sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
|
|
32
|
+
startTime?: number;
|
|
33
|
+
}
|
|
34
|
+
export type ListChaosExperimentRunsV3OkResponse = ExperimentrunsListExperimentRunsResponse;
|
|
35
|
+
export type ListChaosExperimentRunsV3ErrorResponse = ApiRestError;
|
|
36
|
+
export interface ListChaosExperimentRunsV3Props extends ListChaosExperimentRunsV3QueryPathParams, Omit<FetcherOptions<ListChaosExperimentRunsV3QueryQueryParams, unknown>, 'url'> {
|
|
37
|
+
queryParams: ListChaosExperimentRunsV3QueryQueryParams;
|
|
38
|
+
}
|
|
39
|
+
export interface ListChaosExperimentRunsV3ResponseContainer {
|
|
40
|
+
body: ListChaosExperimentRunsV3OkResponse;
|
|
41
|
+
headers: Headers;
|
|
42
|
+
}
|
|
43
|
+
export declare function listChaosExperimentRunsV3(props: ListChaosExperimentRunsV3Props): Promise<ListChaosExperimentRunsV3ResponseContainer>;
|
|
44
|
+
/**
|
|
45
|
+
* Lists runs of one experiment with the V3 filter+pagination conventions. Use this for dashboards and run history views.
|
|
46
|
+
*/
|
|
47
|
+
export declare function useListChaosExperimentRunsV3Query(props: ListChaosExperimentRunsV3Props, options?: Omit<UseQueryOptions<ListChaosExperimentRunsV3ResponseContainer, ListChaosExperimentRunsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosExperimentRunsV3ResponseContainer, 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 listChaosExperimentRunsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/runs`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists runs of one experiment with the V3 filter+pagination conventions. Use this for dashboards and run history views.
|
|
11
|
+
*/
|
|
12
|
+
export function useListChaosExperimentRunsV3Query(props, options) {
|
|
13
|
+
return useQuery(['listChaosExperimentRunsV3', props.identity, props.queryParams], ({ signal }) => listChaosExperimentRunsV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesListChaosServiceResponse } from '../schemas/ChaosservicesListChaosServiceResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListChaosServicesQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
correlationID?: string;
|
|
8
|
+
environmentIds?: string;
|
|
9
|
+
includeAllScope?: boolean;
|
|
10
|
+
infrastructureIds?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @default 15
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
15
|
+
organizationIdentifier?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @default 0
|
|
18
|
+
*/
|
|
19
|
+
page?: number;
|
|
20
|
+
parentUniqueId?: string;
|
|
21
|
+
projectIdentifier?: string;
|
|
22
|
+
search?: string;
|
|
23
|
+
sortAscending?: boolean;
|
|
24
|
+
sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
|
|
25
|
+
tags?: string;
|
|
26
|
+
useParentUniqueID?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export type ListChaosServicesOkResponse = ChaosservicesListChaosServiceResponse;
|
|
29
|
+
export type ListChaosServicesErrorResponse = ApiRestError;
|
|
30
|
+
export interface ListChaosServicesProps extends Omit<FetcherOptions<ListChaosServicesQueryQueryParams, unknown>, 'url'> {
|
|
31
|
+
queryParams: ListChaosServicesQueryQueryParams;
|
|
32
|
+
}
|
|
33
|
+
export interface ListChaosServicesResponseContainer {
|
|
34
|
+
body: ListChaosServicesOkResponse;
|
|
35
|
+
headers: Headers;
|
|
36
|
+
}
|
|
37
|
+
export declare function listChaosServices(props: ListChaosServicesProps): Promise<ListChaosServicesResponseContainer>;
|
|
38
|
+
/**
|
|
39
|
+
* List chaos services
|
|
40
|
+
*/
|
|
41
|
+
export declare function useListChaosServicesQuery(props: ListChaosServicesProps, options?: Omit<UseQueryOptions<ListChaosServicesResponseContainer, ListChaosServicesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServicesResponseContainer, 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 listChaosServices(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List chaos services
|
|
11
|
+
*/
|
|
12
|
+
export function useListChaosServicesQuery(props, options) {
|
|
13
|
+
return useQuery(['listChaosServices', props.queryParams], ({ signal }) => listChaosServices(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExperimentrunsRunExperimentResponse } from '../schemas/ExperimentrunsRunExperimentResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ExperimentrunsRunBody } from '../schemas/ExperimentrunsRunBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface RunChaosExperimentV3MutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface RunChaosExperimentV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
isIdentity?: boolean;
|
|
13
|
+
isOnboardingRun?: boolean;
|
|
14
|
+
organizationIdentifier?: string;
|
|
15
|
+
parentUniqueId?: string;
|
|
16
|
+
projectIdentifier?: string;
|
|
17
|
+
}
|
|
18
|
+
export type RunChaosExperimentV3RequestBody = ExperimentrunsRunBody;
|
|
19
|
+
export type RunChaosExperimentV3OkResponse = ExperimentrunsRunExperimentResponse;
|
|
20
|
+
export type RunChaosExperimentV3ErrorResponse = ApiRestError;
|
|
21
|
+
export interface RunChaosExperimentV3Props extends RunChaosExperimentV3MutationPathParams, Omit<FetcherOptions<RunChaosExperimentV3MutationQueryParams, RunChaosExperimentV3RequestBody>, 'url'> {
|
|
22
|
+
queryParams: RunChaosExperimentV3MutationQueryParams;
|
|
23
|
+
body: RunChaosExperimentV3RequestBody;
|
|
24
|
+
}
|
|
25
|
+
export interface RunChaosExperimentV3ResponseContainer {
|
|
26
|
+
body: RunChaosExperimentV3OkResponse;
|
|
27
|
+
headers: Headers;
|
|
28
|
+
}
|
|
29
|
+
export declare function runChaosExperimentV3(props: RunChaosExperimentV3Props): Promise<RunChaosExperimentV3ResponseContainer>;
|
|
30
|
+
export type RunChaosExperimentV3MutationProps<T extends keyof RunChaosExperimentV3Props> = Omit<RunChaosExperimentV3Props, T> & Partial<Pick<RunChaosExperimentV3Props, T>>;
|
|
31
|
+
/**
|
|
32
|
+
* Triggers an experiment run on its configured infra. Returns a notify ID and (if not blocked) a delegate task ID.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useRunChaosExperimentV3Mutation<T extends keyof RunChaosExperimentV3Props>(props: Pick<Partial<RunChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<RunChaosExperimentV3ResponseContainer, RunChaosExperimentV3ErrorResponse, RunChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosExperimentV3ResponseContainer, ApiRestError, RunChaosExperimentV3MutationProps<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 runChaosExperimentV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/run`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Triggers an experiment run on its configured infra. Returns a notify ID and (if not blocked) a delegate task ID.
|
|
11
|
+
*/
|
|
12
|
+
export function useRunChaosExperimentV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => runChaosExperimentV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExperimentrunsStopExperimentResponse } from '../schemas/ExperimentrunsStopExperimentResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ExperimentrunsStopExperimentBody } from '../schemas/ExperimentrunsStopExperimentBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface StopChaosExperimentV3MutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface StopChaosExperimentV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type StopChaosExperimentV3RequestBody = ExperimentrunsStopExperimentBody;
|
|
17
|
+
export type StopChaosExperimentV3OkResponse = ExperimentrunsStopExperimentResponse;
|
|
18
|
+
export type StopChaosExperimentV3ErrorResponse = ApiRestError;
|
|
19
|
+
export interface StopChaosExperimentV3Props extends StopChaosExperimentV3MutationPathParams, Omit<FetcherOptions<StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3RequestBody>, 'url'> {
|
|
20
|
+
queryParams: StopChaosExperimentV3MutationQueryParams;
|
|
21
|
+
body: StopChaosExperimentV3RequestBody;
|
|
22
|
+
}
|
|
23
|
+
export interface StopChaosExperimentV3ResponseContainer {
|
|
24
|
+
body: StopChaosExperimentV3OkResponse;
|
|
25
|
+
headers: Headers;
|
|
26
|
+
}
|
|
27
|
+
export declare function stopChaosExperimentV3(props: StopChaosExperimentV3Props): Promise<StopChaosExperimentV3ResponseContainer>;
|
|
28
|
+
export type StopChaosExperimentV3MutationProps<T extends keyof StopChaosExperimentV3Props> = Omit<StopChaosExperimentV3Props, T> & Partial<Pick<StopChaosExperimentV3Props, T>>;
|
|
29
|
+
/**
|
|
30
|
+
* Stops a single run (by experimentRunId or notifyId) or every Running run for the experiment when both are empty.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useStopChaosExperimentV3Mutation<T extends keyof StopChaosExperimentV3Props>(props: Pick<Partial<StopChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<StopChaosExperimentV3ResponseContainer, StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopChaosExperimentV3ResponseContainer, ApiRestError, StopChaosExperimentV3MutationProps<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 stopChaosExperimentV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/stop`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Stops a single run (by experimentRunId or notifyId) or every Running run for the experiment when both are empty.
|
|
11
|
+
*/
|
|
12
|
+
export function useStopChaosExperimentV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => stopChaosExperimentV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ChaosservicesUpdateRequest } from '../schemas/ChaosservicesUpdateRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface UpdateChaosServiceMutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateChaosServiceMutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
useParentUniqueID?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export type UpdateChaosServiceRequestBody = ChaosservicesUpdateRequest;
|
|
18
|
+
export type UpdateChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
19
|
+
export type UpdateChaosServiceErrorResponse = ApiRestError;
|
|
20
|
+
export interface UpdateChaosServiceProps extends UpdateChaosServiceMutationPathParams, Omit<FetcherOptions<UpdateChaosServiceMutationQueryParams, UpdateChaosServiceRequestBody>, 'url'> {
|
|
21
|
+
queryParams: UpdateChaosServiceMutationQueryParams;
|
|
22
|
+
body: UpdateChaosServiceRequestBody;
|
|
23
|
+
}
|
|
24
|
+
export interface UpdateChaosServiceResponseContainer {
|
|
25
|
+
body: UpdateChaosServiceOkResponse;
|
|
26
|
+
headers: Headers;
|
|
27
|
+
}
|
|
28
|
+
export declare function updateChaosService(props: UpdateChaosServiceProps): Promise<UpdateChaosServiceResponseContainer>;
|
|
29
|
+
export type UpdateChaosServiceMutationProps<T extends keyof UpdateChaosServiceProps> = Omit<UpdateChaosServiceProps, T> & Partial<Pick<UpdateChaosServiceProps, T>>;
|
|
30
|
+
/**
|
|
31
|
+
* updates a chaos service
|
|
32
|
+
*/
|
|
33
|
+
export declare function useUpdateChaosServiceMutation<T extends keyof UpdateChaosServiceProps>(props: Pick<Partial<UpdateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosServiceResponseContainer, UpdateChaosServiceErrorResponse, UpdateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosServiceResponseContainer, ApiRestError, UpdateChaosServiceMutationProps<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 updateChaosService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services/${props.identity}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* updates a chaos service
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateChaosServiceMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateChaosService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -28,6 +28,8 @@ export type { CreateChaosExperimentPipelineErrorResponse, CreateChaosExperimentP
|
|
|
28
28
|
export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
|
|
29
29
|
export type { CreateChaosHubErrorResponse, CreateChaosHubMutationProps, CreateChaosHubMutationQueryParams, CreateChaosHubOkResponse, CreateChaosHubProps, CreateChaosHubRequestBody, } from './hooks/useCreateChaosHubMutation';
|
|
30
30
|
export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
|
|
31
|
+
export type { CreateChaosServiceErrorResponse, CreateChaosServiceMutationProps, CreateChaosServiceMutationQueryParams, CreateChaosServiceOkResponse, CreateChaosServiceProps, CreateChaosServiceRequestBody, } from './hooks/useCreateChaosServiceMutation';
|
|
32
|
+
export { createChaosService, useCreateChaosServiceMutation, } from './hooks/useCreateChaosServiceMutation';
|
|
31
33
|
export type { CreateConditionErrorResponse, CreateConditionMutationProps, CreateConditionMutationQueryParams, CreateConditionOkResponse, CreateConditionProps, CreateConditionRequestBody, } from './hooks/useCreateConditionMutation';
|
|
32
34
|
export { createCondition, useCreateConditionMutation } from './hooks/useCreateConditionMutation';
|
|
33
35
|
export type { CreateDrTestErrorResponse, CreateDrTestMutationProps, CreateDrTestMutationQueryParams, CreateDrTestOkResponse, CreateDrTestProps, CreateDrTestRequestBody, } from './hooks/useCreateDrTestMutation';
|
|
@@ -64,6 +66,8 @@ export type { DeleteActionErrorResponse, DeleteActionMutationPathParams, DeleteA
|
|
|
64
66
|
export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMutation';
|
|
65
67
|
export type { DeleteActionTemplateErrorResponse, DeleteActionTemplateMutationPathParams, DeleteActionTemplateMutationProps, DeleteActionTemplateMutationQueryParams, DeleteActionTemplateOkResponse, DeleteActionTemplateProps, } from './hooks/useDeleteActionTemplateMutation';
|
|
66
68
|
export { deleteActionTemplate, useDeleteActionTemplateMutation, } from './hooks/useDeleteActionTemplateMutation';
|
|
69
|
+
export type { DeleteChaosServiceErrorResponse, DeleteChaosServiceMutationPathParams, DeleteChaosServiceMutationProps, DeleteChaosServiceMutationQueryParams, DeleteChaosServiceOkResponse, DeleteChaosServiceProps, } from './hooks/useDeleteChaosServiceMutation';
|
|
70
|
+
export { deleteChaosService, useDeleteChaosServiceMutation, } from './hooks/useDeleteChaosServiceMutation';
|
|
67
71
|
export type { DeleteChaosV2ExperimentErrorResponse, DeleteChaosV2ExperimentMutationPathParams, DeleteChaosV2ExperimentMutationProps, DeleteChaosV2ExperimentMutationQueryParams, DeleteChaosV2ExperimentOkResponse, DeleteChaosV2ExperimentProps, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
68
72
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
69
73
|
export type { DeleteConditionErrorResponse, DeleteConditionMutationPathParams, DeleteConditionMutationProps, DeleteConditionMutationQueryParams, DeleteConditionOkResponse, DeleteConditionProps, } from './hooks/useDeleteConditionMutation';
|
|
@@ -134,6 +138,8 @@ export type { GetChaosExperimentRunReportPdfErrorResponse, GetChaosExperimentRun
|
|
|
134
138
|
export { getChaosExperimentRunReportPdf, useGetChaosExperimentRunReportPdfQuery, } from './hooks/useGetChaosExperimentRunReportPdfQuery';
|
|
135
139
|
export type { GetChaosExperimentRunReportErrorResponse, GetChaosExperimentRunReportOkResponse, GetChaosExperimentRunReportProps, GetChaosExperimentRunReportQueryPathParams, GetChaosExperimentRunReportQueryQueryParams, } from './hooks/useGetChaosExperimentRunReportQuery';
|
|
136
140
|
export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
|
|
141
|
+
export type { GetChaosExperimentRunV3ErrorResponse, GetChaosExperimentRunV3OkResponse, GetChaosExperimentRunV3Props, GetChaosExperimentRunV3QueryPathParams, GetChaosExperimentRunV3QueryQueryParams, } from './hooks/useGetChaosExperimentRunV3Query';
|
|
142
|
+
export { getChaosExperimentRunV3, useGetChaosExperimentRunV3Query, } from './hooks/useGetChaosExperimentRunV3Query';
|
|
137
143
|
export type { GetChaosExperimentRunsForPipelineErrorResponse, GetChaosExperimentRunsForPipelineOkResponse, GetChaosExperimentRunsForPipelineProps, GetChaosExperimentRunsForPipelineQueryQueryParams, GetChaosExperimentRunsForPipelineRequestBody, } from './hooks/useGetChaosExperimentRunsForPipelineQuery';
|
|
138
144
|
export { getChaosExperimentRunsForPipeline, useGetChaosExperimentRunsForPipelineQuery, } from './hooks/useGetChaosExperimentRunsForPipelineQuery';
|
|
139
145
|
export type { GetChaosHubErrorResponse, GetChaosHubOkResponse, GetChaosHubProps, GetChaosHubQueryPathParams, GetChaosHubQueryQueryParams, } from './hooks/useGetChaosHubQuery';
|
|
@@ -142,6 +148,8 @@ export type { GetChaosPipelineExecutionErrorResponse, GetChaosPipelineExecutionO
|
|
|
142
148
|
export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
|
|
143
149
|
export type { GetChaosPipelineStepDetailsErrorResponse, GetChaosPipelineStepDetailsOkResponse, GetChaosPipelineStepDetailsProps, GetChaosPipelineStepDetailsQueryPathParams, GetChaosPipelineStepDetailsQueryQueryParams, } from './hooks/useGetChaosPipelineStepDetailsQuery';
|
|
144
150
|
export { getChaosPipelineStepDetails, useGetChaosPipelineStepDetailsQuery, } from './hooks/useGetChaosPipelineStepDetailsQuery';
|
|
151
|
+
export type { GetChaosServiceErrorResponse, GetChaosServiceOkResponse, GetChaosServiceProps, GetChaosServiceQueryPathParams, GetChaosServiceQueryQueryParams, } from './hooks/useGetChaosServiceQuery';
|
|
152
|
+
export { getChaosService, useGetChaosServiceQuery } from './hooks/useGetChaosServiceQuery';
|
|
145
153
|
export type { GetChaosV2ExperimentErrorResponse, GetChaosV2ExperimentOkResponse, GetChaosV2ExperimentProps, GetChaosV2ExperimentQueryPathParams, GetChaosV2ExperimentQueryQueryParams, } from './hooks/useGetChaosV2ExperimentQuery';
|
|
146
154
|
export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/useGetChaosV2ExperimentQuery';
|
|
147
155
|
export type { GetChaosV2ExperimentRunInternalApiErrorResponse, GetChaosV2ExperimentRunInternalApiMutationPathParams, GetChaosV2ExperimentRunInternalApiMutationProps, GetChaosV2ExperimentRunInternalApiMutationQueryParams, GetChaosV2ExperimentRunInternalApiOkResponse, GetChaosV2ExperimentRunInternalApiProps, GetChaosV2ExperimentRunInternalApiRequestBody, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
|
|
@@ -202,6 +210,8 @@ export type { GetInfraV2ErrorResponse, GetInfraV2OkResponse, GetInfraV2Props, Ge
|
|
|
202
210
|
export { getInfraV2, useGetInfraV2Query } from './hooks/useGetInfraV2Query';
|
|
203
211
|
export type { GetInputSetErrorResponse, GetInputSetOkResponse, GetInputSetProps, GetInputSetQueryPathParams, GetInputSetQueryQueryParams, } from './hooks/useGetInputSetQuery';
|
|
204
212
|
export { getInputSet, useGetInputSetQuery } from './hooks/useGetInputSetQuery';
|
|
213
|
+
export type { GetKubeObjectV3ErrorResponse, GetKubeObjectV3MutationPathParams, GetKubeObjectV3MutationProps, GetKubeObjectV3MutationQueryParams, GetKubeObjectV3OkResponse, GetKubeObjectV3Props, GetKubeObjectV3RequestBody, } from './hooks/useGetKubeObjectV3Mutation';
|
|
214
|
+
export { getKubeObjectV3, useGetKubeObjectV3Mutation } from './hooks/useGetKubeObjectV3Mutation';
|
|
205
215
|
export type { GetLegacyKubernetesChaosInfraDetailsErrorResponse, GetLegacyKubernetesChaosInfraDetailsOkResponse, GetLegacyKubernetesChaosInfraDetailsProps, GetLegacyKubernetesChaosInfraDetailsQueryPathParams, GetLegacyKubernetesChaosInfraDetailsQueryQueryParams, } from './hooks/useGetLegacyKubernetesChaosInfraDetailsQuery';
|
|
206
216
|
export { getLegacyKubernetesChaosInfraDetails, useGetLegacyKubernetesChaosInfraDetailsQuery, } from './hooks/useGetLegacyKubernetesChaosInfraDetailsQuery';
|
|
207
217
|
export type { GetLegacyKubernetesChaosInfraManifestErrorResponse, GetLegacyKubernetesChaosInfraManifestOkResponse, GetLegacyKubernetesChaosInfraManifestProps, GetLegacyKubernetesChaosInfraManifestQueryPathParams, GetLegacyKubernetesChaosInfraManifestQueryQueryParams, } from './hooks/useGetLegacyKubernetesChaosInfraManifestQuery';
|
|
@@ -270,8 +280,12 @@ export type { ListChaosComponentErrorResponse, ListChaosComponentOkResponse, Lis
|
|
|
270
280
|
export { listChaosComponent, useListChaosComponentQuery } from './hooks/useListChaosComponentQuery';
|
|
271
281
|
export type { ListChaosEnabledInfraV2ErrorResponse, ListChaosEnabledInfraV2OkResponse, ListChaosEnabledInfraV2Props, ListChaosEnabledInfraV2QueryQueryParams, ListChaosEnabledInfraV2RequestBody, } from './hooks/useListChaosEnabledInfraV2Query';
|
|
272
282
|
export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
|
|
283
|
+
export type { ListChaosExperimentRunsV3ErrorResponse, ListChaosExperimentRunsV3OkResponse, ListChaosExperimentRunsV3Props, ListChaosExperimentRunsV3QueryPathParams, ListChaosExperimentRunsV3QueryQueryParams, } from './hooks/useListChaosExperimentRunsV3Query';
|
|
284
|
+
export { listChaosExperimentRunsV3, useListChaosExperimentRunsV3Query, } from './hooks/useListChaosExperimentRunsV3Query';
|
|
273
285
|
export type { ListChaosHubErrorResponse, ListChaosHubOkResponse, ListChaosHubProps, ListChaosHubQueryQueryParams, } from './hooks/useListChaosHubQuery';
|
|
274
286
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
287
|
+
export type { ListChaosServicesErrorResponse, ListChaosServicesOkResponse, ListChaosServicesProps, ListChaosServicesQueryQueryParams, } from './hooks/useListChaosServicesQuery';
|
|
288
|
+
export { listChaosServices, useListChaosServicesQuery } from './hooks/useListChaosServicesQuery';
|
|
275
289
|
export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkResponse, ListChaosV2ExperimentProps, ListChaosV2ExperimentQueryQueryParams, } from './hooks/useListChaosV2ExperimentQuery';
|
|
276
290
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
277
291
|
export type { ListConditionErrorResponse, ListConditionOkResponse, ListConditionProps, ListConditionQueryQueryParams, } from './hooks/useListConditionQuery';
|
|
@@ -380,6 +394,8 @@ export type { RunChaosComponentForMachineErrorResponse, RunChaosComponentForMach
|
|
|
380
394
|
export { runChaosComponentForMachine, useRunChaosComponentForMachineMutation, } from './hooks/useRunChaosComponentForMachineMutation';
|
|
381
395
|
export type { RunChaosComponentErrorResponse, RunChaosComponentMutationProps, RunChaosComponentMutationQueryParams, RunChaosComponentOkResponse, RunChaosComponentProps, RunChaosComponentRequestBody, } from './hooks/useRunChaosComponentMutation';
|
|
382
396
|
export { runChaosComponent, useRunChaosComponentMutation, } from './hooks/useRunChaosComponentMutation';
|
|
397
|
+
export type { RunChaosExperimentV3ErrorResponse, RunChaosExperimentV3MutationPathParams, RunChaosExperimentV3MutationProps, RunChaosExperimentV3MutationQueryParams, RunChaosExperimentV3OkResponse, RunChaosExperimentV3Props, RunChaosExperimentV3RequestBody, } from './hooks/useRunChaosExperimentV3Mutation';
|
|
398
|
+
export { runChaosExperimentV3, useRunChaosExperimentV3Mutation, } from './hooks/useRunChaosExperimentV3Mutation';
|
|
383
399
|
export type { RunChaosV2ExperimentErrorResponse, RunChaosV2ExperimentMutationPathParams, RunChaosV2ExperimentMutationProps, RunChaosV2ExperimentMutationQueryParams, RunChaosV2ExperimentOkResponse, RunChaosV2ExperimentProps, RunChaosV2ExperimentRequestBody, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
384
400
|
export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
385
401
|
export type { RunChaosV2InternalApiErrorResponse, RunChaosV2InternalApiMutationPathParams, RunChaosV2InternalApiMutationProps, RunChaosV2InternalApiMutationQueryParams, RunChaosV2InternalApiOkResponse, RunChaosV2InternalApiProps, RunChaosV2InternalApiRequestBody, } from './hooks/useRunChaosV2InternalApiMutation';
|
|
@@ -388,6 +404,8 @@ export type { RunRecommendationErrorResponse, RunRecommendationMutationProps, Ru
|
|
|
388
404
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
389
405
|
export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationProps, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
390
406
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
407
|
+
export type { StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationPathParams, StopChaosExperimentV3MutationProps, StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3OkResponse, StopChaosExperimentV3Props, StopChaosExperimentV3RequestBody, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
408
|
+
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
391
409
|
export type { StopChaosV2ExperimentErrorResponse, StopChaosV2ExperimentMutationPathParams, StopChaosV2ExperimentMutationProps, StopChaosV2ExperimentMutationQueryParams, StopChaosV2ExperimentOkResponse, StopChaosV2ExperimentProps, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
392
410
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
393
411
|
export type { StopDrTestErrorResponse, StopDrTestMutationPathParams, StopDrTestMutationProps, StopDrTestMutationQueryParams, StopDrTestOkResponse, StopDrTestProps, } from './hooks/useStopDrTestMutation';
|
|
@@ -406,6 +424,8 @@ export type { UpdateChaosExperimentExecutionNodeErrorResponse, UpdateChaosExperi
|
|
|
406
424
|
export { updateChaosExperimentExecutionNode, useUpdateChaosExperimentExecutionNodeMutation, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
|
|
407
425
|
export type { UpdateChaosHubErrorResponse, UpdateChaosHubMutationPathParams, UpdateChaosHubMutationProps, UpdateChaosHubMutationQueryParams, UpdateChaosHubOkResponse, UpdateChaosHubProps, UpdateChaosHubRequestBody, } from './hooks/useUpdateChaosHubMutation';
|
|
408
426
|
export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
|
|
427
|
+
export type { UpdateChaosServiceErrorResponse, UpdateChaosServiceMutationPathParams, UpdateChaosServiceMutationProps, UpdateChaosServiceMutationQueryParams, UpdateChaosServiceOkResponse, UpdateChaosServiceProps, UpdateChaosServiceRequestBody, } from './hooks/useUpdateChaosServiceMutation';
|
|
428
|
+
export { updateChaosService, useUpdateChaosServiceMutation, } from './hooks/useUpdateChaosServiceMutation';
|
|
409
429
|
export type { UpdateChaosV2CronExperimentErrorResponse, UpdateChaosV2CronExperimentMutationProps, UpdateChaosV2CronExperimentMutationQueryParams, UpdateChaosV2CronExperimentOkResponse, UpdateChaosV2CronExperimentProps, UpdateChaosV2CronExperimentRequestBody, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
410
430
|
export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
411
431
|
export type { UpdateConditionErrorResponse, UpdateConditionMutationPathParams, UpdateConditionMutationProps, UpdateConditionMutationQueryParams, UpdateConditionOkResponse, UpdateConditionProps, UpdateConditionRequestBody, } from './hooks/useUpdateConditionMutation';
|
|
@@ -631,6 +651,12 @@ export type { ChaosprobetemplateProbeTemplate } from './schemas/Chaosprobetempla
|
|
|
631
651
|
export type { ChaosprobetemplateProbeTemplateCount } from './schemas/ChaosprobetemplateProbeTemplateCount';
|
|
632
652
|
export type { ChaosprobetemplateProbeTemplateVariables } from './schemas/ChaosprobetemplateProbeTemplateVariables';
|
|
633
653
|
export type { ChaosresourcenotesNoteType } from './schemas/ChaosresourcenotesNoteType';
|
|
654
|
+
export type { ChaosservicesChaosServiceResponse } from './schemas/ChaosservicesChaosServiceResponse';
|
|
655
|
+
export type { ChaosservicesCreateRequest } from './schemas/ChaosservicesCreateRequest';
|
|
656
|
+
export type { ChaosservicesDeleteResponse } from './schemas/ChaosservicesDeleteResponse';
|
|
657
|
+
export type { ChaosservicesListChaosServiceResponse } from './schemas/ChaosservicesListChaosServiceResponse';
|
|
658
|
+
export type { ChaosservicesServiceProbeAssociation } from './schemas/ChaosservicesServiceProbeAssociation';
|
|
659
|
+
export type { ChaosservicesUpdateRequest } from './schemas/ChaosservicesUpdateRequest';
|
|
634
660
|
export type { ChaosserviceusageInfrastructureType } from './schemas/ChaosserviceusageInfrastructureType';
|
|
635
661
|
export type { ChaosserviceusageOverallServiceUsageStats } from './schemas/ChaosserviceusageOverallServiceUsageStats';
|
|
636
662
|
export type { ChaosserviceusagePeriodicStats } from './schemas/ChaosserviceusagePeriodicStats';
|
|
@@ -738,6 +764,13 @@ export type { ExperimentTargets } from './schemas/ExperimentTargets';
|
|
|
738
764
|
export type { ExperimentVmWareAuth } from './schemas/ExperimentVmWareAuth';
|
|
739
765
|
export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
|
|
740
766
|
export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
|
|
767
|
+
export type { ExperimentrunsGetExperimentRunResponse } from './schemas/ExperimentrunsGetExperimentRunResponse';
|
|
768
|
+
export type { ExperimentrunsListExperimentRunItem } from './schemas/ExperimentrunsListExperimentRunItem';
|
|
769
|
+
export type { ExperimentrunsListExperimentRunsResponse } from './schemas/ExperimentrunsListExperimentRunsResponse';
|
|
770
|
+
export type { ExperimentrunsRunBody } from './schemas/ExperimentrunsRunBody';
|
|
771
|
+
export type { ExperimentrunsRunExperimentResponse } from './schemas/ExperimentrunsRunExperimentResponse';
|
|
772
|
+
export type { ExperimentrunsStopExperimentBody } from './schemas/ExperimentrunsStopExperimentBody';
|
|
773
|
+
export type { ExperimentrunsStopExperimentResponse } from './schemas/ExperimentrunsStopExperimentResponse';
|
|
741
774
|
export type { ExperimentsAuditInfo } from './schemas/ExperimentsAuditInfo';
|
|
742
775
|
export type { ExperimentsCreateRequest } from './schemas/ExperimentsCreateRequest';
|
|
743
776
|
export type { ExperimentsCreateResponse } from './schemas/ExperimentsCreateResponse';
|
|
@@ -934,6 +967,11 @@ export type { InfraV2Upgrade } from './schemas/InfraV2Upgrade';
|
|
|
934
967
|
export type { InfraV2UpgradeStatus } from './schemas/InfraV2UpgradeStatus';
|
|
935
968
|
export type { InfraV2UserDetails } from './schemas/InfraV2UserDetails';
|
|
936
969
|
export type { InfraV2Volumes } from './schemas/InfraV2Volumes';
|
|
970
|
+
export type { InfraopsGetKubeObjectBody } from './schemas/InfraopsGetKubeObjectBody';
|
|
971
|
+
export type { InfraopsGetKubeObjectResponse } from './schemas/InfraopsGetKubeObjectResponse';
|
|
972
|
+
export type { InfraopsKubeGvrRequest } from './schemas/InfraopsKubeGvrRequest';
|
|
973
|
+
export type { InfraopsKubeObject } from './schemas/InfraopsKubeObject';
|
|
974
|
+
export type { InfraopsObjectData } from './schemas/InfraopsObjectData';
|
|
937
975
|
export type { InputsetInputSet } from './schemas/InputsetInputSet';
|
|
938
976
|
export type { InputsetsCreateInputSetRequest } from './schemas/InputsetsCreateInputSetRequest';
|
|
939
977
|
export type { InputsetsCreateInputSetResponse } from './schemas/InputsetsCreateInputSetResponse';
|
|
@@ -13,6 +13,7 @@ export { createChaosComponent, useCreateChaosComponentMutation, } from './hooks/
|
|
|
13
13
|
export { createChaosExperimentExecutionNode, useCreateChaosExperimentExecutionNodeMutation, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
|
|
14
14
|
export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
|
|
15
15
|
export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
|
|
16
|
+
export { createChaosService, useCreateChaosServiceMutation, } from './hooks/useCreateChaosServiceMutation';
|
|
16
17
|
export { createCondition, useCreateConditionMutation } from './hooks/useCreateConditionMutation';
|
|
17
18
|
export { createDrTest, useCreateDrTestMutation } from './hooks/useCreateDrTestMutation';
|
|
18
19
|
export { createExperimentFromTemplate, useCreateExperimentFromTemplateMutation, } from './hooks/useCreateExperimentFromTemplateMutation';
|
|
@@ -31,6 +32,7 @@ export { createV2Onboarding, useCreateV2OnboardingMutation, } from './hooks/useC
|
|
|
31
32
|
export { delegateCallbackUpdate, useDelegateCallbackUpdateMutation, } from './hooks/useDelegateCallbackUpdateMutation';
|
|
32
33
|
export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMutation';
|
|
33
34
|
export { deleteActionTemplate, useDeleteActionTemplateMutation, } from './hooks/useDeleteActionTemplateMutation';
|
|
35
|
+
export { deleteChaosService, useDeleteChaosServiceMutation, } from './hooks/useDeleteChaosServiceMutation';
|
|
34
36
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
35
37
|
export { deleteCondition, useDeleteConditionMutation } from './hooks/useDeleteConditionMutation';
|
|
36
38
|
export { deleteDrTest, useDeleteDrTestMutation } from './hooks/useDeleteDrTestMutation';
|
|
@@ -66,10 +68,12 @@ export { getChaosExperimentRunReportJson, useGetChaosExperimentRunReportJsonQuer
|
|
|
66
68
|
export { getChaosExperimentRunReportPdfLegacy, useGetChaosExperimentRunReportPdfLegacyQuery, } from './hooks/useGetChaosExperimentRunReportPdfLegacyQuery';
|
|
67
69
|
export { getChaosExperimentRunReportPdf, useGetChaosExperimentRunReportPdfQuery, } from './hooks/useGetChaosExperimentRunReportPdfQuery';
|
|
68
70
|
export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
|
|
71
|
+
export { getChaosExperimentRunV3, useGetChaosExperimentRunV3Query, } from './hooks/useGetChaosExperimentRunV3Query';
|
|
69
72
|
export { getChaosExperimentRunsForPipeline, useGetChaosExperimentRunsForPipelineQuery, } from './hooks/useGetChaosExperimentRunsForPipelineQuery';
|
|
70
73
|
export { getChaosHub, useGetChaosHubQuery } from './hooks/useGetChaosHubQuery';
|
|
71
74
|
export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
|
|
72
75
|
export { getChaosPipelineStepDetails, useGetChaosPipelineStepDetailsQuery, } from './hooks/useGetChaosPipelineStepDetailsQuery';
|
|
76
|
+
export { getChaosService, useGetChaosServiceQuery } from './hooks/useGetChaosServiceQuery';
|
|
73
77
|
export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/useGetChaosV2ExperimentQuery';
|
|
74
78
|
export { getChaosV2ExperimentRunInternalApi, useGetChaosV2ExperimentRunInternalApiMutation, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
|
|
75
79
|
export { getChaosV2ExperimentRun, useGetChaosV2ExperimentRunQuery, } from './hooks/useGetChaosV2ExperimentRunQuery';
|
|
@@ -100,6 +104,7 @@ export { getImageRegistryV3, useGetImageRegistryV3Query } from './hooks/useGetIm
|
|
|
100
104
|
export { getInfraToken, useGetInfraTokenQuery } from './hooks/useGetInfraTokenQuery';
|
|
101
105
|
export { getInfraV2, useGetInfraV2Query } from './hooks/useGetInfraV2Query';
|
|
102
106
|
export { getInputSet, useGetInputSetQuery } from './hooks/useGetInputSetQuery';
|
|
107
|
+
export { getKubeObjectV3, useGetKubeObjectV3Mutation } from './hooks/useGetKubeObjectV3Mutation';
|
|
103
108
|
export { getLegacyKubernetesChaosInfraDetails, useGetLegacyKubernetesChaosInfraDetailsQuery, } from './hooks/useGetLegacyKubernetesChaosInfraDetailsQuery';
|
|
104
109
|
export { getLegacyKubernetesChaosInfraManifest, useGetLegacyKubernetesChaosInfraManifestQuery, } from './hooks/useGetLegacyKubernetesChaosInfraManifestQuery';
|
|
105
110
|
export { getLegacyKubernetesChaosInfraStats, useGetLegacyKubernetesChaosInfraStatsQuery, } from './hooks/useGetLegacyKubernetesChaosInfraStatsQuery';
|
|
@@ -134,7 +139,9 @@ export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
|
|
|
134
139
|
export { listApplication, useListApplicationQuery } from './hooks/useListApplicationQuery';
|
|
135
140
|
export { listChaosComponent, useListChaosComponentQuery } from './hooks/useListChaosComponentQuery';
|
|
136
141
|
export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
|
|
142
|
+
export { listChaosExperimentRunsV3, useListChaosExperimentRunsV3Query, } from './hooks/useListChaosExperimentRunsV3Query';
|
|
137
143
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
144
|
+
export { listChaosServices, useListChaosServicesQuery } from './hooks/useListChaosServicesQuery';
|
|
138
145
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
139
146
|
export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
|
|
140
147
|
export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
|
|
@@ -189,10 +196,12 @@ export { resolveImageRegistryV3, useResolveImageRegistryV3Query, } from './hooks
|
|
|
189
196
|
export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
|
|
190
197
|
export { runChaosComponentForMachine, useRunChaosComponentForMachineMutation, } from './hooks/useRunChaosComponentForMachineMutation';
|
|
191
198
|
export { runChaosComponent, useRunChaosComponentMutation, } from './hooks/useRunChaosComponentMutation';
|
|
199
|
+
export { runChaosExperimentV3, useRunChaosExperimentV3Mutation, } from './hooks/useRunChaosExperimentV3Mutation';
|
|
192
200
|
export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
193
201
|
export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hooks/useRunChaosV2InternalApiMutation';
|
|
194
202
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
195
203
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
204
|
+
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
196
205
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
197
206
|
export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
|
|
198
207
|
export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
@@ -202,6 +211,7 @@ export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/
|
|
|
202
211
|
export { updateChaosComponent, useUpdateChaosComponentMutation, } from './hooks/useUpdateChaosComponentMutation';
|
|
203
212
|
export { updateChaosExperimentExecutionNode, useUpdateChaosExperimentExecutionNodeMutation, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
|
|
204
213
|
export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
|
|
214
|
+
export { updateChaosService, useUpdateChaosServiceMutation, } from './hooks/useUpdateChaosServiceMutation';
|
|
205
215
|
export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
206
216
|
export { updateCondition, useUpdateConditionMutation } from './hooks/useUpdateConditionMutation';
|
|
207
217
|
export { updateCronStateV3, useUpdateCronStateV3Mutation, } from './hooks/useUpdateCronStateV3Mutation';
|
|
@@ -8,6 +8,10 @@ export interface ChaosExecutionNodesChaosExecutionNode {
|
|
|
8
8
|
chaosData?: ChaosExecutionNodesChaosData;
|
|
9
9
|
duration?: number;
|
|
10
10
|
errorData?: ChaosExecutionNodesErrorData;
|
|
11
|
+
/**
|
|
12
|
+
* TODO: Add this back when we have a way to store the service ref in the database
|
|
13
|
+
* ServiceRef *ServiceRef `json:"serviceRef,omitempty" bson:"service_ref,omitempty"`
|
|
14
|
+
*/
|
|
11
15
|
estimatedTime?: number;
|
|
12
16
|
executionOutput?: ChaosExecutionNodesExecutionOutput;
|
|
13
17
|
experimentID?: string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
2
|
+
import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
|
|
3
|
+
import type { DatabaseDiscoveredServiceSpec } from '../schemas/DatabaseDiscoveredServiceSpec';
|
|
4
|
+
export interface ChaosservicesChaosServiceResponse {
|
|
5
|
+
/**
|
|
6
|
+
* account id to access the resource
|
|
7
|
+
*/
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
agentId?: string;
|
|
10
|
+
createdAt?: number;
|
|
11
|
+
createdBy?: HcesdkUserDetails;
|
|
12
|
+
description?: string;
|
|
13
|
+
environmentId?: string;
|
|
14
|
+
externalServiceId?: string;
|
|
15
|
+
identity?: string;
|
|
16
|
+
infrastructureId?: string;
|
|
17
|
+
isRemoved: boolean;
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* organization id to access the resource
|
|
21
|
+
*/
|
|
22
|
+
organizationIdentifier?: string;
|
|
23
|
+
/**
|
|
24
|
+
* resolved parent scope unique ID (from scope-info API or query param)
|
|
25
|
+
*/
|
|
26
|
+
parentUniqueId?: string;
|
|
27
|
+
probes?: ChaosservicesServiceProbeAssociation[];
|
|
28
|
+
/**
|
|
29
|
+
* project id to access the resource
|
|
30
|
+
*/
|
|
31
|
+
projectIdentifier?: string;
|
|
32
|
+
serviceType?: string;
|
|
33
|
+
spec?: DatabaseDiscoveredServiceSpec;
|
|
34
|
+
tags?: string[];
|
|
35
|
+
uniqueId?: string;
|
|
36
|
+
updatedAt?: number;
|
|
37
|
+
updatedBy?: HcesdkUserDetails;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
|
|
2
|
+
export interface ChaosservicesCreateRequest {
|
|
3
|
+
agentId?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
environmentId?: string;
|
|
6
|
+
externalServiceId?: string;
|
|
7
|
+
identity?: string;
|
|
8
|
+
infrastructureId?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
probes?: ChaosservicesServiceProbeAssociation[];
|
|
11
|
+
tags?: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
2
|
+
import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
|
|
3
|
+
export interface ChaosservicesListChaosServiceResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
data?: ChaosservicesChaosServiceResponse[];
|
|
6
|
+
pagination?: SharedPaginationResponse;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
|
|
2
|
+
export interface ChaosservicesUpdateRequest {
|
|
3
|
+
agentId?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
environmentId?: string;
|
|
6
|
+
externalServiceId?: string;
|
|
7
|
+
identity?: string;
|
|
8
|
+
infrastructureId?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
probes?: ChaosservicesServiceProbeAssociation[];
|
|
11
|
+
tags?: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Absent' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped';
|
|
1
|
+
export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Absent' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped' | 'Timeout';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
2
|
+
export interface ExperimentrunsGetExperimentRunResponse {
|
|
3
|
+
completed?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* correlation id is used to debug micro svc communication
|
|
6
|
+
*/
|
|
7
|
+
correlationID?: string;
|
|
8
|
+
createdAt?: number;
|
|
9
|
+
createdBy?: HcesdkUserDetails;
|
|
10
|
+
executionData?: string;
|
|
11
|
+
experimentId?: string;
|
|
12
|
+
experimentName?: string;
|
|
13
|
+
experimentRunId?: string;
|
|
14
|
+
experimentType?: string;
|
|
15
|
+
experimentYaml?: string;
|
|
16
|
+
infraId?: string;
|
|
17
|
+
manifestVersion?: string;
|
|
18
|
+
notifyId?: string;
|
|
19
|
+
phase?: string;
|
|
20
|
+
runSequence?: number;
|
|
21
|
+
updatedAt?: number;
|
|
22
|
+
updatedBy?: HcesdkUserDetails;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
2
|
+
export interface ExperimentrunsListExperimentRunItem {
|
|
3
|
+
createdBy?: HcesdkUserDetails;
|
|
4
|
+
experimentId?: string;
|
|
5
|
+
experimentName?: string;
|
|
6
|
+
experimentRunId?: string;
|
|
7
|
+
infraId?: string;
|
|
8
|
+
infraType?: string;
|
|
9
|
+
notifyId?: string;
|
|
10
|
+
phase?: string;
|
|
11
|
+
resiliencyScore?: number;
|
|
12
|
+
runSequence?: number;
|
|
13
|
+
startedAt?: number;
|
|
14
|
+
updatedAt?: number;
|
|
15
|
+
updatedBy?: HcesdkUserDetails;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ExperimentrunsListExperimentRunItem } from '../schemas/ExperimentrunsListExperimentRunItem';
|
|
2
|
+
import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
|
|
3
|
+
export interface ExperimentrunsListExperimentRunsResponse {
|
|
4
|
+
/**
|
|
5
|
+
* correlation id is used to debug micro svc communication
|
|
6
|
+
*/
|
|
7
|
+
correlationID?: string;
|
|
8
|
+
data?: ExperimentrunsListExperimentRunItem[];
|
|
9
|
+
pagination?: SharedPaginationResponse;
|
|
10
|
+
totalItems?: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface ExperimentrunsRunExperimentResponse {
|
|
2
|
+
/**
|
|
3
|
+
* correlation id is used to debug micro svc communication
|
|
4
|
+
*/
|
|
5
|
+
correlationID?: string;
|
|
6
|
+
delegateTaskId?: string;
|
|
7
|
+
experimentId?: string;
|
|
8
|
+
experimentName?: string;
|
|
9
|
+
experimentRunId?: string;
|
|
10
|
+
notifyId?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InfraopsKubeObject } from '../schemas/InfraopsKubeObject';
|
|
2
|
+
export interface InfraopsGetKubeObjectResponse {
|
|
3
|
+
/**
|
|
4
|
+
* correlation id is used to debug micro svc communication
|
|
5
|
+
*/
|
|
6
|
+
correlationID?: string;
|
|
7
|
+
infraId?: string;
|
|
8
|
+
kubeObj?: InfraopsKubeObject[];
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/chaos-manager/src/services/schemas/V3GetExperimentOrTemplateVariableResponse.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
1
2
|
import type { V3GetExperimentOrTemplateVariableData } from '../schemas/V3GetExperimentOrTemplateVariableData';
|
|
2
3
|
export interface V3GetExperimentOrTemplateVariableResponse {
|
|
4
|
+
experimentInputs?: TemplateInput[];
|
|
3
5
|
items?: V3GetExperimentOrTemplateVariableData[];
|
|
4
6
|
}
|
package/package.json
CHANGED