@harnessio/react-chaos-manager-client 1.10.0 → 1.11.1-beta.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.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useFetFaultVariablesQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useFetFaultVariablesQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultYamlQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultYamlQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetMachineChaosInfraDetailsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultInHubQuery.d.ts +36 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultInHubQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +18 -14
- package/dist/chaos-manager/src/services/hooks/useListFaultQuery.js +2 -2
- package/dist/chaos-manager/src/services/index.d.ts +19 -1
- package/dist/chaos-manager/src/services/index.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionsExecutedByExperiment.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ActionsInfrastructureType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ActionsUserDetails.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ActionsUserDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunAction.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunAction.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentWorkflowRevision.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +28 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultYaml.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultYaml.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultListFaultResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultListFaultResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentActionRef.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimentChaosInputs.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimentHelperConfig.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimentProbeActions.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimentSidecar.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosKubernetesSpec.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1EnvVar.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1EnvVar.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraListInfraRequest.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraRequest.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/InfraV2KubernetesInfrastructureV2Details.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2UpdateKubernetesInfrastructureV2Request.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/{V1EnvVar.d.ts → K8sIoApiCoreV1EnvVar.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/K8sIoApiCoreV1EnvVar.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeCmdProbeTemplate.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesExperimentV2.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1CmdProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/V1SourceDetails.d.ts +2 -2
- package/package.json +1 -1
- /package/dist/chaos-manager/src/services/schemas/{V1EnvVar.js → ChaosfaultChaosFault.js} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function deleteMachineChaosInfra(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/machine/infra
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infra/${props.id}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Deletes a machine chaos infra
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaultFaultVariables } from '../schemas/ChaosfaultFaultVariables';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface FetFaultVariablesQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface FetFaultVariablesQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
isEnterprise?: boolean;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type FetFaultVariablesOkResponse = ChaosfaultFaultVariables;
|
|
16
|
+
export type FetFaultVariablesErrorResponse = ApiRestError;
|
|
17
|
+
export interface FetFaultVariablesProps extends FetFaultVariablesQueryPathParams, Omit<FetcherOptions<FetFaultVariablesQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: FetFaultVariablesQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export interface FetFaultVariablesResponseContainer {
|
|
21
|
+
body: FetFaultVariablesOkResponse;
|
|
22
|
+
headers: Headers;
|
|
23
|
+
}
|
|
24
|
+
export declare function fetFaultVariables(props: FetFaultVariablesProps): Promise<FetFaultVariablesResponseContainer>;
|
|
25
|
+
/**
|
|
26
|
+
* Get the list of variables in a fault
|
|
27
|
+
*/
|
|
28
|
+
export declare function useFetFaultVariablesQuery(props: FetFaultVariablesProps, options?: Omit<UseQueryOptions<FetFaultVariablesResponseContainer, FetFaultVariablesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FetFaultVariablesResponseContainer, 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 fetFaultVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the list of variables in a fault
|
|
11
|
+
*/
|
|
12
|
+
export function useFetFaultVariablesQuery(props, options) {
|
|
13
|
+
return useQuery(['fetFaultVariables', props.identity, props.queryParams], ({ signal }) => fetFaultVariables(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaultGetFaultResponse } from '../schemas/ChaosfaultGetFaultResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetFaultQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetFaultQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
isEnterprise?: boolean;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetFaultOkResponse = ChaosfaultGetFaultResponse;
|
|
16
|
+
export type GetFaultErrorResponse = ApiRestError;
|
|
17
|
+
export interface GetFaultProps extends GetFaultQueryPathParams, Omit<FetcherOptions<GetFaultQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetFaultQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export interface GetFaultResponseContainer {
|
|
21
|
+
body: GetFaultOkResponse;
|
|
22
|
+
headers: Headers;
|
|
23
|
+
}
|
|
24
|
+
export declare function getFault(props: GetFaultProps): Promise<GetFaultResponseContainer>;
|
|
25
|
+
/**
|
|
26
|
+
* Get fault from project
|
|
27
|
+
*/
|
|
28
|
+
export declare function useGetFaultQuery(props: GetFaultProps, options?: Omit<UseQueryOptions<GetFaultResponseContainer, GetFaultErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultResponseContainer, 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 getFault(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults/${props.identity}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get fault from project
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFaultQuery(props, options) {
|
|
13
|
+
return useQuery(['getFault', props.identity, props.queryParams], ({ signal }) => getFault(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaultFaultYaml } from '../schemas/ChaosfaultFaultYaml';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetFaultYamlQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetFaultYamlQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
isEnterprise?: boolean;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetFaultYamlOkResponse = ChaosfaultFaultYaml;
|
|
16
|
+
export type GetFaultYamlErrorResponse = ApiRestError;
|
|
17
|
+
export interface GetFaultYamlProps extends GetFaultYamlQueryPathParams, Omit<FetcherOptions<GetFaultYamlQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetFaultYamlQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export interface GetFaultYamlResponseContainer {
|
|
21
|
+
body: GetFaultYamlOkResponse;
|
|
22
|
+
headers: Headers;
|
|
23
|
+
}
|
|
24
|
+
export declare function getFaultYaml(props: GetFaultYamlProps): Promise<GetFaultYamlResponseContainer>;
|
|
25
|
+
/**
|
|
26
|
+
* Get the yaml of a fault
|
|
27
|
+
*/
|
|
28
|
+
export declare function useGetFaultYamlQuery(props: GetFaultYamlProps, options?: Omit<UseQueryOptions<GetFaultYamlResponseContainer, GetFaultYamlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultYamlResponseContainer, 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 getFaultYaml(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults/${props.identity}/yaml`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the yaml of a fault
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFaultYamlQuery(props, options) {
|
|
13
|
+
return useQuery(['getFaultYaml', props.identity, props.queryParams], ({ signal }) => getFaultYaml(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function getMachineChaosInfraDetails(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/machine/infra
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infra/${props.id}`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Get machine chaos infrastructure details
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaoshubListFaultsResponse } from '../schemas/ChaoshubListFaultsResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListFaultInHubQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
organizationIdentifier: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
hubIdentity?: string;
|
|
10
|
+
infraType?: string;
|
|
11
|
+
permissionsRequired?: string;
|
|
12
|
+
entityType?: string;
|
|
13
|
+
search: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page: number;
|
|
18
|
+
/**
|
|
19
|
+
* @default 15
|
|
20
|
+
*/
|
|
21
|
+
limit: number;
|
|
22
|
+
}
|
|
23
|
+
export type ListFaultInHubOkResponse = ChaoshubListFaultsResponse;
|
|
24
|
+
export type ListFaultInHubErrorResponse = ApiRestError;
|
|
25
|
+
export interface ListFaultInHubProps extends Omit<FetcherOptions<ListFaultInHubQueryQueryParams, unknown>, 'url'> {
|
|
26
|
+
queryParams: ListFaultInHubQueryQueryParams;
|
|
27
|
+
}
|
|
28
|
+
export interface ListFaultInHubResponseContainer {
|
|
29
|
+
body: ListFaultInHubOkResponse;
|
|
30
|
+
headers: Headers;
|
|
31
|
+
}
|
|
32
|
+
export declare function listFaultInHub(props: ListFaultInHubProps): Promise<ListFaultInHubResponseContainer>;
|
|
33
|
+
/**
|
|
34
|
+
* Lists faults in a chaos hub based on given filters
|
|
35
|
+
*/
|
|
36
|
+
export declare function useListFaultInHubQuery(props: ListFaultInHubProps, options?: Omit<UseQueryOptions<ListFaultInHubResponseContainer, ListFaultInHubErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultInHubResponseContainer, 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 listFaultInHub(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/hubs/faults`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists faults in a chaos hub based on given filters
|
|
11
|
+
*/
|
|
12
|
+
export function useListFaultInHubQuery(props, options) {
|
|
13
|
+
return useQuery(['listFaultInHub', props.queryParams], ({ signal }) => listFaultInHub(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ChaosfaultListFaultResponse } from '../schemas/ChaosfaultListFaultResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListFaultQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
permissionsRequired?: string;
|
|
12
|
-
entityType?: string;
|
|
13
|
-
search: string;
|
|
7
|
+
category?: 'AWS' | 'Azure' | 'GCP' | 'Kubernetes' | 'Redis';
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
infrastructureType?: 'KubernetesV2';
|
|
10
|
+
isEnterprise?: boolean;
|
|
14
11
|
/**
|
|
15
|
-
* @default
|
|
12
|
+
* @default 10
|
|
16
13
|
*/
|
|
17
|
-
|
|
14
|
+
limit?: number;
|
|
15
|
+
organizationIdentifier?: string;
|
|
18
16
|
/**
|
|
19
|
-
* @default
|
|
17
|
+
* @default 0
|
|
20
18
|
*/
|
|
21
|
-
|
|
19
|
+
page?: number;
|
|
20
|
+
projectIdentifier?: string;
|
|
21
|
+
search?: string;
|
|
22
|
+
sortAscending?: boolean;
|
|
23
|
+
sortField?: 'lastUpdated' | 'name';
|
|
24
|
+
tags?: string;
|
|
25
|
+
type?: 'Resource';
|
|
22
26
|
}
|
|
23
|
-
export type ListFaultOkResponse =
|
|
27
|
+
export type ListFaultOkResponse = ChaosfaultListFaultResponse;
|
|
24
28
|
export type ListFaultErrorResponse = ApiRestError;
|
|
25
29
|
export interface ListFaultProps extends Omit<FetcherOptions<ListFaultQueryQueryParams, unknown>, 'url'> {
|
|
26
30
|
queryParams: ListFaultQueryQueryParams;
|
|
@@ -31,6 +35,6 @@ export interface ListFaultResponseContainer {
|
|
|
31
35
|
}
|
|
32
36
|
export declare function listFault(props: ListFaultProps): Promise<ListFaultResponseContainer>;
|
|
33
37
|
/**
|
|
34
|
-
* Lists faults in a
|
|
38
|
+
* Lists lists faults in a project
|
|
35
39
|
*/
|
|
36
40
|
export declare function useListFaultQuery(props: ListFaultProps, options?: Omit<UseQueryOptions<ListFaultResponseContainer, ListFaultErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultResponseContainer, ApiRestError>;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function listFault(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Lists faults in a
|
|
10
|
+
* Lists lists faults in a project
|
|
11
11
|
*/
|
|
12
12
|
export function useListFaultQuery(props, options) {
|
|
13
13
|
return useQuery(['listFault', props.queryParams], ({ signal }) => listFault(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -62,6 +62,8 @@ export type { EnableProbeErrorResponse, EnableProbeMutationPathParams, EnablePro
|
|
|
62
62
|
export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
|
|
63
63
|
export type { ExperimentExecutionNodeDetailsErrorResponse, ExperimentExecutionNodeDetailsOkResponse, ExperimentExecutionNodeDetailsProps, ExperimentExecutionNodeDetailsQueryPathParams, ExperimentExecutionNodeDetailsQueryQueryParams, } from './hooks/useExperimentExecutionNodeDetailsQuery';
|
|
64
64
|
export { experimentExecutionNodeDetails, useExperimentExecutionNodeDetailsQuery, } from './hooks/useExperimentExecutionNodeDetailsQuery';
|
|
65
|
+
export type { FetFaultVariablesErrorResponse, FetFaultVariablesOkResponse, FetFaultVariablesProps, FetFaultVariablesQueryPathParams, FetFaultVariablesQueryQueryParams, } from './hooks/useFetFaultVariablesQuery';
|
|
66
|
+
export { fetFaultVariables, useFetFaultVariablesQuery } from './hooks/useFetFaultVariablesQuery';
|
|
65
67
|
export type { GetAccountServiceDetailsErrorResponse, GetAccountServiceDetailsOkResponse, GetAccountServiceDetailsProps, GetAccountServiceDetailsQueryPathParams, GetAccountServiceDetailsQueryQueryParams, } from './hooks/useGetAccountServiceDetailsQuery';
|
|
66
68
|
export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
|
|
67
69
|
export type { GetAccountServiceUsageStatsErrorResponse, GetAccountServiceUsageStatsOkResponse, GetAccountServiceUsageStatsProps, GetAccountServiceUsageStatsQueryPathParams, GetAccountServiceUsageStatsQueryQueryParams, } from './hooks/useGetAccountServiceUsageStatsQuery';
|
|
@@ -100,6 +102,8 @@ export type { GetExperimentRunTimelineViewErrorResponse, GetExperimentRunTimelin
|
|
|
100
102
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
101
103
|
export type { GetExperimentRunsOverviewStatsErrorResponse, GetExperimentRunsOverviewStatsOkResponse, GetExperimentRunsOverviewStatsProps, GetExperimentRunsOverviewStatsQueryQueryParams, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
102
104
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
105
|
+
export type { GetFaultErrorResponse, GetFaultOkResponse, GetFaultProps, GetFaultQueryPathParams, GetFaultQueryQueryParams, } from './hooks/useGetFaultQuery';
|
|
106
|
+
export { getFault, useGetFaultQuery } from './hooks/useGetFaultQuery';
|
|
103
107
|
export type { GetFaultTemplateErrorResponse, GetFaultTemplateOkResponse, GetFaultTemplateProps, GetFaultTemplateQueryPathParams, GetFaultTemplateQueryQueryParams, } from './hooks/useGetFaultTemplateQuery';
|
|
104
108
|
export { getFaultTemplate, useGetFaultTemplateQuery } from './hooks/useGetFaultTemplateQuery';
|
|
105
109
|
export type { GetFaultTemplateRevisionsErrorResponse, GetFaultTemplateRevisionsOkResponse, GetFaultTemplateRevisionsProps, GetFaultTemplateRevisionsQueryPathParams, GetFaultTemplateRevisionsQueryQueryParams, } from './hooks/useGetFaultTemplateRevisionsQuery';
|
|
@@ -108,6 +112,8 @@ export type { GetFaultTemplateVariablesErrorResponse, GetFaultTemplateVariablesO
|
|
|
108
112
|
export { getFaultTemplateVariables, useGetFaultTemplateVariablesQuery, } from './hooks/useGetFaultTemplateVariablesQuery';
|
|
109
113
|
export type { GetFaultTemplateYamlErrorResponse, GetFaultTemplateYamlOkResponse, GetFaultTemplateYamlProps, GetFaultTemplateYamlQueryPathParams, GetFaultTemplateYamlQueryQueryParams, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
110
114
|
export { getFaultTemplateYaml, useGetFaultTemplateYamlQuery, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
115
|
+
export type { GetFaultYamlErrorResponse, GetFaultYamlOkResponse, GetFaultYamlProps, GetFaultYamlQueryPathParams, GetFaultYamlQueryQueryParams, } from './hooks/useGetFaultYamlQuery';
|
|
116
|
+
export { getFaultYaml, useGetFaultYamlQuery } from './hooks/useGetFaultYamlQuery';
|
|
111
117
|
export type { GetGamedayRunV2ErrorResponse, GetGamedayRunV2OkResponse, GetGamedayRunV2Props, GetGamedayRunV2QueryPathParams, GetGamedayRunV2QueryQueryParams, } from './hooks/useGetGamedayRunV2Query';
|
|
112
118
|
export { getGamedayRunV2, useGetGamedayRunV2Query } from './hooks/useGetGamedayRunV2Query';
|
|
113
119
|
export type { GetGamedayV2ErrorResponse, GetGamedayV2OkResponse, GetGamedayV2Props, GetGamedayV2QueryPathParams, GetGamedayV2QueryQueryParams, } from './hooks/useGetGamedayV2Query';
|
|
@@ -172,6 +178,8 @@ export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkRespons
|
|
|
172
178
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
173
179
|
export type { ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse, ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, ListExperimentsWithActiveInfrasMinimalNotificationProps, ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
174
180
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
181
|
+
export type { ListFaultInHubErrorResponse, ListFaultInHubOkResponse, ListFaultInHubProps, ListFaultInHubQueryQueryParams, } from './hooks/useListFaultInHubQuery';
|
|
182
|
+
export { listFaultInHub, useListFaultInHubQuery } from './hooks/useListFaultInHubQuery';
|
|
175
183
|
export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListFaultQueryQueryParams, } from './hooks/useListFaultQuery';
|
|
176
184
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
177
185
|
export type { ListFaultTemplateErrorResponse, ListFaultTemplateOkResponse, ListFaultTemplateProps, ListFaultTemplateQueryQueryParams, } from './hooks/useListFaultTemplateQuery';
|
|
@@ -285,6 +293,7 @@ export type { ActionsImportActionTemplateRequest } from './schemas/ActionsImport
|
|
|
285
293
|
export type { ActionsInfrastructureType } from './schemas/ActionsInfrastructureType';
|
|
286
294
|
export type { ActionsListActionTemplateResponse } from './schemas/ActionsListActionTemplateResponse';
|
|
287
295
|
export type { ActionsRecentExecutions } from './schemas/ActionsRecentExecutions';
|
|
296
|
+
export type { ActionsUserDetails } from './schemas/ActionsUserDetails';
|
|
288
297
|
export type { ApiGetHarnessInfrastructureResponse } from './schemas/ApiGetHarnessInfrastructureResponse';
|
|
289
298
|
export type { ApiHarnessInfrastructure } from './schemas/ApiHarnessInfrastructure';
|
|
290
299
|
export type { ApiListHarnessInfrastructureResponse } from './schemas/ApiListHarnessInfrastructureResponse';
|
|
@@ -313,6 +322,7 @@ export type { ChaosExperimentChaosExperimentType } from './schemas/ChaosExperime
|
|
|
313
322
|
export type { ChaosExperimentExperimentRunDetail } from './schemas/ChaosExperimentExperimentRunDetail';
|
|
314
323
|
export type { ChaosExperimentFaultEventMetadata } from './schemas/ChaosExperimentFaultEventMetadata';
|
|
315
324
|
export type { ChaosExperimentRecommendation } from './schemas/ChaosExperimentRecommendation';
|
|
325
|
+
export type { ChaosExperimentRunAction } from './schemas/ChaosExperimentRunAction';
|
|
316
326
|
export type { ChaosExperimentRunAnnotation } from './schemas/ChaosExperimentRunAnnotation';
|
|
317
327
|
export type { ChaosExperimentRunChaosExperimentRun } from './schemas/ChaosExperimentRunChaosExperimentRun';
|
|
318
328
|
export type { ChaosExperimentRunConditionDetails } from './schemas/ChaosExperimentRunConditionDetails';
|
|
@@ -335,6 +345,11 @@ export type { ChaosactiontemplateActionsTemplateCount } from './schemas/Chaosact
|
|
|
335
345
|
export type { ChaosactiontemplateChaosActionTemplate } from './schemas/ChaosactiontemplateChaosActionTemplate';
|
|
336
346
|
export type { ChaosexperimentpipelineGetChaosPipelineNodesResponse } from './schemas/ChaosexperimentpipelineGetChaosPipelineNodesResponse';
|
|
337
347
|
export type { ChaosexperimentpipelineReferenceEntities } from './schemas/ChaosexperimentpipelineReferenceEntities';
|
|
348
|
+
export type { ChaosfaultChaosFault } from './schemas/ChaosfaultChaosFault';
|
|
349
|
+
export type { ChaosfaultFaultVariables } from './schemas/ChaosfaultFaultVariables';
|
|
350
|
+
export type { ChaosfaultFaultYaml } from './schemas/ChaosfaultFaultYaml';
|
|
351
|
+
export type { ChaosfaultGetFaultResponse } from './schemas/ChaosfaultGetFaultResponse';
|
|
352
|
+
export type { ChaosfaultListFaultResponse } from './schemas/ChaosfaultListFaultResponse';
|
|
338
353
|
export type { ChaosfaulttemplateActionTemplate } from './schemas/ChaosfaulttemplateActionTemplate';
|
|
339
354
|
export type { ChaosfaulttemplateActionTemplateVariables } from './schemas/ChaosfaulttemplateActionTemplateVariables';
|
|
340
355
|
export type { ChaosfaulttemplateChaosFaultTemplate } from './schemas/ChaosfaulttemplateChaosFaultTemplate';
|
|
@@ -462,6 +477,7 @@ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobete
|
|
|
462
477
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
|
|
463
478
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics';
|
|
464
479
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType';
|
|
480
|
+
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
|
|
465
481
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGet } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGet';
|
|
466
482
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders';
|
|
467
483
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentifier } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentifier';
|
|
@@ -475,10 +491,12 @@ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendati
|
|
|
475
491
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendationTargetType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendationTargetType';
|
|
476
492
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationTarget } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationTarget';
|
|
477
493
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationWorkload } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationWorkload';
|
|
494
|
+
export type { GithubComHarnessHceSaasHceSdkCommonProbeV1EnvVar } from './schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1EnvVar';
|
|
478
495
|
export type { GithubComHarnessHceSaasHceSdkCommonProbeV1Probe } from './schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe';
|
|
479
496
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
|
|
480
497
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics';
|
|
481
498
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType';
|
|
499
|
+
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv';
|
|
482
500
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGet } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGet';
|
|
483
501
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeHeaders } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeHeaders';
|
|
484
502
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier';
|
|
@@ -557,6 +575,7 @@ export type { InputsetsUpdateInputSetRequest } from './schemas/InputsetsUpdateIn
|
|
|
557
575
|
export type { InputsetsUpdateInputSetResponse } from './schemas/InputsetsUpdateInputSetResponse';
|
|
558
576
|
export type { IntstrIntOrString } from './schemas/IntstrIntOrString';
|
|
559
577
|
export type { IntstrType } from './schemas/IntstrType';
|
|
578
|
+
export type { K8sIoApiCoreV1EnvVar } from './schemas/K8sIoApiCoreV1EnvVar';
|
|
560
579
|
export type { K8sIoApimachineryPkgApisMetaV1ConditionStatus } from './schemas/K8sIoApimachineryPkgApisMetaV1ConditionStatus';
|
|
561
580
|
export type { K8sinfraGetInfraTokenResponse } from './schemas/K8sinfraGetInfraTokenResponse';
|
|
562
581
|
export type { K8sinfraUpdateEmissaryUrlRequest } from './schemas/K8sinfraUpdateEmissaryUrlRequest';
|
|
@@ -785,7 +804,6 @@ export type { V1DownwardApiVolumeSource } from './schemas/V1DownwardApiVolumeSou
|
|
|
785
804
|
export type { V1DynatraceProbeInputs } from './schemas/V1DynatraceProbeInputs';
|
|
786
805
|
export type { V1EmptyDirVolumeSource } from './schemas/V1EmptyDirVolumeSource';
|
|
787
806
|
export type { V1EnvFromSource } from './schemas/V1EnvFromSource';
|
|
788
|
-
export type { V1EnvVar } from './schemas/V1EnvVar';
|
|
789
807
|
export type { V1EnvVarSource } from './schemas/V1EnvVarSource';
|
|
790
808
|
export type { V1EphemeralVolumeSource } from './schemas/V1EphemeralVolumeSource';
|
|
791
809
|
export type { V1EvaluationWindow } from './schemas/V1EvaluationWindow';
|
|
@@ -30,6 +30,7 @@ export { deleteRecommendation, useDeleteRecommendationMutation, } from './hooks/
|
|
|
30
30
|
export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
31
31
|
export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
|
|
32
32
|
export { experimentExecutionNodeDetails, useExperimentExecutionNodeDetailsQuery, } from './hooks/useExperimentExecutionNodeDetailsQuery';
|
|
33
|
+
export { fetFaultVariables, useFetFaultVariablesQuery } from './hooks/useFetFaultVariablesQuery';
|
|
33
34
|
export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
|
|
34
35
|
export { getAccountServiceUsageStats, useGetAccountServiceUsageStatsQuery, } from './hooks/useGetAccountServiceUsageStatsQuery';
|
|
35
36
|
export { getActionManifest, useGetActionManifestQuery } from './hooks/useGetActionManifestQuery';
|
|
@@ -49,10 +50,12 @@ export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/use
|
|
|
49
50
|
export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
50
51
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
51
52
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
53
|
+
export { getFault, useGetFaultQuery } from './hooks/useGetFaultQuery';
|
|
52
54
|
export { getFaultTemplate, useGetFaultTemplateQuery } from './hooks/useGetFaultTemplateQuery';
|
|
53
55
|
export { getFaultTemplateRevisions, useGetFaultTemplateRevisionsQuery, } from './hooks/useGetFaultTemplateRevisionsQuery';
|
|
54
56
|
export { getFaultTemplateVariables, useGetFaultTemplateVariablesQuery, } from './hooks/useGetFaultTemplateVariablesQuery';
|
|
55
57
|
export { getFaultTemplateYaml, useGetFaultTemplateYamlQuery, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
58
|
+
export { getFaultYaml, useGetFaultYamlQuery } from './hooks/useGetFaultYamlQuery';
|
|
56
59
|
export { getGamedayRunV2, useGetGamedayRunV2Query } from './hooks/useGetGamedayRunV2Query';
|
|
57
60
|
export { getGamedayV2, useGetGamedayV2Query } from './hooks/useGetGamedayV2Query';
|
|
58
61
|
export { getImageRegistry, useGetImageRegistryQuery } from './hooks/useGetImageRegistryQuery';
|
|
@@ -85,6 +88,7 @@ export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hoo
|
|
|
85
88
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
86
89
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
87
90
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
91
|
+
export { listFaultInHub, useListFaultInHubQuery } from './hooks/useListFaultInHubQuery';
|
|
88
92
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
89
93
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
90
94
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
@@ -8,6 +8,7 @@ import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
|
8
8
|
export interface ActionsActionResponse {
|
|
9
9
|
accountID: string;
|
|
10
10
|
actionProperties?: ActionActionTemplateProperties;
|
|
11
|
+
actionReferenceCount?: number;
|
|
11
12
|
actionTemplate?: string;
|
|
12
13
|
actionsRef?: string;
|
|
13
14
|
createdAt?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ActionsUserDetails } from '../schemas/ActionsUserDetails';
|
|
2
2
|
export interface ActionsExecutedByExperiment {
|
|
3
3
|
experimentID?: string;
|
|
4
4
|
experimentName?: string;
|
|
5
5
|
experimentRunID?: string;
|
|
6
6
|
notifyID?: string;
|
|
7
7
|
updatedAt?: number;
|
|
8
|
-
updatedBy?:
|
|
8
|
+
updatedBy?: ActionsUserDetails;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ActionsInfrastructureType = 'CloudFoundry' | 'Container' | 'Kubernetes' | 'Linux' | 'Windows';
|
|
1
|
+
export type ActionsInfrastructureType = 'CloudFoundry' | 'Container' | 'Kubernetes' | 'KubernetesV2' | 'Linux' | 'Windows';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { ChaosExperimentRunAction } from '../schemas/ChaosExperimentRunAction';
|
|
1
2
|
import type { ChaosExperimentFaultEventMetadata } from '../schemas/ChaosExperimentFaultEventMetadata';
|
|
2
3
|
import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
|
|
3
4
|
import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
|
|
4
5
|
import type { ChaosExperimentWeightagesInput } from '../schemas/ChaosExperimentWeightagesInput';
|
|
5
6
|
export interface ChaosExperimentWorkflowRevision {
|
|
7
|
+
actions?: ChaosExperimentRunAction[];
|
|
6
8
|
chaosFaultEvents?: ChaosExperimentFaultEventMetadata[];
|
|
7
9
|
experimentManifest?: string;
|
|
8
10
|
faultsWithProbes?: ChaosExperimentRunFaults[];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
2
|
+
export interface ChaosfaultChaosFault {
|
|
3
|
+
accountID: string;
|
|
4
|
+
category?: string[];
|
|
5
|
+
createdAt?: number;
|
|
6
|
+
createdBy?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Mongo ID (primary key)
|
|
10
|
+
*/
|
|
11
|
+
id?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier (human-readable) immutable
|
|
14
|
+
*/
|
|
15
|
+
identity?: string;
|
|
16
|
+
infrastructureType?: string;
|
|
17
|
+
isEnterprise?: boolean;
|
|
18
|
+
isRemoved: boolean;
|
|
19
|
+
name: string;
|
|
20
|
+
orgID?: string;
|
|
21
|
+
projectID?: string;
|
|
22
|
+
tags?: string[];
|
|
23
|
+
template?: string;
|
|
24
|
+
type?: string;
|
|
25
|
+
updatedAt?: number;
|
|
26
|
+
updatedBy?: string;
|
|
27
|
+
variables?: TemplateVariable[];
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
|
+
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
|
+
export interface ChaosfaultGetFaultResponse {
|
|
5
|
+
category?: string[];
|
|
6
|
+
correlationID?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
identity?: string;
|
|
9
|
+
infrastructureType?: string;
|
|
10
|
+
isEnterprise?: boolean;
|
|
11
|
+
name?: string;
|
|
12
|
+
spec?: FaulttemplateSpec;
|
|
13
|
+
tags?: string[];
|
|
14
|
+
templateReference?: string;
|
|
15
|
+
type?: string;
|
|
16
|
+
updatedAt?: number;
|
|
17
|
+
values?: TemplateVariableMinimum[];
|
|
18
|
+
variables?: TemplateVariable[];
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChaosfaultChaosFault } from '../schemas/ChaosfaultChaosFault';
|
|
2
|
+
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
3
|
+
export interface ChaosfaultListFaultResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
data?: ChaosfaultChaosFault[];
|
|
6
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
2
2
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
3
|
export interface ExperimentActionRef {
|
|
4
4
|
/**
|
|
@@ -12,7 +12,7 @@ export interface ExperimentActionRef {
|
|
|
12
12
|
/**
|
|
13
13
|
* ENV of the action
|
|
14
14
|
*/
|
|
15
|
-
env?:
|
|
15
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
16
16
|
/**
|
|
17
17
|
* HubRef of the fault reference
|
|
18
18
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExperimentExperimentComponents } from '../schemas/ExperimentExperimentComponents';
|
|
2
|
-
import type {
|
|
2
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
3
3
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
4
4
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1Probe } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe';
|
|
5
5
|
export interface ExperimentChaosInputs {
|
|
@@ -10,7 +10,7 @@ export interface ExperimentChaosInputs {
|
|
|
10
10
|
command?: string[];
|
|
11
11
|
components?: ExperimentExperimentComponents;
|
|
12
12
|
defaultHealthCheck?: boolean;
|
|
13
|
-
env?:
|
|
13
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
14
14
|
fault?: string;
|
|
15
15
|
image?: string;
|
|
16
16
|
imagePullPolicy?: V1PullPolicy;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExperimentConfigMap } from '../schemas/ExperimentConfigMap';
|
|
2
|
-
import type {
|
|
2
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
3
3
|
import type { ExperimentHostFile } from '../schemas/ExperimentHostFile';
|
|
4
4
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
5
5
|
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
@@ -14,7 +14,7 @@ export interface ExperimentHelperConfig {
|
|
|
14
14
|
args?: string[];
|
|
15
15
|
command?: string[];
|
|
16
16
|
configMaps?: ExperimentConfigMap[];
|
|
17
|
-
env?:
|
|
17
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
18
18
|
hostFileVolumes?: ExperimentHostFile[];
|
|
19
19
|
hostIPC?: boolean;
|
|
20
20
|
hostNetwork?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
2
2
|
export interface ExperimentProbeActions {
|
|
3
3
|
/**
|
|
4
4
|
* Args of the action
|
|
@@ -11,7 +11,7 @@ export interface ExperimentProbeActions {
|
|
|
11
11
|
/**
|
|
12
12
|
* ENV of the action
|
|
13
13
|
*/
|
|
14
|
-
env?:
|
|
14
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
15
15
|
/**
|
|
16
16
|
* Identity of the action
|
|
17
17
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
2
2
|
import type { V1EnvFromSource } from '../schemas/V1EnvFromSource';
|
|
3
3
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
4
4
|
import type { ExperimentSecret } from '../schemas/ExperimentSecret';
|
|
5
5
|
export interface ExperimentSidecar {
|
|
6
|
-
env?:
|
|
6
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
7
7
|
envFrom?: V1EnvFromSource[];
|
|
8
8
|
image?: string;
|
|
9
9
|
imagePullPolicy?: V1PullPolicy;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FaulttemplateConfigMapVolume } from '../schemas/FaulttemplateConfigMapVolume';
|
|
2
2
|
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
3
|
-
import type {
|
|
3
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
4
4
|
import type { FaulttemplateHostPathVolume } from '../schemas/FaulttemplateHostPathVolume';
|
|
5
5
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
6
6
|
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
@@ -15,7 +15,7 @@ export interface FaulttemplateChaosKubernetesSpec {
|
|
|
15
15
|
command?: string[];
|
|
16
16
|
configMapVolume?: FaulttemplateConfigMapVolume[];
|
|
17
17
|
containerSecurityContext?: V1SecurityContext;
|
|
18
|
-
env?:
|
|
18
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
19
19
|
hostIPC?: boolean;
|
|
20
20
|
hostNetwork?: boolean;
|
|
21
21
|
hostPID?: boolean;
|
|
@@ -7,6 +7,7 @@ import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
|
7
7
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction {
|
|
8
8
|
accountID: string;
|
|
9
9
|
actionProperties?: ActionActionTemplateProperties;
|
|
10
|
+
actionReferenceCount?: number;
|
|
10
11
|
actionsRef?: string;
|
|
11
12
|
description?: string;
|
|
12
13
|
hubRef?: string;
|
|
@@ -4,7 +4,7 @@ import type { InfraInfraType } from '../schemas/InfraInfraType';
|
|
|
4
4
|
import type { InfraPagination } from '../schemas/InfraPagination';
|
|
5
5
|
export interface InfraListInfraRequest {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* CorrelationID for the request
|
|
8
8
|
*/
|
|
9
9
|
correlationId?: string;
|
|
10
10
|
/**
|
|
@@ -4,7 +4,7 @@ import type { InfraInfraType } from '../schemas/InfraInfraType';
|
|
|
4
4
|
import type { InfraRegisterInfraUserInputs } from '../schemas/InfraRegisterInfraUserInputs';
|
|
5
5
|
export interface InfraRegisterInfraRequest {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* CorrelationID for the request
|
|
8
8
|
*/
|
|
9
9
|
correlationId?: string;
|
|
10
10
|
/**
|
package/dist/chaos-manager/src/services/schemas/InfraV2KubernetesInfrastructureV2Details.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export interface InfraV2KubernetesInfrastructureV2Details {
|
|
|
36
36
|
insecureSkipVerify?: boolean;
|
|
37
37
|
installationType?: InfraV2InstallationType;
|
|
38
38
|
isAIEnabled?: boolean;
|
|
39
|
+
isAutopilotEnabled?: boolean;
|
|
39
40
|
isChaosEnabled?: boolean;
|
|
40
41
|
k8sConnectorID?: string;
|
|
41
42
|
label?: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
|
|
2
|
+
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv';
|
|
2
3
|
export interface ProbeCmdProbeTemplate {
|
|
3
4
|
command?: string;
|
|
4
5
|
comparator?: ProbeComparatorTemplate;
|
|
6
|
+
env?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv[];
|
|
5
7
|
source?: string;
|
|
6
8
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
2
|
+
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
|
|
2
3
|
export interface ProbeKubernetesCmdProbe {
|
|
3
4
|
attempt?: {};
|
|
4
5
|
command?: string;
|
|
5
6
|
comparator?: ProbeComparator;
|
|
7
|
+
env?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv[];
|
|
6
8
|
initialDelay?: string;
|
|
7
9
|
initialDelaySeconds?: {};
|
|
8
10
|
interval?: string;
|
|
@@ -13,6 +13,7 @@ export interface TypesExperimentV2 {
|
|
|
13
13
|
cronSyntax?: string;
|
|
14
14
|
description?: string;
|
|
15
15
|
eventsMetadata?: ModelEventMetadata[];
|
|
16
|
+
experimentID?: string;
|
|
16
17
|
identifiers?: GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers;
|
|
17
18
|
infra?: ChaosInfrastructureV2ChaosInfraV2;
|
|
18
19
|
isCronEnabled?: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
|
|
2
|
+
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1EnvVar } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1EnvVar';
|
|
2
3
|
import type { V1SourceDetails } from '../schemas/V1SourceDetails';
|
|
3
4
|
export interface V1CmdProbeInputs {
|
|
4
5
|
/**
|
|
@@ -9,6 +10,10 @@ export interface V1CmdProbeInputs {
|
|
|
9
10
|
* Comparator check for the correctness of the probe output
|
|
10
11
|
*/
|
|
11
12
|
comparator?: V1ComparatorInfo;
|
|
13
|
+
/**
|
|
14
|
+
* ENV contains ENV passed to the command probe
|
|
15
|
+
*/
|
|
16
|
+
env?: GithubComHarnessHceSaasHceSdkCommonProbeV1EnvVar[];
|
|
12
17
|
/**
|
|
13
18
|
* The source where we have to run the command
|
|
14
19
|
* It will run in inline(inside experiment itself) mode if source is nil
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
2
2
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
3
3
|
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
4
4
|
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
@@ -22,7 +22,7 @@ export interface V1SourceDetails {
|
|
|
22
22
|
/**
|
|
23
23
|
* ENVList contains ENV passed to the source pod
|
|
24
24
|
*/
|
|
25
|
-
env?:
|
|
25
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
26
26
|
/**
|
|
27
27
|
* HostNetwork define the hostNetwork of the external pod
|
|
28
28
|
* it supports boolean values and default value is false
|
package/package.json
CHANGED
|
File without changes
|