From befcd28f5918b9661b224a66d1508824a0573f15 Mon Sep 17 00:00:00 2001 From: nxtcoder36 Date: Fri, 1 Mar 2024 18:33:40 +0530 Subject: [PATCH 1/2] cluster status handled while seleting clusters --- web/Taskfile.yaml | 4 ++ .../apps/console/components/sync-status.tsx | 4 +- .../console/page-components/new-project.tsx | 70 +++++++++++++++---- web/src/generated/gql/sdl.graphql | 2 + 4 files changed, 64 insertions(+), 16 deletions(-) diff --git a/web/Taskfile.yaml b/web/Taskfile.yaml index cd33c7618..4ea2f6b96 100644 --- a/web/Taskfile.yaml +++ b/web/Taskfile.yaml @@ -41,6 +41,10 @@ tasks: "vision") URL_SUFFIX="-vision" ;; + + "nxtcoder17") + URL_SUFFIX="-mohit" + ;; *) URL_SUFFIX="" diff --git a/web/src/apps/console/components/sync-status.tsx b/web/src/apps/console/components/sync-status.tsx index 9e2dbd26c..f2ac6dbdf 100644 --- a/web/src/apps/console/components/sync-status.tsx +++ b/web/src/apps/console/components/sync-status.tsx @@ -163,7 +163,7 @@ const SyncStatus = ({ item }: { item: IStatusMeta }) => { return null; }; -export type IStatus = 'deleting' | 'notready' | 'syncing' | 'none'; +export type IStatus = 'deleting' | 'notready' | 'syncing' | 'ready'; type IResourceType = 'nodepool'; export const parseStatus = ({ @@ -173,7 +173,7 @@ export const parseStatus = ({ item: IStatusMeta; type?: IResourceType; }) => { - let status: IStatus = 'none'; + let status: IStatus = 'ready'; if (item.markedForDeletion) { status = 'deleting'; diff --git a/web/src/apps/console/page-components/new-project.tsx b/web/src/apps/console/page-components/new-project.tsx index 34717d7c6..e832da231 100644 --- a/web/src/apps/console/page-components/new-project.tsx +++ b/web/src/apps/console/page-components/new-project.tsx @@ -7,7 +7,14 @@ import useForm, { dummyEvent } from '~/root/lib/client/hooks/use-form'; import Yup from '~/root/lib/server/helpers/yup'; import { handleError } from '~/root/lib/utils/common'; import Select from '~/components/atoms/select'; -import { parseName, parseNodes } from '../server/r-utils/common'; +import { listStatus, parseStatus } from '~/console/components/sync-status'; +import { IClusters } from '~/console/server/gql/queries/cluster-queries'; +import * as cluster from 'cluster'; +import { + ExtractNodeType, + parseName, + parseNodes, +} from '../server/r-utils/common'; import { ensureAccountClientSide } from '../server/utils/auth-utils'; import { INewProjectFromAccountLoader } from '../routes/_a+/$a+/new-project'; import { useConsoleApi } from '../server/gql/api-provider'; @@ -19,6 +26,14 @@ import MultiStepProgress, { import MultiStepProgressWrapper from '../components/multi-step-progress-wrapper'; import { TitleBox } from '../components/raw-wrapper'; +const statusRender = (item: ExtractNodeType) => { + return listStatus({ + key: parseName(item), + item, + className: 'text-center', + }); +}; + const NewProject = () => { const { clustersData } = useLoaderData(); const clusters = parseNodes(clustersData); @@ -130,22 +145,49 @@ const NewProject = () => { value: values.clusterName, }} options={async () => [ - ...clusters.map((clster) => ({ - label: clster.displayName, - value: parseName(clster), - cluster: clster, - render: () => ( -
-
{clster.displayName}
-
- {parseName(clster)} + ...clusters + .filter( + (clster) => parseStatus({ item: clster }) !== 'deleting' + ) + .map((clster) => ({ + label: clster.displayName, + value: parseName(clster), + cluster: clster, + render: () => ( +
+ {parseStatus({ item: clster }) === 'ready' ? ( +
+
{clster.displayName}
+
+ {parseName(clster)} +
+
+ ) : ( + // parseStatus({ item: clster }) === 'syncing' || + // parseStatus({ item: clster }) === 'notready' ? +
+
+
+
{clster.displayName}
+
+ {parseName(clster)} +
+
+
+
+ {statusRender( + clster as ExtractNodeType + ).render()} +
+
+ )}
-
- ), - })), + ), + })), ]} onChange={(v) => { - handleChange('clusterName')(dummyEvent(v.value)); + if (parseStatus({ item: v.cluster }) === 'ready') + handleChange('clusterName')(dummyEvent(v.value)); }} />
diff --git a/web/src/generated/gql/sdl.graphql b/web/src/generated/gql/sdl.graphql index c202c8c67..99997edc9 100644 --- a/web/src/generated/gql/sdl.graphql +++ b/web/src/generated/gql/sdl.graphql @@ -2927,6 +2927,7 @@ type Mutation { infra_updateHelmRelease(clusterName: String!, release: HelmReleaseIn!): HelmRelease infra_updateNodePool(clusterName: String!, pool: NodePoolIn!): NodePool infra_updateProviderSecret(secret: CloudProviderSecretIn!): CloudProviderSecret + infra_upgradeHelmKloudliteAgent(clusterName: String!): Boolean! oAuth_addLogin(code: String!, provider: String!, state: String!): Boolean! oAuth_login(code: String!, provider: String!, state: String): Session! } @@ -3222,6 +3223,7 @@ scalar ProviderDetail type Query { accounts_checkNameAvailability(name: String!): AccountsCheckNameAvailabilityOutput! + accounts_ensureKloudliteRegistryPullSecrets(accountName: String!): Boolean! accounts_getAccount(accountName: String!): Account accounts_getAccountMembership(accountName: String!): AccountMembership accounts_getInvitation(accountName: String!, invitationId: String!): Invitation From 82200de0a3e603b06625cf5f9302b8ae38addbb0 Mon Sep 17 00:00:00 2001 From: nxtcoder36 Date: Fri, 1 Mar 2024 18:57:44 +0530 Subject: [PATCH 2/2] cluster status check while creating project --- web/Taskfile.yaml | 4 +- web/gql-queries-generator/doc/queries.graphql | 4 - .../nodepools/nodepool-resources.tsx | 5 +- .../infra+/clusters/cluster-resources.tsx | 1 - .../server/gql/queries/cluster-queries.ts | 16 +- .../server/gql/queries/nodepool-queries.ts | 2 - web/src/apps/console/server/r-utils/common.ts | 2 - web/src/generated/gql/sdl.graphql | 34 +- web/src/generated/gql/server.ts | 4111 ++++++++++++++--- 9 files changed, 3435 insertions(+), 744 deletions(-) diff --git a/web/Taskfile.yaml b/web/Taskfile.yaml index 4253ebbf7..9eb24a05e 100644 --- a/web/Taskfile.yaml +++ b/web/Taskfile.yaml @@ -42,7 +42,9 @@ tasks: URL_SUFFIX="-vision" ;; "nxtcoder17") - URL_SUFFIX="-mohit" + URL_SUFFIX="-mohit" + ;; + "piyush") URL_SUFFIX="-piyush" ;; diff --git a/web/gql-queries-generator/doc/queries.graphql b/web/gql-queries-generator/doc/queries.graphql index 3cac9a950..52f608aa5 100644 --- a/web/gql-queries-generator/doc/queries.graphql +++ b/web/gql-queries-generator/doc/queries.graphql @@ -379,8 +379,6 @@ query consoleGetCluster($name: String!) { aws { k3sMasters { iamInstanceProfileRole - imageId - imageSSHUsername instanceType nodes nvidiaGpuEnabled @@ -590,8 +588,6 @@ query consoleGetNodePool($clusterName: String!, $poolName: String!) { nodes } iamInstanceProfileRole - imageId - imageSSHUsername nvidiaGpuEnabled poolType rootVolumeSize diff --git a/web/src/apps/console/routes/_main+/$account+/infra+/$cluster+/nodepools/nodepool-resources.tsx b/web/src/apps/console/routes/_main+/$account+/infra+/$cluster+/nodepools/nodepool-resources.tsx index 319925dec..6be804808 100644 --- a/web/src/apps/console/routes/_main+/$account+/infra+/$cluster+/nodepools/nodepool-resources.tsx +++ b/web/src/apps/console/routes/_main+/$account+/infra+/$cluster+/nodepools/nodepool-resources.tsx @@ -16,7 +16,7 @@ import { parseUpdateOrCreatedBy, parseUpdateOrCreatedOn, } from '~/console/server/r-utils/common'; -import { memo, useState } from 'react'; +import { useState } from 'react'; import Popup from '~/components/molecule/popup'; import { HighlightJsLogs } from 'react-highlightjs-logs'; import { yamlDump } from '~/console/components/diff-viewer'; @@ -32,13 +32,13 @@ import AnimateHide from '~/components/atoms/animate-hide'; import { ISetState } from '~/console/page-components/app-states'; import { Button } from '~/components/atoms/button'; import { dayjs } from '~/components/molecule/dayjs'; +import LogComp from '~/root/lib/client/components/logger'; import HandleNodePool from './handle-nodepool'; import { findNodePlanWithCategory, findNodePlanWithSpec, } from './nodepool-utils'; import { IAccountContext } from '../../../_layout'; -import LogComp from '~/root/lib/client/components/logger'; const RESOURCE_NAME = 'nodepool'; type BaseType = ExtractNodeType; @@ -186,7 +186,6 @@ const ListDetail = (
); case 'azure': - case 'do': case 'gcp': default: return null; diff --git a/web/src/apps/console/routes/_main+/$account+/infra+/clusters/cluster-resources.tsx b/web/src/apps/console/routes/_main+/$account+/infra+/clusters/cluster-resources.tsx index dcec3dfde..9e67f760f 100644 --- a/web/src/apps/console/routes/_main+/$account+/infra+/clusters/cluster-resources.tsx +++ b/web/src/apps/console/routes/_main+/$account+/infra+/clusters/cluster-resources.tsx @@ -38,7 +38,6 @@ const getProvider = (item: ExtractNodeType) => { ({item.spec.aws?.region})
); - case 'do': case 'gcp': case 'azure': return ( diff --git a/web/src/apps/console/server/gql/queries/cluster-queries.ts b/web/src/apps/console/server/gql/queries/cluster-queries.ts index dab564758..cd8b02eaf 100644 --- a/web/src/apps/console/server/gql/queries/cluster-queries.ts +++ b/web/src/apps/console/server/gql/queries/cluster-queries.ts @@ -32,7 +32,7 @@ export const clusterQueries = (executor: IExecutor) => ({ { transformer: (data: ConsoleCreateClusterMutation) => data.infra_createCluster, - vars(_: ConsoleCreateClusterMutationVariables) { }, + vars(_: ConsoleCreateClusterMutationVariables) {}, } ), deleteCluster: executor( @@ -44,7 +44,7 @@ export const clusterQueries = (executor: IExecutor) => ({ { transformer: (data: ConsoleDeleteClusterMutation) => data.infra_deleteCluster, - vars(_: ConsoleDeleteClusterMutationVariables) { }, + vars(_: ConsoleDeleteClusterMutationVariables) {}, } ), clustersCount: executor( @@ -57,7 +57,7 @@ export const clusterQueries = (executor: IExecutor) => ({ `, { transformer: (data: ConsoleClustersCountQuery) => data.infra_listClusters, - vars(_: ConsoleClustersCountQueryVariables) { }, + vars(_: ConsoleClustersCountQueryVariables) {}, } ), @@ -171,7 +171,7 @@ export const clusterQueries = (executor: IExecutor) => ({ `, { transformer: (data: ConsoleListClustersQuery) => data.infra_listClusters, - vars(_: ConsoleListClustersQueryVariables) { }, + vars(_: ConsoleListClustersQueryVariables) {}, } ), getCluster: executor( @@ -212,8 +212,6 @@ export const clusterQueries = (executor: IExecutor) => ({ aws { k3sMasters { iamInstanceProfileRole - imageId - imageSSHUsername instanceType nodes nvidiaGpuEnabled @@ -283,7 +281,7 @@ export const clusterQueries = (executor: IExecutor) => ({ `, { transformer: (data: ConsoleGetClusterQuery) => data.infra_getCluster, - vars(_: ConsoleGetClusterQueryVariables) { }, + vars(_: ConsoleGetClusterQueryVariables) {}, } ), getKubeConfig: executor( @@ -299,7 +297,7 @@ export const clusterQueries = (executor: IExecutor) => ({ `, { transformer: (data: ConsoleGetKubeConfigQuery) => data.infra_getCluster, - vars(_: ConsoleGetClusterQueryVariables) { }, + vars(_: ConsoleGetClusterQueryVariables) {}, } ), updateCluster: executor( @@ -313,7 +311,7 @@ export const clusterQueries = (executor: IExecutor) => ({ { transformer: (data: ConsoleUpdateClusterMutation) => data.infra_updateCluster, - vars(_: ConsoleUpdateClusterMutationVariables) { }, + vars(_: ConsoleUpdateClusterMutationVariables) {}, } ), }); diff --git a/web/src/apps/console/server/gql/queries/nodepool-queries.ts b/web/src/apps/console/server/gql/queries/nodepool-queries.ts index eaaaf6ff3..912ab97b1 100644 --- a/web/src/apps/console/server/gql/queries/nodepool-queries.ts +++ b/web/src/apps/console/server/gql/queries/nodepool-queries.ts @@ -53,8 +53,6 @@ export const nodepoolQueries = (executor: IExecutor) => ({ nodes } iamInstanceProfileRole - imageId - imageSSHUsername nvidiaGpuEnabled poolType rootVolumeSize diff --git a/web/src/apps/console/server/r-utils/common.ts b/web/src/apps/console/server/r-utils/common.ts index 357a6b843..12f9b9864 100644 --- a/web/src/apps/console/server/r-utils/common.ts +++ b/web/src/apps/console/server/r-utils/common.ts @@ -116,7 +116,6 @@ export const parseFromAnn = (resource: parseFromAnnResource, key: string) => export const validateClusterCloudProvider = (v: string): CloudProvider => { switch (v as CloudProvider) { - case 'do': case 'aws': case 'azure': case 'gcp': @@ -128,7 +127,6 @@ export const validateClusterCloudProvider = (v: string): CloudProvider => { export const validateCloudProvider = (v: string): CloudProvider => { switch (v as CloudProvider) { - case 'do': case 'aws': case 'azure': case 'gcp': diff --git a/web/src/generated/gql/sdl.graphql b/web/src/generated/gql/sdl.graphql index 99997edc9..7d5c66ddc 100644 --- a/web/src/generated/gql/sdl.graphql +++ b/web/src/generated/gql/sdl.graphql @@ -814,6 +814,7 @@ type Github__com___kloudlite___operator___apis___clusters___v1__AWSClusterConfig nodePools: Map region: String! spotNodePools: Map + vpc: Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams } input Github__com___kloudlite___operator___apis___clusters___v1__AWSClusterConfigIn { @@ -833,8 +834,6 @@ input Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfi type Github__com___kloudlite___operator___apis___clusters___v1__AWSK3sMastersConfig { iamInstanceProfileRole: String - imageId: String! - imageSSHUsername: String! instanceType: String! nodes: Map nvidiaGpuEnabled: Boolean! @@ -851,13 +850,13 @@ type Github__com___kloudlite___operator___apis___clusters___v1__AWSNodePoolConfi availabilityZone: String! ec2Pool: Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig iamInstanceProfileRole: String - imageId: String! - imageSSHUsername: String! nvidiaGpuEnabled: Boolean! poolType: Github__com___kloudlite___operator___apis___clusters___v1__AWSPoolType! rootVolumeSize: Int! rootVolumeType: String! spotPool: Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig + vpcId: String! + vpcSubnetId: String! } input Github__com___kloudlite___operator___apis___clusters___v1__AWSNodePoolConfigIn { @@ -904,6 +903,16 @@ input Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConf nodes: Map } +type Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID { + availabilityZone: String! + id: String! +} + +type Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams { + id: String! + publicSubnets: [Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID!]! +} + type Github__com___kloudlite___operator___apis___clusters___v1__CloudProviderCredentialKeys { keyAccessKey: String! keyAWSAccountId: String! @@ -916,6 +925,8 @@ type Github__com___kloudlite___operator___apis___clusters___v1__CloudProviderCre type Github__com___kloudlite___operator___apis___clusters___v1__ClusterOutput { jobName: String! jobNamespace: String! + keyAWSVPCId: String + keyAWSVPCPublicSubnets: String keyK3sAgentJoinToken: String! keyK3sServerJoinToken: String! keyKubeconfig: String! @@ -954,18 +965,9 @@ input Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpecIn { credentialsRef: Github__com___kloudlite___operator___apis___common____types__SecretRefIn! } -type Github__com___kloudlite___operator___apis___clusters___v1__InfrastuctureAsCode { - cloudProviderAccessKey: Github__com___kloudlite___operator___apis___common____types__SecretKeyRef! - cloudProviderSecretKey: Github__com___kloudlite___operator___apis___common____types__SecretKeyRef! - jobName: String - jobNamespace: String - stateS3BucketFilePath: String! - stateS3BucketName: String! - stateS3BucketRegion: String! -} - type Github__com___kloudlite___operator___apis___clusters___v1__MasterNodeProps { availabilityZone: String! + kloudliteRelease: String! lastRecreatedAt: Date role: String! } @@ -973,7 +975,6 @@ type Github__com___kloudlite___operator___apis___clusters___v1__MasterNodeProps type Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec { aws: Github__com___kloudlite___operator___apis___clusters___v1__AWSNodePoolConfig cloudProvider: Github__com___kloudlite___operator___apis___common____types__CloudProvider! - iac: Github__com___kloudlite___operator___apis___clusters___v1__InfrastuctureAsCode! maxCount: Int! minCount: Int! nodeLabels: Map @@ -1008,7 +1009,7 @@ input Github__com___kloudlite___operator___apis___clusters___v1__NodeSpecIn { enum Github__com___kloudlite___operator___apis___common____types__CloudProvider { aws azure - do + digitalocean gcp } @@ -1247,6 +1248,7 @@ type Github__com___kloudlite___operator___apis___crds___v1__HelmChartSpec { postUninstall: String preInstall: String preUninstall: String + releaseName: String values: Map! } diff --git a/web/src/generated/gql/server.ts b/web/src/generated/gql/server.ts index 9d50ca91b..515aec183 100644 --- a/web/src/generated/gql/server.ts +++ b/web/src/generated/gql/server.ts @@ -1,23 +1,36 @@ export type Maybe = T; export type InputMaybe = T; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type Exact = { + [K in keyof T]: T[K]; +}; +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe; +}; +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe; +}; +export type MakeEmpty< + T extends { [key: string]: unknown }, + K extends keyof T +> = { [_ in K]?: never }; +export type Incremental = + | T + | { + [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; + }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - Date: { input: any; output: any; } - Map: { input: any; output: any; } - Json: { input: any; output: any; } - ProviderDetail: { input: any; output: any; } - Any: { input: any; output: any; } - URL: { input: any; output: any; } + ID: { input: string; output: string }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + Date: { input: any; output: any }; + Map: { input: any; output: any }; + Json: { input: any; output: any }; + ProviderDetail: { input: any; output: any }; + Any: { input: any; output: any }; + URL: { input: any; output: any }; }; export type Github__Com___Kloudlite___Api___Apps___Iam___Types__Role = @@ -41,17 +54,14 @@ export type ConsoleResType = | 'vpn_device'; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret = - | 'config' - | 'secret'; + 'config' | 'secret'; export type K8s__Io___Api___Core___V1__TaintEffect = | 'NoExecute' | 'NoSchedule' | 'PreferNoSchedule'; -export type K8s__Io___Api___Core___V1__TolerationOperator = - | 'Equal' - | 'Exists'; +export type K8s__Io___Api___Core___V1__TolerationOperator = 'Equal' | 'Exists'; export type Github__Com___Kloudlite___Api___Pkg___Types__SyncAction = | 'APPLY' @@ -73,12 +83,10 @@ export type ConfigKeyRefIn = { }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode = - | 'private' - | 'public'; + 'private' | 'public'; export type Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__PullSecretFormat = - | 'dockerConfigJson' - | 'params'; + 'dockerConfigJson' | 'params'; export type ManagedResourceKeyRefIn = { key: Scalars['String']['input']; @@ -109,9 +117,7 @@ export type CursorPaginationIn = { sortDirection?: InputMaybe; }; -export type CursorPaginationSortDirection = - | 'ASC' - | 'DESC'; +export type CursorPaginationSortDirection = 'ASC' | 'DESC'; export type SearchApps = { isReady?: InputMaybe; @@ -126,10 +132,7 @@ export type MatchFilterIn = { regex?: InputMaybe; }; -export type MatchFilterMatchType = - | 'array' - | 'exact' - | 'regex'; +export type MatchFilterMatchType = 'array' | 'exact' | 'regex'; export type SearchConfigs = { isReady?: InputMaybe; @@ -189,17 +192,10 @@ export type CoreSearchVpnDevices = { }; export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider = - | 'github' - | 'gitlab'; + 'github' | 'gitlab'; export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus = - | 'error' - | 'failed' - | 'idle' - | 'pending' - | 'queued' - | 'running' - | 'success'; + 'error' | 'failed' | 'idle' | 'pending' | 'queued' | 'running' | 'success'; export type SearchBuildCacheKeys = { text?: InputMaybe; @@ -218,15 +214,10 @@ export type SearchCreds = { }; export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess = - | 'read' - | 'read_write'; + 'read' | 'read_write'; export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit = - | 'd' - | 'h' - | 'm' - | 'w' - | 'y'; + 'd' | 'h' | 'm' | 'w' | 'y'; export type SearchRepos = { text?: InputMaybe; @@ -244,14 +235,10 @@ export type ResType = | 'providersecret'; export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode = - | 'dev' - | 'HA'; + 'dev' | 'HA'; export type Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider = - | 'aws' - | 'azure' - | 'do' - | 'gcp'; + 'aws' | 'azure' | 'digitalocean' | 'gcp'; export type K8s__Io___Api___Core___V1__NodeSelectorOperator = | 'DoesNotExist' @@ -262,10 +249,7 @@ export type K8s__Io___Api___Core___V1__NodeSelectorOperator = | 'NotIn'; export type K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator = - | 'DoesNotExist' - | 'Exists' - | 'In' - | 'NotIn'; + 'DoesNotExist' | 'Exists' | 'In' | 'NotIn'; export type K8s__Io___Api___Core___V1__ConditionStatus = | 'False' @@ -284,8 +268,7 @@ export type K8s__Io___Api___Core___V1__NamespacePhase = | 'Terminating'; export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType = - | 'ec2' - | 'spot'; + 'ec2' | 'spot'; export type K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy = | 'Delete' @@ -395,33 +378,43 @@ export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppSpecIn = { region?: InputMaybe; replicas?: InputMaybe; serviceAccount?: InputMaybe; - services?: InputMaybe>; + services?: InputMaybe< + Array + >; tolerations?: InputMaybe>; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppContainerIn = { - args?: InputMaybe>; - command?: InputMaybe>; - env?: InputMaybe>; - envFrom?: InputMaybe>; - image: Scalars['String']['input']; - imagePullPolicy?: InputMaybe; - livenessProbe?: InputMaybe; - name: Scalars['String']['input']; - readinessProbe?: InputMaybe; - resourceCpu?: InputMaybe; - resourceMemory?: InputMaybe; - volumes?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerEnvIn = { - key: Scalars['String']['input']; - optional?: InputMaybe; - refKey?: InputMaybe; - refName?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppContainerIn = + { + args?: InputMaybe>; + command?: InputMaybe>; + env?: InputMaybe< + Array + >; + envFrom?: InputMaybe< + Array + >; + image: Scalars['String']['input']; + imagePullPolicy?: InputMaybe; + livenessProbe?: InputMaybe; + name: Scalars['String']['input']; + readinessProbe?: InputMaybe; + resourceCpu?: InputMaybe; + resourceMemory?: InputMaybe; + volumes?: InputMaybe< + Array + >; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerEnvIn = + { + key: Scalars['String']['input']; + optional?: InputMaybe; + refKey?: InputMaybe; + refName?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvFromIn = { refName: Scalars['String']['input']; @@ -438,36 +431,44 @@ export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ProbeIn = { type: Scalars['String']['input']; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HttpGetProbeIn = { - httpHeaders?: InputMaybe; - path: Scalars['String']['input']; - port: Scalars['Int']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ShellProbeIn = { - command?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__TcpProbeIn = { - port: Scalars['Int']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerResourceIn = { - max?: InputMaybe; - min?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerVolumeIn = { - items?: InputMaybe>; - mountPath: Scalars['String']['input']; - refName: Scalars['String']['input']; - type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerVolumeItemIn = { - fileName?: InputMaybe; - key: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HttpGetProbeIn = + { + httpHeaders?: InputMaybe; + path: Scalars['String']['input']; + port: Scalars['Int']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ShellProbeIn = + { + command?: InputMaybe>; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__TcpProbeIn = + { + port: Scalars['Int']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerResourceIn = + { + max?: InputMaybe; + min?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerVolumeIn = + { + items?: InputMaybe< + Array + >; + mountPath: Scalars['String']['input']; + refName: Scalars['String']['input']; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerVolumeItemIn = + { + fileName?: InputMaybe; + key: Scalars['String']['input']; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HpaIn = { enabled?: InputMaybe; @@ -477,10 +478,11 @@ export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HpaIn = { thresholdMemory?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__InterceptIn = { - enabled: Scalars['Boolean']['input']; - toDevice: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__InterceptIn = + { + enabled: Scalars['Boolean']['input']; + toDevice: Scalars['String']['input']; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppSvcIn = { name?: InputMaybe; @@ -515,15 +517,17 @@ export type EnvironmentIn = { spec?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentSpecIn = { - projectName: Scalars['String']['input']; - routing?: InputMaybe; - targetNamespace?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentSpecIn = + { + projectName: Scalars['String']['input']; + routing?: InputMaybe; + targetNamespace?: InputMaybe; + }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingIn = { - mode?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingIn = + { + mode?: InputMaybe; + }; export type ImagePullSecretIn = { displayName: Scalars['String']['input']; @@ -544,24 +548,27 @@ export type ManagedResourceIn = { spec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedResourceSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedResourceSpecIn = { - resourceName?: InputMaybe; - resourceTemplate: Github__Com___Kloudlite___Operator___Apis___Crds___V1__MresResourceTemplateIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__MresResourceTemplateIn = { - apiVersion: Scalars['String']['input']; - kind: Scalars['String']['input']; - msvcRef: Github__Com___Kloudlite___Operator___Apis___Crds___V1__MsvcNamedRefIn; - spec: Scalars['Map']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__MsvcNamedRefIn = { - apiVersion: Scalars['String']['input']; - kind: Scalars['String']['input']; - name: Scalars['String']['input']; - namespace: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedResourceSpecIn = + { + resourceName?: InputMaybe; + resourceTemplate: Github__Com___Kloudlite___Operator___Apis___Crds___V1__MresResourceTemplateIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__MresResourceTemplateIn = + { + apiVersion: Scalars['String']['input']; + kind: Scalars['String']['input']; + msvcRef: Github__Com___Kloudlite___Operator___Apis___Crds___V1__MsvcNamedRefIn; + spec: Scalars['Map']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__MsvcNamedRefIn = + { + apiVersion: Scalars['String']['input']; + kind: Scalars['String']['input']; + name: Scalars['String']['input']; + namespace: Scalars['String']['input']; + }; export type ProjectIn = { apiVersion?: InputMaybe; @@ -572,9 +579,10 @@ export type ProjectIn = { spec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ProjectSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ProjectSpecIn = { - targetNamespace: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ProjectSpecIn = + { + targetNamespace: Scalars['String']['input']; + }; export type ProjectManagedServiceIn = { apiVersion?: InputMaybe; @@ -584,20 +592,23 @@ export type ProjectManagedServiceIn = { spec?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ProjectManagedServiceSpecIn = { - msvcSpec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn; - targetNamespace: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ProjectManagedServiceSpecIn = + { + msvcSpec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn; + targetNamespace: Scalars['String']['input']; + }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn = { - serviceTemplate: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ServiceTemplateIn; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn = + { + serviceTemplate: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ServiceTemplateIn; + }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ServiceTemplateIn = { - apiVersion: Scalars['String']['input']; - kind: Scalars['String']['input']; - spec: Scalars['Map']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ServiceTemplateIn = + { + apiVersion: Scalars['String']['input']; + kind: Scalars['String']['input']; + spec: Scalars['Map']['input']; + }; export type RouterIn = { apiVersion?: InputMaybe; @@ -608,23 +619,27 @@ export type RouterIn = { spec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__RouterSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RouterSpecIn = { - backendProtocol?: InputMaybe; - basicAuth?: InputMaybe; - cors?: InputMaybe; - domains: Array; - https?: InputMaybe; - ingressClass?: InputMaybe; - maxBodySizeInMB?: InputMaybe; - rateLimit?: InputMaybe; - routes?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__BasicAuthIn = { - enabled: Scalars['Boolean']['input']; - secretName?: InputMaybe; - username?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RouterSpecIn = + { + backendProtocol?: InputMaybe; + basicAuth?: InputMaybe; + cors?: InputMaybe; + domains: Array; + https?: InputMaybe; + ingressClass?: InputMaybe; + maxBodySizeInMB?: InputMaybe; + rateLimit?: InputMaybe; + routes?: InputMaybe< + Array + >; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__BasicAuthIn = + { + enabled: Scalars['Boolean']['input']; + secretName?: InputMaybe; + username?: InputMaybe; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__CorsIn = { allowCredentials?: InputMaybe; @@ -638,12 +653,13 @@ export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HttpsIn = { forceRedirect?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RateLimitIn = { - connections?: InputMaybe; - enabled?: InputMaybe; - rpm?: InputMaybe; - rps?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RateLimitIn = + { + connections?: InputMaybe; + enabled?: InputMaybe; + rpm?: InputMaybe; + rps?: InputMaybe; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RouteIn = { app?: InputMaybe; @@ -675,21 +691,28 @@ export type ConsoleVpnDeviceIn = { spec?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Wireguard___V1__DeviceSpecIn = { - activeNamespace?: InputMaybe; - cnameRecords?: InputMaybe>; - ports?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Wireguard___V1__CNameRecordIn = { - host?: InputMaybe; - target?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Wireguard___V1__PortIn = { - port?: InputMaybe; - targetPort?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Wireguard___V1__DeviceSpecIn = + { + activeNamespace?: InputMaybe; + cnameRecords?: InputMaybe< + Array + >; + ports?: InputMaybe< + Array + >; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Wireguard___V1__CNameRecordIn = + { + host?: InputMaybe; + target?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Wireguard___V1__PortIn = + { + port?: InputMaybe; + targetPort?: InputMaybe; + }; export type PortIn = { port?: InputMaybe; @@ -703,41 +726,47 @@ export type BuildIn = { spec: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildRunSpecIn; }; -export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitSourceIn = { - branch: Scalars['String']['input']; - provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; - repository: Scalars['String']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildRunSpecIn = { - buildOptions?: InputMaybe; - cacheKeyName?: InputMaybe; - registry: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RegistryIn; - resource: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__ResourceIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildOptionsIn = { - buildArgs?: InputMaybe; - buildContexts?: InputMaybe; - contextDir?: InputMaybe; - dockerfileContent?: InputMaybe; - dockerfilePath?: InputMaybe; - targetPlatforms?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RegistryIn = { - repo: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RepoIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RepoIn = { - name: Scalars['String']['input']; - tags: Array; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__ResourceIn = { - cpu: Scalars['Int']['input']; - memoryInMb: Scalars['Int']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitSourceIn = + { + branch: Scalars['String']['input']; + provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; + repository: Scalars['String']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildRunSpecIn = + { + buildOptions?: InputMaybe; + cacheKeyName?: InputMaybe; + registry: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RegistryIn; + resource: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__ResourceIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildOptionsIn = + { + buildArgs?: InputMaybe; + buildContexts?: InputMaybe; + contextDir?: InputMaybe; + dockerfileContent?: InputMaybe; + dockerfilePath?: InputMaybe; + targetPlatforms?: InputMaybe>; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RegistryIn = + { + repo: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RepoIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RepoIn = + { + name: Scalars['String']['input']; + tags: Array; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__ResourceIn = + { + cpu: Scalars['Int']['input']; + memoryInMb: Scalars['Int']['input']; + }; export type BuildCacheKeyIn = { displayName: Scalars['String']['input']; @@ -752,10 +781,11 @@ export type CredentialIn = { username: Scalars['String']['input']; }; -export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationIn = { - unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit; - value: Scalars['Int']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationIn = + { + unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit; + value: Scalars['Int']['input']; + }; export type RepositoryIn = { name: Scalars['String']['input']; @@ -769,28 +799,32 @@ export type ClusterIn = { spec: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecIn = { - availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode; - aws?: InputMaybe; - cloudflareEnabled?: InputMaybe; - cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; - credentialsRef: Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsClusterConfigIn = { - k3sMasters?: InputMaybe; - region: Scalars['String']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__Awsk3sMastersConfigIn = { - instanceType: Scalars['String']['input']; - nvidiaGpuEnabled: Scalars['Boolean']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn = { - name: Scalars['String']['input']; - namespace?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecIn = + { + availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode; + aws?: InputMaybe; + cloudflareEnabled?: InputMaybe; + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + credentialsRef: Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsClusterConfigIn = + { + k3sMasters?: InputMaybe; + region: Scalars['String']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__Awsk3sMastersConfigIn = + { + instanceType: Scalars['String']['input']; + nvidiaGpuEnabled: Scalars['Boolean']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn = + { + name: Scalars['String']['input']; + namespace?: InputMaybe; + }; export type ClusterManagedServiceIn = { apiVersion?: InputMaybe; @@ -800,10 +834,11 @@ export type ClusterManagedServiceIn = { spec?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ClusterManagedServiceSpecIn = { - msvcSpec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn; - targetNamespace: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ClusterManagedServiceSpecIn = + { + msvcSpec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn; + targetNamespace: Scalars['String']['input']; + }; export type DomainEntryIn = { clusterName: Scalars['String']['input']; @@ -819,17 +854,18 @@ export type HelmReleaseIn = { spec?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HelmChartSpecIn = { - chartName: Scalars['String']['input']; - chartRepoURL: Scalars['String']['input']; - chartVersion: Scalars['String']['input']; - jobVars?: InputMaybe; - postInstall?: InputMaybe; - postUninstall?: InputMaybe; - preInstall?: InputMaybe; - preUninstall?: InputMaybe; - values: Scalars['Map']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HelmChartSpecIn = + { + chartName: Scalars['String']['input']; + chartRepoURL: Scalars['String']['input']; + chartVersion: Scalars['String']['input']; + jobVars?: InputMaybe; + postInstall?: InputMaybe; + postUninstall?: InputMaybe; + preInstall?: InputMaybe; + preUninstall?: InputMaybe; + values: Scalars['Map']['input']; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__JobVarsIn = { affinity?: InputMaybe; @@ -845,7 +881,9 @@ export type K8s__Io___Api___Core___V1__AffinityIn = { }; export type K8s__Io___Api___Core___V1__NodeAffinityIn = { - preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; + preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe; }; @@ -855,8 +893,12 @@ export type K8s__Io___Api___Core___V1__PreferredSchedulingTermIn = { }; export type K8s__Io___Api___Core___V1__NodeSelectorTermIn = { - matchExpressions?: InputMaybe>; - matchFields?: InputMaybe>; + matchExpressions?: InputMaybe< + Array + >; + matchFields?: InputMaybe< + Array + >; }; export type K8s__Io___Api___Core___V1__NodeSelectorRequirementIn = { @@ -870,8 +912,12 @@ export type K8s__Io___Api___Core___V1__NodeSelectorIn = { }; export type K8s__Io___Api___Core___V1__PodAffinityIn = { - preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; - requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; + preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; + requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; }; export type K8s__Io___Api___Core___V1__WeightedPodAffinityTermIn = { @@ -887,19 +933,26 @@ export type K8s__Io___Api___Core___V1__PodAffinityTermIn = { }; export type K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorIn = { - matchExpressions?: InputMaybe>; + matchExpressions?: InputMaybe< + Array + >; matchLabels?: InputMaybe; }; -export type K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorRequirementIn = { - key: Scalars['String']['input']; - operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; - values?: InputMaybe>; -}; +export type K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorRequirementIn = + { + key: Scalars['String']['input']; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: InputMaybe>; + }; export type K8s__Io___Api___Core___V1__PodAntiAffinityIn = { - preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; - requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; + preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; + requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; }; export type NodePoolIn = { @@ -910,47 +963,54 @@ export type NodePoolIn = { spec: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePoolSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePoolSpecIn = { - aws?: InputMaybe; - cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; - maxCount: Scalars['Int']['input']; - minCount: Scalars['Int']['input']; - nodeLabels?: InputMaybe; - nodeTaints?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsNodePoolConfigIn = { - availabilityZone: Scalars['String']['input']; - ec2Pool?: InputMaybe; - nvidiaGpuEnabled: Scalars['Boolean']['input']; - poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType; - spotPool?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsEc2PoolConfigIn = { - instanceType: Scalars['String']['input']; - nodes?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotPoolConfigIn = { - cpuNode?: InputMaybe; - gpuNode?: InputMaybe; - nodes?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotCpuNodeIn = { - memoryPerVcpu?: InputMaybe; - vcpu: Github__Com___Kloudlite___Operator___Apis___Common____Types__MinMaxFloatIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Common____Types__MinMaxFloatIn = { - max: Scalars['String']['input']; - min: Scalars['String']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotGpuNodeIn = { - instanceTypes: Array; -}; +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePoolSpecIn = + { + aws?: InputMaybe; + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + maxCount: Scalars['Int']['input']; + minCount: Scalars['Int']['input']; + nodeLabels?: InputMaybe; + nodeTaints?: InputMaybe>; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsNodePoolConfigIn = + { + availabilityZone: Scalars['String']['input']; + ec2Pool?: InputMaybe; + nvidiaGpuEnabled: Scalars['Boolean']['input']; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType; + spotPool?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsEc2PoolConfigIn = + { + instanceType: Scalars['String']['input']; + nodes?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotPoolConfigIn = + { + cpuNode?: InputMaybe; + gpuNode?: InputMaybe; + nodes?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotCpuNodeIn = + { + memoryPerVcpu?: InputMaybe; + vcpu: Github__Com___Kloudlite___Operator___Apis___Common____Types__MinMaxFloatIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Common____Types__MinMaxFloatIn = + { + max: Scalars['String']['input']; + min: Scalars['String']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotGpuNodeIn = + { + instanceTypes: Array; + }; export type K8s__Io___Api___Core___V1__TaintIn = { effect: K8s__Io___Api___Core___V1__TaintEffect; @@ -966,11 +1026,12 @@ export type CloudProviderSecretIn = { metadata: MetadataIn; }; -export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__AwsSecretCredentialsIn = { - accessKey?: InputMaybe; - awsAccountId?: InputMaybe; - secretKey?: InputMaybe; -}; +export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__AwsSecretCredentialsIn = + { + accessKey?: InputMaybe; + awsAccountId?: InputMaybe; + secretKey?: InputMaybe; + }; export type AccountMembershipIn = { accountName: Scalars['String']['input']; @@ -984,21 +1045,24 @@ export type ConfigKeyValueRefIn = { value: Scalars['String']['input']; }; -export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GithubUserAccountIn = { - avatarUrl?: InputMaybe; - id?: InputMaybe; - login?: InputMaybe; - nodeId?: InputMaybe; - type?: InputMaybe; -}; +export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GithubUserAccountIn = + { + avatarUrl?: InputMaybe; + id?: InputMaybe; + login?: InputMaybe; + nodeId?: InputMaybe; + type?: InputMaybe; + }; -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePropsIn = { - lastRecreatedAt?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePropsIn = + { + lastRecreatedAt?: InputMaybe; + }; -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodeSpecIn = { - nodepoolName: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodeSpecIn = + { + nodepoolName: Scalars['String']['input']; + }; export type Github__Com___Kloudlite___Operator___Pkg___Operator__CheckIn = { generation?: InputMaybe; @@ -1006,10 +1070,11 @@ export type Github__Com___Kloudlite___Operator___Pkg___Operator__CheckIn = { status: Scalars['Boolean']['input']; }; -export type Github__Com___Kloudlite___Operator___Pkg___Operator__ResourceRefIn = { - name: Scalars['String']['input']; - namespace: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Pkg___Operator__ResourceRefIn = + { + name: Scalars['String']['input']; + namespace: Scalars['String']['input']; + }; export type Github__Com___Kloudlite___Operator___Pkg___Operator__StatusIn = { checks?: InputMaybe; @@ -1017,12 +1082,15 @@ export type Github__Com___Kloudlite___Operator___Pkg___Operator__StatusIn = { lastReadyGeneration?: InputMaybe; lastReconcileTime?: InputMaybe; message?: InputMaybe; - resources?: InputMaybe>; + resources?: InputMaybe< + Array + >; }; -export type Github__Com___Kloudlite___Operator___Pkg___Raw____Json__RawJsonIn = { - RawMessage?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Pkg___Raw____Json__RawJsonIn = + { + RawMessage?: InputMaybe; + }; export type K8s__Io___Api___Core___V1__AwsElasticBlockStoreVolumeSourceIn = { fsType?: InputMaybe; @@ -1153,7 +1221,9 @@ export type K8s__Io___Api___Core___V1__NamespaceSpecIn = { }; export type K8s__Io___Api___Core___V1__NamespaceStatusIn = { - conditions?: InputMaybe>; + conditions?: InputMaybe< + Array + >; phase?: InputMaybe; }; @@ -1221,7 +1291,9 @@ export type K8s__Io___Api___Core___V1__PersistentVolumeClaimStatusIn = { allocatedResources?: InputMaybe; allocatedResourceStatuses?: InputMaybe; capacity?: InputMaybe; - conditions?: InputMaybe>; + conditions?: InputMaybe< + Array + >; phase?: InputMaybe; }; @@ -1407,15 +1479,23 @@ export type ConsoleAccountCheckNameAvailabilityQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleAccountCheckNameAvailabilityQuery = { accounts_checkNameAvailability: { result: boolean, suggestedNames?: Array } }; +export type ConsoleAccountCheckNameAvailabilityQuery = { + accounts_checkNameAvailability: { + result: boolean; + suggestedNames?: Array; + }; +}; export type ConsoleCrCheckNameAvailabilityQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleCrCheckNameAvailabilityQuery = { cr_checkUserNameAvailability: { result: boolean, suggestedNames?: Array } }; +export type ConsoleCrCheckNameAvailabilityQuery = { + cr_checkUserNameAvailability: { + result: boolean; + suggestedNames?: Array; + }; +}; export type ConsoleInfraCheckNameAvailabilityQueryVariables = Exact<{ resType: ResType; @@ -1423,8 +1503,12 @@ export type ConsoleInfraCheckNameAvailabilityQueryVariables = Exact<{ clusterName?: InputMaybe; }>; - -export type ConsoleInfraCheckNameAvailabilityQuery = { infra_checkNameAvailability: { suggestedNames: Array, result: boolean } }; +export type ConsoleInfraCheckNameAvailabilityQuery = { + infra_checkNameAvailability: { + suggestedNames: Array; + result: boolean; + }; +}; export type ConsoleCoreCheckNameAvailabilityQueryVariables = Exact<{ resType: ConsoleResType; @@ -1433,197 +1517,573 @@ export type ConsoleCoreCheckNameAvailabilityQueryVariables = Exact<{ envName?: InputMaybe; }>; +export type ConsoleCoreCheckNameAvailabilityQuery = { + core_checkNameAvailability: { result: boolean }; +}; -export type ConsoleCoreCheckNameAvailabilityQuery = { core_checkNameAvailability: { result: boolean } }; - -export type ConsoleWhoAmIQueryVariables = Exact<{ [key: string]: never; }>; - +export type ConsoleWhoAmIQueryVariables = Exact<{ [key: string]: never }>; -export type ConsoleWhoAmIQuery = { auth_me?: { id: string, email: string, providerGitlab?: any, providerGithub?: any, providerGoogle?: any } }; +export type ConsoleWhoAmIQuery = { + auth_me?: { + id: string; + email: string; + providerGitlab?: any; + providerGithub?: any; + providerGoogle?: any; + }; +}; export type ConsoleCreateAccountMutationVariables = Exact<{ account: AccountIn; }>; +export type ConsoleCreateAccountMutation = { + accounts_createAccount: { displayName: string }; +}; -export type ConsoleCreateAccountMutation = { accounts_createAccount: { displayName: string } }; - -export type ConsoleListAccountsQueryVariables = Exact<{ [key: string]: never; }>; - +export type ConsoleListAccountsQueryVariables = Exact<{ [key: string]: never }>; -export type ConsoleListAccountsQuery = { accounts_listAccounts?: Array<{ id: string, updateTime: any, displayName: string, metadata?: { name: string, annotations?: any } }> }; +export type ConsoleListAccountsQuery = { + accounts_listAccounts?: Array<{ + id: string; + updateTime: any; + displayName: string; + metadata?: { name: string; annotations?: any }; + }>; +}; export type ConsoleUpdateAccountMutationVariables = Exact<{ account: AccountIn; }>; - -export type ConsoleUpdateAccountMutation = { accounts_updateAccount: { id: string } }; +export type ConsoleUpdateAccountMutation = { + accounts_updateAccount: { id: string }; +}; export type ConsoleGetAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type ConsoleGetAccountQuery = { accounts_getAccount?: { updateTime: any, contactEmail?: string, displayName: string, metadata?: { name: string, annotations?: any } } }; +export type ConsoleGetAccountQuery = { + accounts_getAccount?: { + updateTime: any; + contactEmail?: string; + displayName: string; + metadata?: { name: string; annotations?: any }; + }; +}; export type ConsoleDeleteAccountMutationVariables = Exact<{ accountName: Scalars['String']['input']; }>; - export type ConsoleDeleteAccountMutation = { accounts_deleteAccount: boolean }; export type ConsoleDeleteProjectMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type ConsoleDeleteProjectMutation = { core_deleteProject: boolean }; export type ConsoleCreateProjectMutationVariables = Exact<{ project: ProjectIn; }>; - -export type ConsoleCreateProjectMutation = { core_createProject?: { id: string } }; +export type ConsoleCreateProjectMutation = { + core_createProject?: { id: string }; +}; export type ConsoleUpdateProjectMutationVariables = Exact<{ project: ProjectIn; }>; - -export type ConsoleUpdateProjectMutation = { core_updateProject?: { id: string } }; +export type ConsoleUpdateProjectMutation = { + core_updateProject?: { id: string }; +}; export type ConsoleGetProjectQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetProjectQuery = { core_getProject?: { clusterName?: string, displayName: string, accountName: string, apiVersion?: string, creationTime: any, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, metadata?: { name: string, namespace?: string }, spec: { targetNamespace: string }, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }; +export type ConsoleGetProjectQuery = { + core_getProject?: { + clusterName?: string; + displayName: string; + accountName: string; + apiVersion?: string; + creationTime: any; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + metadata?: { name: string; namespace?: string }; + spec: { targetNamespace: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; +}; export type ConsoleListProjectsQueryVariables = Exact<{ search?: InputMaybe; pq?: InputMaybe; }>; - -export type ConsoleListProjectsQuery = { core_listProjects?: { totalCount: number, edges: Array<{ cursor: string, node: { clusterName?: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { targetNamespace: string }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListProjectsQuery = { + core_listProjects?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + clusterName?: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { targetNamespace: string }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateClusterMutationVariables = Exact<{ cluster: ClusterIn; }>; - -export type ConsoleCreateClusterMutation = { infra_createCluster?: { id: string } }; +export type ConsoleCreateClusterMutation = { + infra_createCluster?: { id: string }; +}; export type ConsoleDeleteClusterMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type ConsoleDeleteClusterMutation = { infra_deleteCluster: boolean }; -export type ConsoleClustersCountQueryVariables = Exact<{ [key: string]: never; }>; - +export type ConsoleClustersCountQueryVariables = Exact<{ + [key: string]: never; +}>; -export type ConsoleClustersCountQuery = { infra_listClusters?: { totalCount: number } }; +export type ConsoleClustersCountQuery = { + infra_listClusters?: { totalCount: number }; +}; export type ConsoleListClustersQueryVariables = Exact<{ search?: InputMaybe; pagination?: InputMaybe; }>; - -export type ConsoleListClustersQuery = { infra_listClusters?: { totalCount: number, pageInfo: { startCursor?: string, hasPreviousPage?: boolean, hasNextPage?: boolean, endCursor?: string }, edges: Array<{ cursor: string, node: { displayName: string, markedForDeletion?: boolean, creationTime: any, updateTime: any, recordVersion: number, metadata: { name: string, annotations?: any, generation: number }, lastUpdatedBy: { userId: string, userName: string, userEmail: string }, createdBy: { userEmail: string, userId: string, userName: string }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any }, spec: { messageQueueTopicName: string, kloudliteRelease: string, accountId: string, accountName: string, availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode, cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, backupToS3Enabled: boolean, cloudflareEnabled?: boolean, clusterInternalDnsHost?: string, publicDNSHost: string, taintMasterNodes: boolean, credentialsRef: { namespace?: string, name: string }, clusterTokenRef?: { key: string, name: string, namespace?: string }, aws?: { nodePools?: any, region: string, spotNodePools?: any, k3sMasters?: { iamInstanceProfileRole?: string, instanceType: string, nodes?: any, nvidiaGpuEnabled: boolean, rootVolumeSize: number, rootVolumeType: string } }, output?: { keyK3sAgentJoinToken: string, keyK3sServerJoinToken: string, keyKubeconfig: string, secretName: string } } } }> } }; +export type ConsoleListClustersQuery = { + infra_listClusters?: { + totalCount: number; + pageInfo: { + startCursor?: string; + hasPreviousPage?: boolean; + hasNextPage?: boolean; + endCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + displayName: string; + markedForDeletion?: boolean; + creationTime: any; + updateTime: any; + recordVersion: number; + metadata: { name: string; annotations?: any; generation: number }; + lastUpdatedBy: { userId: string; userName: string; userEmail: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + spec: { + messageQueueTopicName: string; + kloudliteRelease: string; + accountId: string; + accountName: string; + availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode; + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + backupToS3Enabled: boolean; + cloudflareEnabled?: boolean; + clusterInternalDnsHost?: string; + publicDNSHost: string; + taintMasterNodes: boolean; + credentialsRef: { namespace?: string; name: string }; + clusterTokenRef?: { key: string; name: string; namespace?: string }; + aws?: { + nodePools?: any; + region: string; + spotNodePools?: any; + k3sMasters?: { + iamInstanceProfileRole?: string; + instanceType: string; + nodes?: any; + nvidiaGpuEnabled: boolean; + rootVolumeSize: number; + rootVolumeType: string; + }; + }; + output?: { + keyK3sAgentJoinToken: string; + keyK3sServerJoinToken: string; + keyKubeconfig: string; + secretName: string; + }; + }; + }; + }>; + }; +}; export type ConsoleGetClusterQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetClusterQuery = { infra_getCluster?: { accountName: string, apiVersion?: string, creationTime: any, displayName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { accountId: string, accountName: string, availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode, backupToS3Enabled: boolean, cloudflareEnabled?: boolean, cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, clusterInternalDnsHost?: string, kloudliteRelease: string, messageQueueTopicName: string, publicDNSHost: string, taintMasterNodes: boolean, aws?: { nodePools?: any, region: string, spotNodePools?: any, k3sMasters?: { iamInstanceProfileRole?: string, imageId: string, imageSSHUsername: string, instanceType: string, nodes?: any, nvidiaGpuEnabled: boolean, rootVolumeSize: number, rootVolumeType: string } }, clusterTokenRef?: { key: string, name: string, namespace?: string }, credentialKeys?: { keyAccessKey: string, keyAWSAccountId: string, keyAWSAssumeRoleExternalID: string, keyAWSAssumeRoleRoleARN: string, keyIAMInstanceProfileRole: string, keySecretKey: string }, credentialsRef: { name: string, namespace?: string }, output?: { keyK3sAgentJoinToken: string, keyK3sServerJoinToken: string, keyKubeconfig: string, secretName: string } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { error?: string, lastSyncedAt?: any, recordVersion: number, syncScheduledAt?: any } } }; +export type ConsoleGetClusterQuery = { + infra_getCluster?: { + accountName: string; + apiVersion?: string; + creationTime: any; + displayName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + accountId: string; + accountName: string; + availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode; + backupToS3Enabled: boolean; + cloudflareEnabled?: boolean; + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + clusterInternalDnsHost?: string; + kloudliteRelease: string; + messageQueueTopicName: string; + publicDNSHost: string; + taintMasterNodes: boolean; + aws?: { + nodePools?: any; + region: string; + spotNodePools?: any; + k3sMasters?: { + iamInstanceProfileRole?: string; + instanceType: string; + nodes?: any; + nvidiaGpuEnabled: boolean; + rootVolumeSize: number; + rootVolumeType: string; + }; + }; + clusterTokenRef?: { key: string; name: string; namespace?: string }; + credentialKeys?: { + keyAccessKey: string; + keyAWSAccountId: string; + keyAWSAssumeRoleExternalID: string; + keyAWSAssumeRoleRoleARN: string; + keyIAMInstanceProfileRole: string; + keySecretKey: string; + }; + credentialsRef: { name: string; namespace?: string }; + output?: { + keyK3sAgentJoinToken: string; + keyK3sServerJoinToken: string; + keyKubeconfig: string; + secretName: string; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + error?: string; + lastSyncedAt?: any; + recordVersion: number; + syncScheduledAt?: any; + }; + }; +}; export type ConsoleGetKubeConfigQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetKubeConfigQuery = { infra_getCluster?: { adminKubeconfig?: { encoding: string, value: string } } }; +export type ConsoleGetKubeConfigQuery = { + infra_getCluster?: { adminKubeconfig?: { encoding: string; value: string } }; +}; export type ConsoleUpdateClusterMutationVariables = Exact<{ cluster: ClusterIn; }>; - -export type ConsoleUpdateClusterMutation = { infra_updateCluster?: { id: string } }; +export type ConsoleUpdateClusterMutation = { + infra_updateCluster?: { id: string }; +}; export type ConsoleCheckAwsAccessQueryVariables = Exact<{ cloudproviderName: Scalars['String']['input']; }>; - -export type ConsoleCheckAwsAccessQuery = { infra_checkAwsAccess: { result: boolean, installationUrl?: string } }; +export type ConsoleCheckAwsAccessQuery = { + infra_checkAwsAccess: { result: boolean; installationUrl?: string }; +}; export type ConsoleListProviderSecretsQueryVariables = Exact<{ search?: InputMaybe; pagination?: InputMaybe; }>; - -export type ConsoleListProviderSecretsQuery = { infra_listProviderSecrets?: { totalCount: number, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string }, edges: Array<{ cursor: string, node: { cloudProviderName: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, creationTime: any, displayName: string, updateTime: any, aws?: { awsAccountId?: string }, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { namespace?: string, name: string, labels?: any, annotations?: any } } }> } }; +export type ConsoleListProviderSecretsQuery = { + infra_listProviderSecrets?: { + totalCount: number; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + cloudProviderName: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + creationTime: any; + displayName: string; + updateTime: any; + aws?: { awsAccountId?: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + namespace?: string; + name: string; + labels?: any; + annotations?: any; + }; + }; + }>; + }; +}; export type ConsoleCreateProviderSecretMutationVariables = Exact<{ secret: CloudProviderSecretIn; }>; - -export type ConsoleCreateProviderSecretMutation = { infra_createProviderSecret?: { metadata: { name: string } } }; +export type ConsoleCreateProviderSecretMutation = { + infra_createProviderSecret?: { metadata: { name: string } }; +}; export type ConsoleUpdateProviderSecretMutationVariables = Exact<{ secret: CloudProviderSecretIn; }>; - -export type ConsoleUpdateProviderSecretMutation = { infra_updateProviderSecret?: { id: string } }; +export type ConsoleUpdateProviderSecretMutation = { + infra_updateProviderSecret?: { id: string }; +}; export type ConsoleDeleteProviderSecretMutationVariables = Exact<{ secretName: Scalars['String']['input']; }>; - -export type ConsoleDeleteProviderSecretMutation = { infra_deleteProviderSecret: boolean }; +export type ConsoleDeleteProviderSecretMutation = { + infra_deleteProviderSecret: boolean; +}; export type ConsoleGetProviderSecretQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetProviderSecretQuery = { infra_getProviderSecret?: { cloudProviderName: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, creationTime: any, displayName: string, updateTime: any, aws?: { awsAccountId?: string }, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { namespace?: string, name: string, labels?: any } } }; +export type ConsoleGetProviderSecretQuery = { + infra_getProviderSecret?: { + cloudProviderName: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + creationTime: any; + displayName: string; + updateTime: any; + aws?: { awsAccountId?: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { namespace?: string; name: string; labels?: any }; + }; +}; export type ConsoleGetNodePoolQueryVariables = Exact<{ clusterName: Scalars['String']['input']; poolName: Scalars['String']['input']; }>; - -export type ConsoleGetNodePoolQuery = { infra_getNodePool?: { id: string, clusterName: string, creationTime: any, displayName: string, kind?: string, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, maxCount: number, minCount: number, aws?: { availabilityZone: string, iamInstanceProfileRole?: string, imageId: string, imageSSHUsername: string, nvidiaGpuEnabled: boolean, poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType, rootVolumeSize: number, rootVolumeType: string, ec2Pool?: { instanceType: string, nodes?: any }, spotPool?: { nodes?: any, spotFleetTaggingRoleName: string, cpuNode?: { memoryPerVcpu?: { max: string, min: string }, vcpu: { max: string, min: string } }, gpuNode?: { instanceTypes: Array } } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetNodePoolQuery = { + infra_getNodePool?: { + id: string; + clusterName: string; + creationTime: any; + displayName: string; + kind?: string; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + maxCount: number; + minCount: number; + aws?: { + availabilityZone: string; + iamInstanceProfileRole?: string; + nvidiaGpuEnabled: boolean; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType; + rootVolumeSize: number; + rootVolumeType: string; + ec2Pool?: { instanceType: string; nodes?: any }; + spotPool?: { + nodes?: any; + spotFleetTaggingRoleName: string; + cpuNode?: { + memoryPerVcpu?: { max: string; min: string }; + vcpu: { max: string; min: string }; + }; + gpuNode?: { instanceTypes: Array }; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleCreateNodePoolMutationVariables = Exact<{ clusterName: Scalars['String']['input']; pool: NodePoolIn; }>; - -export type ConsoleCreateNodePoolMutation = { infra_createNodePool?: { id: string } }; +export type ConsoleCreateNodePoolMutation = { + infra_createNodePool?: { id: string }; +}; export type ConsoleUpdateNodePoolMutationVariables = Exact<{ clusterName: Scalars['String']['input']; pool: NodePoolIn; }>; - -export type ConsoleUpdateNodePoolMutation = { infra_updateNodePool?: { id: string } }; +export type ConsoleUpdateNodePoolMutation = { + infra_updateNodePool?: { id: string }; +}; export type ConsoleListNodePoolsQueryVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -1631,15 +2091,79 @@ export type ConsoleListNodePoolsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListNodePoolsQuery = { infra_listNodePools?: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, clusterName: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec: { cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, maxCount: number, minCount: number, aws?: { availabilityZone: string, nvidiaGpuEnabled: boolean, poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType, ec2Pool?: { instanceType: string, nodes?: any }, spotPool?: { nodes?: any, spotFleetTaggingRoleName: string, cpuNode?: { memoryPerVcpu?: { max: string, min: string }, vcpu: { max: string, min: string } }, gpuNode?: { instanceTypes: Array } } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListNodePoolsQuery = { + infra_listNodePools?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + id: string; + clusterName: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec: { + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + maxCount: number; + minCount: number; + aws?: { + availabilityZone: string; + nvidiaGpuEnabled: boolean; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType; + ec2Pool?: { instanceType: string; nodes?: any }; + spotPool?: { + nodes?: any; + spotFleetTaggingRoleName: string; + cpuNode?: { + memoryPerVcpu?: { max: string; min: string }; + vcpu: { max: string; min: string }; + }; + gpuNode?: { instanceTypes: Array }; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeleteNodePoolMutationVariables = Exact<{ clusterName: Scalars['String']['input']; poolName: Scalars['String']['input']; }>; - export type ConsoleDeleteNodePoolMutation = { infra_deleteNodePool: boolean }; export type ConsoleGetEnvironmentQueryVariables = Exact<{ @@ -1647,32 +2171,67 @@ export type ConsoleGetEnvironmentQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetEnvironmentQuery = { core_getEnvironment?: { creationTime: any, displayName: string, markedForDeletion?: boolean, projectName: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { projectName: string, targetNamespace?: string }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetEnvironmentQuery = { + core_getEnvironment?: { + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + projectName: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { projectName: string; targetNamespace?: string }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleCreateEnvironmentMutationVariables = Exact<{ projectName: Scalars['String']['input']; env: EnvironmentIn; }>; - -export type ConsoleCreateEnvironmentMutation = { core_createEnvironment?: { id: string } }; +export type ConsoleCreateEnvironmentMutation = { + core_createEnvironment?: { id: string }; +}; export type ConsoleUpdateEnvironmentMutationVariables = Exact<{ projectName: Scalars['String']['input']; env: EnvironmentIn; }>; - -export type ConsoleUpdateEnvironmentMutation = { core_updateEnvironment?: { id: string } }; +export type ConsoleUpdateEnvironmentMutation = { + core_updateEnvironment?: { id: string }; +}; export type ConsoleDeleteEnvironmentMutationVariables = Exact<{ projectName: Scalars['String']['input']; envName: Scalars['String']['input']; }>; - -export type ConsoleDeleteEnvironmentMutation = { core_deleteEnvironment: boolean }; +export type ConsoleDeleteEnvironmentMutation = { + core_deleteEnvironment: boolean; +}; export type ConsoleListEnvironmentsQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1680,8 +2239,61 @@ export type ConsoleListEnvironmentsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListEnvironmentsQuery = { core_listEnvironments?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, markedForDeletion?: boolean, projectName: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec?: { projectName: string, targetNamespace?: string, routing?: { mode?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode, privateIngressClass?: string, publicIngressClass?: string } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListEnvironmentsQuery = { + core_listEnvironments?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + projectName: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec?: { + projectName: string; + targetNamespace?: string; + routing?: { + mode?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode; + privateIngressClass?: string; + publicIngressClass?: string; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCloneEnvironmentMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1691,8 +2303,9 @@ export type ConsoleCloneEnvironmentMutationVariables = Exact<{ environmentRoutingMode: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode; }>; - -export type ConsoleCloneEnvironmentMutation = { core_cloneEnvironment?: { id: string } }; +export type ConsoleCloneEnvironmentMutation = { + core_cloneEnvironment?: { id: string }; +}; export type ConsoleRestartAppQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1700,7 +2313,6 @@ export type ConsoleRestartAppQueryVariables = Exact<{ appName: Scalars['String']['input']; }>; - export type ConsoleRestartAppQuery = { core_restartApp: boolean }; export type ConsoleCreateAppMutationVariables = Exact<{ @@ -1709,7 +2321,6 @@ export type ConsoleCreateAppMutationVariables = Exact<{ app: AppIn; }>; - export type ConsoleCreateAppMutation = { core_createApp?: { id: string } }; export type ConsoleUpdateAppMutationVariables = Exact<{ @@ -1718,7 +2329,6 @@ export type ConsoleUpdateAppMutationVariables = Exact<{ app: AppIn; }>; - export type ConsoleUpdateAppMutation = { core_updateApp?: { id: string } }; export type ConsoleInterceptAppMutationVariables = Exact<{ @@ -1729,7 +2339,6 @@ export type ConsoleInterceptAppMutationVariables = Exact<{ intercept: Scalars['Boolean']['input']; }>; - export type ConsoleInterceptAppMutation = { core_interceptApp: boolean }; export type ConsoleDeleteAppMutationVariables = Exact<{ @@ -1738,7 +2347,6 @@ export type ConsoleDeleteAppMutationVariables = Exact<{ appName: Scalars['String']['input']; }>; - export type ConsoleDeleteAppMutation = { core_deleteApp: boolean }; export type ConsoleGetAppQueryVariables = Exact<{ @@ -1747,8 +2355,105 @@ export type ConsoleGetAppQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetAppQuery = { core_getApp?: { id: string, creationTime: any, displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, projectName: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, name: string, namespace?: string }, spec: { displayName?: string, freeze?: boolean, nodeSelector?: any, region?: string, replicas?: number, serviceAccount?: string, containers: Array<{ args?: Array, command?: Array, image: string, imagePullPolicy?: string, name: string, env?: Array<{ key: string, optional?: boolean, refKey?: string, refName?: string, type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, value?: string }>, envFrom?: Array<{ refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret }>, livenessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string, httpGet?: { httpHeaders?: any, path: string, port: number }, shell?: { command?: Array }, tcp?: { port: number } }, readinessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string }, resourceCpu?: { max?: string, min?: string }, resourceMemory?: { max?: string, min?: string }, volumes?: Array<{ mountPath: string, refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, items?: Array<{ fileName?: string, key: string }> }> }>, hpa?: { enabled?: boolean, maxReplicas?: number, minReplicas?: number, thresholdCpu?: number, thresholdMemory?: number }, intercept?: { enabled: boolean, toDevice: string }, services?: Array<{ name?: string, port: number, targetPort?: number, type?: string }>, tolerations?: Array<{ effect?: K8s__Io___Api___Core___V1__TaintEffect, key?: string, operator?: K8s__Io___Api___Core___V1__TolerationOperator, tolerationSeconds?: number, value?: string }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetAppQuery = { + core_getApp?: { + id: string; + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + projectName: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { annotations?: any; name: string; namespace?: string }; + spec: { + displayName?: string; + freeze?: boolean; + nodeSelector?: any; + region?: string; + replicas?: number; + serviceAccount?: string; + containers: Array<{ + args?: Array; + command?: Array; + image: string; + imagePullPolicy?: string; + name: string; + env?: Array<{ + key: string; + optional?: boolean; + refKey?: string; + refName?: string; + type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + value?: string; + }>; + envFrom?: Array<{ + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }>; + livenessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + httpGet?: { httpHeaders?: any; path: string; port: number }; + shell?: { command?: Array }; + tcp?: { port: number }; + }; + readinessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + }; + resourceCpu?: { max?: string; min?: string }; + resourceMemory?: { max?: string; min?: string }; + volumes?: Array<{ + mountPath: string; + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + items?: Array<{ fileName?: string; key: string }>; + }>; + }>; + hpa?: { + enabled?: boolean; + maxReplicas?: number; + minReplicas?: number; + thresholdCpu?: number; + thresholdMemory?: number; + }; + intercept?: { enabled: boolean; toDevice: string }; + services?: Array<{ + name?: string; + port: number; + targetPort?: number; + type?: string; + }>; + tolerations?: Array<{ + effect?: K8s__Io___Api___Core___V1__TaintEffect; + key?: string; + operator?: K8s__Io___Api___Core___V1__TolerationOperator; + tolerationSeconds?: number; + value?: string; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleListAppsQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1757,8 +2462,110 @@ export type ConsoleListAppsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListAppsQuery = { core_listApps?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, projectName: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec: { displayName?: string, freeze?: boolean, nodeSelector?: any, region?: string, replicas?: number, serviceAccount?: string, containers: Array<{ args?: Array, command?: Array, image: string, imagePullPolicy?: string, name: string, env?: Array<{ key: string, optional?: boolean, refKey?: string, refName?: string, type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, value?: string }>, envFrom?: Array<{ refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret }>, readinessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string }, resourceCpu?: { max?: string, min?: string }, resourceMemory?: { max?: string, min?: string } }>, hpa?: { enabled?: boolean, maxReplicas?: number, minReplicas?: number, thresholdCpu?: number, thresholdMemory?: number }, intercept?: { enabled: boolean, toDevice: string }, services?: Array<{ name?: string, port: number, targetPort?: number, type?: string }>, tolerations?: Array<{ effect?: K8s__Io___Api___Core___V1__TaintEffect, key?: string, operator?: K8s__Io___Api___Core___V1__TolerationOperator, tolerationSeconds?: number, value?: string }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListAppsQuery = { + core_listApps?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + projectName: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec: { + displayName?: string; + freeze?: boolean; + nodeSelector?: any; + region?: string; + replicas?: number; + serviceAccount?: string; + containers: Array<{ + args?: Array; + command?: Array; + image: string; + imagePullPolicy?: string; + name: string; + env?: Array<{ + key: string; + optional?: boolean; + refKey?: string; + refName?: string; + type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + value?: string; + }>; + envFrom?: Array<{ + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }>; + readinessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + }; + resourceCpu?: { max?: string; min?: string }; + resourceMemory?: { max?: string; min?: string }; + }>; + hpa?: { + enabled?: boolean; + maxReplicas?: number; + minReplicas?: number; + thresholdCpu?: number; + thresholdMemory?: number; + }; + intercept?: { enabled: boolean; toDevice: string }; + services?: Array<{ + name?: string; + port: number; + targetPort?: number; + type?: string; + }>; + tolerations?: Array<{ + effect?: K8s__Io___Api___Core___V1__TaintEffect; + key?: string; + operator?: K8s__Io___Api___Core___V1__TolerationOperator; + tolerationSeconds?: number; + value?: string; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateRouterMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1766,8 +2573,9 @@ export type ConsoleCreateRouterMutationVariables = Exact<{ router: RouterIn; }>; - -export type ConsoleCreateRouterMutation = { core_createRouter?: { id: string } }; +export type ConsoleCreateRouterMutation = { + core_createRouter?: { id: string }; +}; export type ConsoleUpdateRouterMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1775,8 +2583,9 @@ export type ConsoleUpdateRouterMutationVariables = Exact<{ router: RouterIn; }>; - -export type ConsoleUpdateRouterMutation = { core_updateRouter?: { id: string } }; +export type ConsoleUpdateRouterMutation = { + core_updateRouter?: { id: string }; +}; export type ConsoleDeleteRouterMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1784,7 +2593,6 @@ export type ConsoleDeleteRouterMutationVariables = Exact<{ routerName: Scalars['String']['input']; }>; - export type ConsoleDeleteRouterMutation = { core_deleteRouter: boolean }; export type ConsoleListRoutersQueryVariables = Exact<{ @@ -1794,8 +2602,88 @@ export type ConsoleListRoutersQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListRoutersQuery = { core_listRouters?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, projectName: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec: { backendProtocol?: string, domains: Array, ingressClass?: string, maxBodySizeInMB?: number, basicAuth?: { enabled: boolean, secretName?: string, username?: string }, cors?: { allowCredentials?: boolean, enabled?: boolean, origins?: Array }, https?: { clusterIssuer?: string, enabled: boolean, forceRedirect?: boolean }, rateLimit?: { connections?: number, enabled?: boolean, rpm?: number, rps?: number }, routes?: Array<{ app?: string, lambda?: string, path: string, port: number, rewrite?: boolean }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListRoutersQuery = { + core_listRouters?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + projectName: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec: { + backendProtocol?: string; + domains: Array; + ingressClass?: string; + maxBodySizeInMB?: number; + basicAuth?: { + enabled: boolean; + secretName?: string; + username?: string; + }; + cors?: { + allowCredentials?: boolean; + enabled?: boolean; + origins?: Array; + }; + https?: { + clusterIssuer?: string; + enabled: boolean; + forceRedirect?: boolean; + }; + rateLimit?: { + connections?: number; + enabled?: boolean; + rpm?: number; + rps?: number; + }; + routes?: Array<{ + app?: string; + lambda?: string; + path: string; + port: number; + rewrite?: boolean; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleGetRouterQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1803,8 +2691,63 @@ export type ConsoleGetRouterQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetRouterQuery = { core_getRouter?: { creationTime: any, displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, projectName: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { name: string, namespace?: string }, spec: { backendProtocol?: string, domains: Array, ingressClass?: string, maxBodySizeInMB?: number, basicAuth?: { enabled: boolean, secretName?: string, username?: string }, cors?: { allowCredentials?: boolean, enabled?: boolean, origins?: Array }, https?: { clusterIssuer?: string, enabled: boolean, forceRedirect?: boolean }, rateLimit?: { connections?: number, enabled?: boolean, rpm?: number, rps?: number }, routes?: Array<{ app?: string, lambda?: string, path: string, port: number, rewrite?: boolean }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetRouterQuery = { + core_getRouter?: { + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + projectName: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { name: string; namespace?: string }; + spec: { + backendProtocol?: string; + domains: Array; + ingressClass?: string; + maxBodySizeInMB?: number; + basicAuth?: { enabled: boolean; secretName?: string; username?: string }; + cors?: { + allowCredentials?: boolean; + enabled?: boolean; + origins?: Array; + }; + https?: { + clusterIssuer?: string; + enabled: boolean; + forceRedirect?: boolean; + }; + rateLimit?: { + connections?: number; + enabled?: boolean; + rpm?: number; + rps?: number; + }; + routes?: Array<{ + app?: string; + lambda?: string; + path: string; + port: number; + rewrite?: boolean; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleUpdateConfigMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1812,8 +2755,9 @@ export type ConsoleUpdateConfigMutationVariables = Exact<{ config: ConfigIn; }>; - -export type ConsoleUpdateConfigMutation = { core_updateConfig?: { id: string } }; +export type ConsoleUpdateConfigMutation = { + core_updateConfig?: { id: string }; +}; export type ConsoleDeleteConfigMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1821,7 +2765,6 @@ export type ConsoleDeleteConfigMutationVariables = Exact<{ configName: Scalars['String']['input']; }>; - export type ConsoleDeleteConfigMutation = { core_deleteConfig: boolean }; export type ConsoleGetConfigQueryVariables = Exact<{ @@ -1830,8 +2773,25 @@ export type ConsoleGetConfigQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetConfigQuery = { core_getConfig?: { binaryData?: any, data?: any, displayName: string, environmentName: string, immutable?: boolean, projectName: string, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }; +export type ConsoleGetConfigQuery = { + core_getConfig?: { + binaryData?: any; + data?: any; + displayName: string; + environmentName: string; + immutable?: boolean; + projectName: string; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; +}; export type ConsoleListConfigsQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1840,8 +2800,41 @@ export type ConsoleListConfigsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListConfigsQuery = { core_listConfigs?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, data?: any, environmentName: string, immutable?: boolean, markedForDeletion?: boolean, projectName: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListConfigsQuery = { + core_listConfigs?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + data?: any; + environmentName: string; + immutable?: boolean; + markedForDeletion?: boolean; + projectName: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateConfigMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1849,8 +2842,9 @@ export type ConsoleCreateConfigMutationVariables = Exact<{ config: ConfigIn; }>; - -export type ConsoleCreateConfigMutation = { core_createConfig?: { id: string } }; +export type ConsoleCreateConfigMutation = { + core_createConfig?: { id: string }; +}; export type ConsoleListSecretsQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1859,8 +2853,42 @@ export type ConsoleListSecretsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListSecretsQuery = { core_listSecrets?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, stringData?: any, environmentName: string, immutable?: boolean, markedForDeletion?: boolean, projectName: string, type?: K8s__Io___Api___Core___V1__SecretType, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListSecretsQuery = { + core_listSecrets?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + stringData?: any; + environmentName: string; + immutable?: boolean; + markedForDeletion?: boolean; + projectName: string; + type?: K8s__Io___Api___Core___V1__SecretType; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateSecretMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1868,8 +2896,9 @@ export type ConsoleCreateSecretMutationVariables = Exact<{ secret: SecretIn; }>; - -export type ConsoleCreateSecretMutation = { core_createSecret?: { id: string } }; +export type ConsoleCreateSecretMutation = { + core_createSecret?: { id: string }; +}; export type ConsoleGetSecretQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1877,8 +2906,27 @@ export type ConsoleGetSecretQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetSecretQuery = { core_getSecret?: { data?: any, displayName: string, environmentName: string, immutable?: boolean, markedForDeletion?: boolean, projectName: string, stringData?: any, type?: K8s__Io___Api___Core___V1__SecretType, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }; +export type ConsoleGetSecretQuery = { + core_getSecret?: { + data?: any; + displayName: string; + environmentName: string; + immutable?: boolean; + markedForDeletion?: boolean; + projectName: string; + stringData?: any; + type?: K8s__Io___Api___Core___V1__SecretType; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; +}; export type ConsoleUpdateSecretMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1886,8 +2934,9 @@ export type ConsoleUpdateSecretMutationVariables = Exact<{ secret: SecretIn; }>; - -export type ConsoleUpdateSecretMutation = { core_updateSecret?: { id: string } }; +export type ConsoleUpdateSecretMutation = { + core_updateSecret?: { id: string }; +}; export type ConsoleDeleteSecretMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -1895,61 +2944,89 @@ export type ConsoleDeleteSecretMutationVariables = Exact<{ secretName: Scalars['String']['input']; }>; - export type ConsoleDeleteSecretMutation = { core_deleteSecret: boolean }; export type ConsoleListInvitationsForAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type ConsoleListInvitationsForAccountQuery = { accounts_listInvitations?: Array<{ accepted?: boolean, accountName: string, creationTime: any, id: string, inviteToken: string, invitedBy: string, markedForDeletion?: boolean, recordVersion: number, rejected?: boolean, updateTime: any, userEmail?: string, userName?: string, userRole: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role }> }; +export type ConsoleListInvitationsForAccountQuery = { + accounts_listInvitations?: Array<{ + accepted?: boolean; + accountName: string; + creationTime: any; + id: string; + inviteToken: string; + invitedBy: string; + markedForDeletion?: boolean; + recordVersion: number; + rejected?: boolean; + updateTime: any; + userEmail?: string; + userName?: string; + userRole: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; + }>; +}; export type ConsoleListMembershipsForAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type ConsoleListMembershipsForAccountQuery = { accounts_listMembershipsForAccount?: Array<{ role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role, user: { verified: boolean, name: string, joined: any, email: string } }> }; +export type ConsoleListMembershipsForAccountQuery = { + accounts_listMembershipsForAccount?: Array<{ + role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; + user: { verified: boolean; name: string; joined: any; email: string }; + }>; +}; export type ConsoleDeleteAccountInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; invitationId: Scalars['String']['input']; }>; - -export type ConsoleDeleteAccountInvitationMutation = { accounts_deleteInvitation: boolean }; +export type ConsoleDeleteAccountInvitationMutation = { + accounts_deleteInvitation: boolean; +}; export type ConsoleInviteMembersForAccountMutationVariables = Exact<{ accountName: Scalars['String']['input']; invitations: Array | InvitationIn; }>; - -export type ConsoleInviteMembersForAccountMutation = { accounts_inviteMembers?: Array<{ id: string }> }; +export type ConsoleInviteMembersForAccountMutation = { + accounts_inviteMembers?: Array<{ id: string }>; +}; export type ConsoleListInvitationsForUserQueryVariables = Exact<{ onlyPending: Scalars['Boolean']['input']; }>; - -export type ConsoleListInvitationsForUserQuery = { accounts_listInvitationsForUser?: Array<{ accountName: string, id: string, updateTime: any, inviteToken: string }> }; +export type ConsoleListInvitationsForUserQuery = { + accounts_listInvitationsForUser?: Array<{ + accountName: string; + id: string; + updateTime: any; + inviteToken: string; + }>; +}; export type ConsoleAcceptInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; inviteToken: Scalars['String']['input']; }>; - -export type ConsoleAcceptInvitationMutation = { accounts_acceptInvitation: boolean }; +export type ConsoleAcceptInvitationMutation = { + accounts_acceptInvitation: boolean; +}; export type ConsoleRejectInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; inviteToken: Scalars['String']['input']; }>; - -export type ConsoleRejectInvitationMutation = { accounts_rejectInvitation: boolean }; +export type ConsoleRejectInvitationMutation = { + accounts_rejectInvitation: boolean; +}; export type ConsoleUpdateAccountMembershipMutationVariables = Exact<{ accountName: Scalars['String']['input']; @@ -1957,22 +3034,23 @@ export type ConsoleUpdateAccountMembershipMutationVariables = Exact<{ role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; }>; - -export type ConsoleUpdateAccountMembershipMutation = { accounts_updateAccountMembership: boolean }; +export type ConsoleUpdateAccountMembershipMutation = { + accounts_updateAccountMembership: boolean; +}; export type ConsoleDeleteAccountMembershipMutationVariables = Exact<{ accountName: Scalars['String']['input']; memberId: Scalars['ID']['input']; }>; - -export type ConsoleDeleteAccountMembershipMutation = { accounts_removeAccountMembership: boolean }; +export type ConsoleDeleteAccountMembershipMutation = { + accounts_removeAccountMembership: boolean; +}; export type ConsoleGetCredTokenQueryVariables = Exact<{ username: Scalars['String']['input']; }>; - export type ConsoleGetCredTokenQuery = { cr_getCredToken: string }; export type ConsoleListCredQueryVariables = Exact<{ @@ -1980,21 +3058,48 @@ export type ConsoleListCredQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListCredQuery = { cr_listCreds?: { totalCount: number, edges: Array<{ cursor: string, node: { access: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess, accountName: string, creationTime: any, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, username: string, createdBy: { userEmail: string, userId: string, userName: string }, expiration: { unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit, value: number }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListCredQuery = { + cr_listCreds?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + access: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess; + accountName: string; + creationTime: any; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + username: string; + createdBy: { userEmail: string; userId: string; userName: string }; + expiration: { + unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit; + value: number; + }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateCredMutationVariables = Exact<{ credential: CredentialIn; }>; - export type ConsoleCreateCredMutation = { cr_createCred?: { id: string } }; export type ConsoleDeleteCredMutationVariables = Exact<{ username: Scalars['String']['input']; }>; - export type ConsoleDeleteCredMutation = { cr_deleteCred: boolean }; export type ConsoleListRepoQueryVariables = Exact<{ @@ -2002,21 +3107,42 @@ export type ConsoleListRepoQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListRepoQuery = { cr_listRepos?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationTime: any, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListRepoQuery = { + cr_listRepos?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationTime: any; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateRepoMutationVariables = Exact<{ repository: RepositoryIn; }>; - export type ConsoleCreateRepoMutation = { cr_createRepo?: { id: string } }; export type ConsoleDeleteRepoMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type ConsoleDeleteRepoMutation = { cr_deleteRepo: boolean }; export type ConsoleListDigestQueryVariables = Exact<{ @@ -2025,49 +3151,98 @@ export type ConsoleListDigestQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListDigestQuery = { cr_listDigests?: { totalCount: number, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string }, edges: Array<{ cursor: string, node: { url: string, updateTime: any, tags: Array, size: number, repository: string, digest: string, creationTime: any } }> } }; +export type ConsoleListDigestQuery = { + cr_listDigests?: { + totalCount: number; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + url: string; + updateTime: any; + tags: Array; + size: number; + repository: string; + digest: string; + creationTime: any; + }; + }>; + }; +}; export type ConsoleDeleteDigestMutationVariables = Exact<{ repoName: Scalars['String']['input']; digest: Scalars['String']['input']; }>; - export type ConsoleDeleteDigestMutation = { cr_deleteDigest: boolean }; -export type ConsoleGetLoginsQueryVariables = Exact<{ [key: string]: never; }>; - +export type ConsoleGetLoginsQueryVariables = Exact<{ [key: string]: never }>; -export type ConsoleGetLoginsQuery = { auth_me?: { providerGithub?: any, providerGitlab?: any } }; - -export type ConsoleLoginUrlsQueryVariables = Exact<{ [key: string]: never; }>; +export type ConsoleGetLoginsQuery = { + auth_me?: { providerGithub?: any; providerGitlab?: any }; +}; +export type ConsoleLoginUrlsQueryVariables = Exact<{ [key: string]: never }>; -export type ConsoleLoginUrlsQuery = { githubLoginUrl: any, gitlabLoginUrl: any }; +export type ConsoleLoginUrlsQuery = { + githubLoginUrl: any; + gitlabLoginUrl: any; +}; export type ConsoleListGithubReposQueryVariables = Exact<{ installationId: Scalars['Int']['input']; pagination?: InputMaybe; }>; - -export type ConsoleListGithubReposQuery = { cr_listGithubRepos?: { totalCount?: number, repositories: Array<{ cloneUrl?: string, defaultBranch?: string, fullName?: string, private?: boolean, updatedAt?: any }> } }; +export type ConsoleListGithubReposQuery = { + cr_listGithubRepos?: { + totalCount?: number; + repositories: Array<{ + cloneUrl?: string; + defaultBranch?: string; + fullName?: string; + private?: boolean; + updatedAt?: any; + }>; + }; +}; export type ConsoleListGithubInstalltionsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListGithubInstalltionsQuery = { cr_listGithubInstallations?: Array<{ appId?: number, id?: number, nodeId?: string, repositoriesUrl?: string, targetId?: number, targetType?: string, account?: { avatarUrl?: string, id?: number, login?: string, nodeId?: string, type?: string } }> }; +export type ConsoleListGithubInstalltionsQuery = { + cr_listGithubInstallations?: Array<{ + appId?: number; + id?: number; + nodeId?: string; + repositoriesUrl?: string; + targetId?: number; + targetType?: string; + account?: { + avatarUrl?: string; + id?: number; + login?: string; + nodeId?: string; + type?: string; + }; + }>; +}; export type ConsoleListGithubBranchesQueryVariables = Exact<{ repoUrl: Scalars['String']['input']; pagination?: InputMaybe; }>; - -export type ConsoleListGithubBranchesQuery = { cr_listGithubBranches?: Array<{ name?: string }> }; +export type ConsoleListGithubBranchesQuery = { + cr_listGithubBranches?: Array<{ name?: string }>; +}; export type ConsoleSearchGithubReposQueryVariables = Exact<{ organization: Scalars['String']['input']; @@ -2075,16 +3250,26 @@ export type ConsoleSearchGithubReposQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleSearchGithubReposQuery = { cr_searchGithubRepos?: { repositories: Array<{ cloneUrl?: string, defaultBranch?: string, fullName?: string, private?: boolean, updatedAt?: any }> } }; +export type ConsoleSearchGithubReposQuery = { + cr_searchGithubRepos?: { + repositories: Array<{ + cloneUrl?: string; + defaultBranch?: string; + fullName?: string; + private?: boolean; + updatedAt?: any; + }>; + }; +}; export type ConsoleListGitlabGroupsQueryVariables = Exact<{ query?: InputMaybe; pagination?: InputMaybe; }>; - -export type ConsoleListGitlabGroupsQuery = { cr_listGitlabGroups?: Array<{ fullName: string, id: string }> }; +export type ConsoleListGitlabGroupsQuery = { + cr_listGitlabGroups?: Array<{ fullName: string; id: string }>; +}; export type ConsoleListGitlabReposQueryVariables = Exact<{ query?: InputMaybe; @@ -2092,8 +3277,15 @@ export type ConsoleListGitlabReposQueryVariables = Exact<{ groupId: Scalars['String']['input']; }>; - -export type ConsoleListGitlabReposQuery = { cr_listGitlabRepositories?: Array<{ createdAt?: any, name: string, id: number, public: boolean, httpUrlToRepo: string }> }; +export type ConsoleListGitlabReposQuery = { + cr_listGitlabRepositories?: Array<{ + createdAt?: any; + name: string; + id: number; + public: boolean; + httpUrlToRepo: string; + }>; +}; export type ConsoleListGitlabBranchesQueryVariables = Exact<{ repoId: Scalars['String']['input']; @@ -2101,35 +3293,47 @@ export type ConsoleListGitlabBranchesQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListGitlabBranchesQuery = { cr_listGitlabBranches?: Array<{ name?: string, protected?: boolean }> }; +export type ConsoleListGitlabBranchesQuery = { + cr_listGitlabBranches?: Array<{ name?: string; protected?: boolean }>; +}; export type ConsoleGetDomainQueryVariables = Exact<{ domainName: Scalars['String']['input']; }>; - -export type ConsoleGetDomainQuery = { infra_getDomainEntry?: { updateTime: any, id: string, domainName: string, displayName: string, creationTime: any, clusterName: string, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, createdBy: { userEmail: string, userId: string, userName: string } } }; +export type ConsoleGetDomainQuery = { + infra_getDomainEntry?: { + updateTime: any; + id: string; + domainName: string; + displayName: string; + creationTime: any; + clusterName: string; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + }; +}; export type ConsoleCreateDomainMutationVariables = Exact<{ domainEntry: DomainEntryIn; }>; - -export type ConsoleCreateDomainMutation = { infra_createDomainEntry?: { id: string } }; +export type ConsoleCreateDomainMutation = { + infra_createDomainEntry?: { id: string }; +}; export type ConsoleUpdateDomainMutationVariables = Exact<{ domainEntry: DomainEntryIn; }>; - -export type ConsoleUpdateDomainMutation = { infra_updateDomainEntry?: { id: string } }; +export type ConsoleUpdateDomainMutation = { + infra_updateDomainEntry?: { id: string }; +}; export type ConsoleDeleteDomainMutationVariables = Exact<{ domainName: Scalars['String']['input']; }>; - export type ConsoleDeleteDomainMutation = { infra_deleteDomainEntry: boolean }; export type ConsoleListDomainsQueryVariables = Exact<{ @@ -2137,8 +3341,29 @@ export type ConsoleListDomainsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListDomainsQuery = { infra_listDomainEntries?: { totalCount: number, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string }, edges: Array<{ cursor: string, node: { updateTime: any, id: string, domainName: string, displayName: string, creationTime: any, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, createdBy: { userEmail: string, userId: string, userName: string } } }> } }; +export type ConsoleListDomainsQuery = { + infra_listDomainEntries?: { + totalCount: number; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + updateTime: any; + id: string; + domainName: string; + displayName: string; + creationTime: any; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + }; +}; export type ConsoleListBuildsQueryVariables = Exact<{ repoName: Scalars['String']['input']; @@ -2146,14 +3371,58 @@ export type ConsoleListBuildsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListBuildsQuery = { cr_listBuilds?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, buildClusterName: string, errorMessages: any, id: string, markedForDeletion?: boolean, name: string, status: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, credUser: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, source: { branch: string, provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider, repository: string, webhookId?: number }, spec: { accountName: string, cacheKeyName?: string, buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListBuildsQuery = { + cr_listBuilds?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + buildClusterName: string; + errorMessages: any; + id: string; + markedForDeletion?: boolean; + name: string; + status: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + credUser: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + source: { + branch: string; + provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; + repository: string; + webhookId?: number; + }; + spec: { + accountName: string; + cacheKeyName?: string; + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateBuildMutationVariables = Exact<{ build: BuildIn; }>; - export type ConsoleCreateBuildMutation = { cr_addBuild?: { id: string } }; export type ConsoleUpdateBuildMutationVariables = Exact<{ @@ -2161,14 +3430,12 @@ export type ConsoleUpdateBuildMutationVariables = Exact<{ build: BuildIn; }>; - export type ConsoleUpdateBuildMutation = { cr_updateBuild?: { id: string } }; export type ConsoleDeleteBuildMutationVariables = Exact<{ crDeleteBuildId: Scalars['ID']['input']; }>; - export type ConsoleDeleteBuildMutation = { cr_deleteBuild: boolean }; export type ConsoleListBuildCachesQueryVariables = Exact<{ @@ -2176,38 +3443,118 @@ export type ConsoleListBuildCachesQueryVariables = Exact<{ search?: InputMaybe; }>; - -export type ConsoleListBuildCachesQuery = { cr_listBuildCacheKeys?: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, creationTime: any, displayName: string, name: string, updateTime: any, volumeSizeInGB: number, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListBuildCachesQuery = { + cr_listBuildCacheKeys?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + id: string; + creationTime: any; + displayName: string; + name: string; + updateTime: any; + volumeSizeInGB: number; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateBuildCacheMutationVariables = Exact<{ buildCacheKey: BuildCacheKeyIn; }>; - -export type ConsoleCreateBuildCacheMutation = { cr_addBuildCacheKey?: { id: string } }; +export type ConsoleCreateBuildCacheMutation = { + cr_addBuildCacheKey?: { id: string }; +}; export type ConsoleUpdateBuildCachesMutationVariables = Exact<{ crUpdateBuildCacheKeyId: Scalars['ID']['input']; buildCacheKey: BuildCacheKeyIn; }>; - -export type ConsoleUpdateBuildCachesMutation = { cr_updateBuildCacheKey?: { id: string } }; +export type ConsoleUpdateBuildCachesMutation = { + cr_updateBuildCacheKey?: { id: string }; +}; export type ConsoleDeleteBuildCacheMutationVariables = Exact<{ crDeleteBuildCacheKeyId: Scalars['ID']['input']; }>; - -export type ConsoleDeleteBuildCacheMutation = { cr_deleteBuildCacheKey: boolean }; +export type ConsoleDeleteBuildCacheMutation = { + cr_deleteBuildCacheKey: boolean; +}; export type ConsoleGetPvcQueryVariables = Exact<{ clusterName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetPvcQuery = { infra_getPVC?: { clusterName: string, creationTime: any, markedForDeletion?: boolean, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accessModes?: Array, storageClassName?: string, volumeMode?: string, volumeName?: string, dataSource?: { apiGroup?: string, kind: string, name: string }, dataSourceRef?: { apiGroup?: string, kind: string, name: string, namespace?: string }, resources?: { limits?: any, requests?: any, claims?: Array<{ name: string }> }, selector?: { matchLabels?: any, matchExpressions?: Array<{ key: string, operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator, values?: Array }> } }, status?: { accessModes?: Array, allocatedResources?: any, capacity?: any, phase?: K8s__Io___Api___Core___V1__PersistentVolumeClaimPhase, conditions?: Array<{ lastProbeTime?: any, lastTransitionTime?: any, message?: string, reason?: string, status: K8s__Io___Api___Core___V1__ConditionStatus, type: K8s__Io___Api___Core___V1__PersistentVolumeClaimConditionType }> } } }; +export type ConsoleGetPvcQuery = { + infra_getPVC?: { + clusterName: string; + creationTime: any; + markedForDeletion?: boolean; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accessModes?: Array; + storageClassName?: string; + volumeMode?: string; + volumeName?: string; + dataSource?: { apiGroup?: string; kind: string; name: string }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: any; + requests?: any; + claims?: Array<{ name: string }>; + }; + selector?: { + matchLabels?: any; + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: Array; + }>; + }; + }; + status?: { + accessModes?: Array; + allocatedResources?: any; + capacity?: any; + phase?: K8s__Io___Api___Core___V1__PersistentVolumeClaimPhase; + conditions?: Array<{ + lastProbeTime?: any; + lastTransitionTime?: any; + message?: string; + reason?: string; + status: K8s__Io___Api___Core___V1__ConditionStatus; + type: K8s__Io___Api___Core___V1__PersistentVolumeClaimConditionType; + }>; + }; + }; +}; export type ConsoleListPvcsQueryVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -2215,16 +3562,278 @@ export type ConsoleListPvcsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListPvcsQuery = { infra_listPVCs?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, id: string, markedForDeletion?: boolean, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accessModes?: Array, storageClassName?: string, volumeMode?: string, volumeName?: string, dataSource?: { apiGroup?: string, kind: string, name: string }, dataSourceRef?: { apiGroup?: string, kind: string, name: string, namespace?: string }, resources?: { limits?: any, requests?: any, claims?: Array<{ name: string }> }, selector?: { matchLabels?: any, matchExpressions?: Array<{ key: string, operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator, values?: Array }> } }, status?: { accessModes?: Array, allocatedResources?: any, capacity?: any, phase?: K8s__Io___Api___Core___V1__PersistentVolumeClaimPhase, conditions?: Array<{ lastProbeTime?: any, lastTransitionTime?: any, message?: string, reason?: string, status: K8s__Io___Api___Core___V1__ConditionStatus, type: K8s__Io___Api___Core___V1__PersistentVolumeClaimConditionType }> } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListPvcsQuery = { + infra_listPVCs?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + id: string; + markedForDeletion?: boolean; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accessModes?: Array; + storageClassName?: string; + volumeMode?: string; + volumeName?: string; + dataSource?: { apiGroup?: string; kind: string; name: string }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: any; + requests?: any; + claims?: Array<{ name: string }>; + }; + selector?: { + matchLabels?: any; + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: Array; + }>; + }; + }; + status?: { + accessModes?: Array; + allocatedResources?: any; + capacity?: any; + phase?: K8s__Io___Api___Core___V1__PersistentVolumeClaimPhase; + conditions?: Array<{ + lastProbeTime?: any; + lastTransitionTime?: any; + message?: string; + reason?: string; + status: K8s__Io___Api___Core___V1__ConditionStatus; + type: K8s__Io___Api___Core___V1__PersistentVolumeClaimConditionType; + }>; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleGetPvQueryVariables = Exact<{ clusterName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetPvQuery = { infra_getPV?: { clusterName: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accessModes?: Array, capacity?: any, mountOptions?: Array, persistentVolumeReclaimPolicy?: K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy, storageClassName?: string, volumeMode?: string, awsElasticBlockStore?: { fsType?: string, partition?: number, readOnly?: boolean, volumeID: string }, azureDisk?: { cachingMode?: string, diskName: string, diskURI: string, fsType?: string, kind?: string, readOnly?: boolean }, azureFile?: { readOnly?: boolean, secretName: string, secretNamespace?: string, shareName: string }, cephfs?: { monitors: Array, path?: string, readOnly?: boolean, secretFile?: string, user?: string, secretRef?: { name?: string, namespace?: string } }, cinder?: { fsType?: string, readOnly?: boolean, volumeID: string }, claimRef?: { apiVersion?: string, fieldPath?: string, kind?: string, name?: string, namespace?: string, resourceVersion?: string, uid?: string }, csi?: { driver: string, fsType?: string, readOnly?: boolean, volumeAttributes?: any, volumeHandle: string, controllerExpandSecretRef?: { name?: string, namespace?: string }, controllerPublishSecretRef?: { name?: string, namespace?: string }, nodeExpandSecretRef?: { name?: string, namespace?: string }, nodePublishSecretRef?: { name?: string, namespace?: string }, nodeStageSecretRef?: { name?: string, namespace?: string } }, fc?: { fsType?: string, lun?: number, readOnly?: boolean, targetWWNs?: Array, wwids?: Array }, flexVolume?: { driver: string, fsType?: string, options?: any, readOnly?: boolean }, flocker?: { datasetName?: string, datasetUUID?: string }, gcePersistentDisk?: { fsType?: string, partition?: number, pdName: string, readOnly?: boolean }, glusterfs?: { endpoints: string, endpointsNamespace?: string, path: string, readOnly?: boolean }, hostPath?: { path: string, type?: string }, iscsi?: { chapAuthDiscovery?: boolean, chapAuthSession?: boolean, fsType?: string, initiatorName?: string, iqn: string, iscsiInterface?: string, lun: number, portals?: Array, readOnly?: boolean, targetPortal: string }, local?: { fsType?: string, path: string }, nfs?: { path: string, readOnly?: boolean, server: string }, nodeAffinity?: { required?: { nodeSelectorTerms: Array<{ matchExpressions?: Array<{ key: string, operator: K8s__Io___Api___Core___V1__NodeSelectorOperator, values?: Array }>, matchFields?: Array<{ key: string, operator: K8s__Io___Api___Core___V1__NodeSelectorOperator, values?: Array }> }> } }, photonPersistentDisk?: { fsType?: string, pdID: string }, portworxVolume?: { fsType?: string, readOnly?: boolean, volumeID: string }, quobyte?: { group?: string, readOnly?: boolean, registry: string, tenant?: string, user?: string, volume: string }, rbd?: { fsType?: string, image: string, keyring?: string, monitors: Array, pool?: string, readOnly?: boolean, user?: string }, scaleIO?: { fsType?: string, gateway: string, protectionDomain?: string, readOnly?: boolean, sslEnabled?: boolean, storageMode?: string, storagePool?: string, system: string, volumeName?: string }, storageos?: { fsType?: string, readOnly?: boolean, volumeName?: string, volumeNamespace?: string, secretRef?: { apiVersion?: string, fieldPath?: string, kind?: string, name?: string, namespace?: string, resourceVersion?: string, uid?: string } }, vsphereVolume?: { fsType?: string, storagePolicyID?: string, storagePolicyName?: string, volumePath: string } }, status?: { lastPhaseTransitionTime?: any, message?: string, phase?: K8s__Io___Api___Core___V1__PersistentVolumePhase, reason?: string } } }; +export type ConsoleGetPvQuery = { + infra_getPV?: { + clusterName: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accessModes?: Array; + capacity?: any; + mountOptions?: Array; + persistentVolumeReclaimPolicy?: K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy; + storageClassName?: string; + volumeMode?: string; + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + secretNamespace?: string; + shareName: string; + }; + cephfs?: { + monitors: Array; + path?: string; + readOnly?: boolean; + secretFile?: string; + user?: string; + secretRef?: { name?: string; namespace?: string }; + }; + cinder?: { fsType?: string; readOnly?: boolean; volumeID: string }; + claimRef?: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + csi?: { + driver: string; + fsType?: string; + readOnly?: boolean; + volumeAttributes?: any; + volumeHandle: string; + controllerExpandSecretRef?: { name?: string; namespace?: string }; + controllerPublishSecretRef?: { name?: string; namespace?: string }; + nodeExpandSecretRef?: { name?: string; namespace?: string }; + nodePublishSecretRef?: { name?: string; namespace?: string }; + nodeStageSecretRef?: { name?: string; namespace?: string }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: Array; + wwids?: Array; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: any; + readOnly?: boolean; + }; + flocker?: { datasetName?: string; datasetUUID?: string }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + glusterfs?: { + endpoints: string; + endpointsNamespace?: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { path: string; type?: string }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: Array; + readOnly?: boolean; + targetPortal: string; + }; + local?: { fsType?: string; path: string }; + nfs?: { path: string; readOnly?: boolean; server: string }; + nodeAffinity?: { + required?: { + nodeSelectorTerms: Array<{ + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Api___Core___V1__NodeSelectorOperator; + values?: Array; + }>; + matchFields?: Array<{ + key: string; + operator: K8s__Io___Api___Core___V1__NodeSelectorOperator; + values?: Array; + }>; + }>; + }; + }; + photonPersistentDisk?: { fsType?: string; pdID: string }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: Array; + pool?: string; + readOnly?: boolean; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + volumeName?: string; + volumeNamespace?: string; + secretRef?: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }; + status?: { + lastPhaseTransitionTime?: any; + message?: string; + phase?: K8s__Io___Api___Core___V1__PersistentVolumePhase; + reason?: string; + }; + }; +}; export type ConsoleListPvsQueryVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -2232,15 +3841,205 @@ export type ConsoleListPvsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListPvsQuery = { infra_listPVs?: { totalCount: number, edges: Array<{ cursor: string, node: { clusterName: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accessModes?: Array, capacity?: any, mountOptions?: Array, persistentVolumeReclaimPolicy?: K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy, storageClassName?: string, volumeMode?: string, awsElasticBlockStore?: { fsType?: string, partition?: number, readOnly?: boolean, volumeID: string }, azureDisk?: { cachingMode?: string, diskName: string, diskURI: string, fsType?: string, kind?: string, readOnly?: boolean }, azureFile?: { readOnly?: boolean, secretName: string, secretNamespace?: string, shareName: string }, cephfs?: { monitors: Array, path?: string, readOnly?: boolean, secretFile?: string, user?: string, secretRef?: { name?: string, namespace?: string } }, cinder?: { fsType?: string, readOnly?: boolean, volumeID: string }, claimRef?: { apiVersion?: string, fieldPath?: string, kind?: string, name?: string, namespace?: string, resourceVersion?: string, uid?: string }, csi?: { driver: string, fsType?: string, readOnly?: boolean, volumeAttributes?: any, volumeHandle: string, controllerExpandSecretRef?: { name?: string, namespace?: string }, controllerPublishSecretRef?: { name?: string, namespace?: string }, nodeExpandSecretRef?: { name?: string, namespace?: string }, nodePublishSecretRef?: { name?: string, namespace?: string }, nodeStageSecretRef?: { name?: string, namespace?: string } }, fc?: { fsType?: string, lun?: number, readOnly?: boolean, targetWWNs?: Array, wwids?: Array }, flexVolume?: { driver: string, fsType?: string, options?: any, readOnly?: boolean }, flocker?: { datasetName?: string, datasetUUID?: string }, gcePersistentDisk?: { fsType?: string, partition?: number, pdName: string, readOnly?: boolean }, glusterfs?: { endpoints: string, endpointsNamespace?: string, path: string, readOnly?: boolean }, hostPath?: { path: string, type?: string }, iscsi?: { chapAuthDiscovery?: boolean, chapAuthSession?: boolean, fsType?: string, initiatorName?: string, iqn: string, iscsiInterface?: string, lun: number, portals?: Array, readOnly?: boolean, targetPortal: string }, local?: { fsType?: string, path: string }, nfs?: { path: string, readOnly?: boolean, server: string }, photonPersistentDisk?: { fsType?: string, pdID: string }, portworxVolume?: { fsType?: string, readOnly?: boolean, volumeID: string }, quobyte?: { group?: string, readOnly?: boolean, registry: string, tenant?: string, user?: string, volume: string }, rbd?: { fsType?: string, image: string, keyring?: string, monitors: Array, pool?: string, readOnly?: boolean, user?: string }, scaleIO?: { fsType?: string, gateway: string, protectionDomain?: string, readOnly?: boolean, sslEnabled?: boolean, storageMode?: string, storagePool?: string, system: string, volumeName?: string }, storageos?: { fsType?: string, readOnly?: boolean, volumeName?: string, volumeNamespace?: string, secretRef?: { apiVersion?: string, fieldPath?: string, kind?: string, name?: string, namespace?: string, resourceVersion?: string, uid?: string } }, vsphereVolume?: { fsType?: string, storagePolicyID?: string, storagePolicyName?: string, volumePath: string } }, status?: { lastPhaseTransitionTime?: any, message?: string, phase?: K8s__Io___Api___Core___V1__PersistentVolumePhase, reason?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListPvsQuery = { + infra_listPVs?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + clusterName: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accessModes?: Array; + capacity?: any; + mountOptions?: Array; + persistentVolumeReclaimPolicy?: K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy; + storageClassName?: string; + volumeMode?: string; + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + secretNamespace?: string; + shareName: string; + }; + cephfs?: { + monitors: Array; + path?: string; + readOnly?: boolean; + secretFile?: string; + user?: string; + secretRef?: { name?: string; namespace?: string }; + }; + cinder?: { fsType?: string; readOnly?: boolean; volumeID: string }; + claimRef?: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + csi?: { + driver: string; + fsType?: string; + readOnly?: boolean; + volumeAttributes?: any; + volumeHandle: string; + controllerExpandSecretRef?: { name?: string; namespace?: string }; + controllerPublishSecretRef?: { name?: string; namespace?: string }; + nodeExpandSecretRef?: { name?: string; namespace?: string }; + nodePublishSecretRef?: { name?: string; namespace?: string }; + nodeStageSecretRef?: { name?: string; namespace?: string }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: Array; + wwids?: Array; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: any; + readOnly?: boolean; + }; + flocker?: { datasetName?: string; datasetUUID?: string }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + glusterfs?: { + endpoints: string; + endpointsNamespace?: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { path: string; type?: string }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: Array; + readOnly?: boolean; + targetPortal: string; + }; + local?: { fsType?: string; path: string }; + nfs?: { path: string; readOnly?: boolean; server: string }; + photonPersistentDisk?: { fsType?: string; pdID: string }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: Array; + pool?: string; + readOnly?: boolean; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + volumeName?: string; + volumeNamespace?: string; + secretRef?: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }; + status?: { + lastPhaseTransitionTime?: any; + message?: string; + phase?: K8s__Io___Api___Core___V1__PersistentVolumePhase; + reason?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeletePvMutationVariables = Exact<{ clusterName: Scalars['String']['input']; pvName: Scalars['String']['input']; }>; - export type ConsoleDeletePvMutation = { infra_deletePV: boolean }; export type ConsoleListBuildRunsQueryVariables = Exact<{ @@ -2249,79 +4048,275 @@ export type ConsoleListBuildRunsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListBuildRunsQuery = { cr_listBuildRuns?: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, clusterName: string, creationTime: any, markedForDeletion?: boolean, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accountName: string, cacheKeyName?: string, buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListBuildRunsQuery = { + cr_listBuildRuns?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + id: string; + clusterName: string; + creationTime: any; + markedForDeletion?: boolean; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accountName: string; + cacheKeyName?: string; + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleGetBuildRunQueryVariables = Exact<{ repoName: Scalars['String']['input']; buildRunName: Scalars['String']['input']; }>; - -export type ConsoleGetBuildRunQuery = { cr_getBuildRun?: { clusterName: string, creationTime: any, markedForDeletion?: boolean, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accountName: string, cacheKeyName?: string, buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetBuildRunQuery = { + cr_getBuildRun?: { + clusterName: string; + creationTime: any; + markedForDeletion?: boolean; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accountName: string; + cacheKeyName?: string; + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleGetClusterMSvQueryVariables = Exact<{ clusterName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetClusterMSvQuery = { infra_getClusterManagedService?: { clusterName: string, displayName: string, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { targetNamespace: string, msvcSpec: { serviceTemplate: { apiVersion: string, kind: string, spec: any } } } } }; +export type ConsoleGetClusterMSvQuery = { + infra_getClusterManagedService?: { + clusterName: string; + displayName: string; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + targetNamespace: string; + msvcSpec: { + serviceTemplate: { apiVersion: string; kind: string; spec: any }; + }; + }; + }; +}; export type ConsoleCreateClusterMSvMutationVariables = Exact<{ clusterName: Scalars['String']['input']; service: ClusterManagedServiceIn; }>; - -export type ConsoleCreateClusterMSvMutation = { infra_createClusterManagedService?: { id: string } }; +export type ConsoleCreateClusterMSvMutation = { + infra_createClusterManagedService?: { id: string }; +}; export type ConsoleUpdateClusterMSvMutationVariables = Exact<{ clusterName: Scalars['String']['input']; service: ClusterManagedServiceIn; }>; - -export type ConsoleUpdateClusterMSvMutation = { infra_updateClusterManagedService?: { id: string } }; +export type ConsoleUpdateClusterMSvMutation = { + infra_updateClusterManagedService?: { id: string }; +}; export type ConsoleListClusterMSvsQueryVariables = Exact<{ clusterName: Scalars['String']['input']; }>; - -export type ConsoleListClusterMSvsQuery = { infra_listClusterManagedServices?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { name: string }, spec?: { msvcSpec: { serviceTemplate: { apiVersion: string, kind: string, spec: any } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListClusterMSvsQuery = { + infra_listClusterManagedServices?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { name: string }; + spec?: { + msvcSpec: { + serviceTemplate: { apiVersion: string; kind: string; spec: any }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeleteClusterMSvMutationVariables = Exact<{ clusterName: Scalars['String']['input']; serviceName: Scalars['String']['input']; }>; - -export type ConsoleDeleteClusterMSvMutation = { infra_deleteClusterManagedService: boolean }; +export type ConsoleDeleteClusterMSvMutation = { + infra_deleteClusterManagedService: boolean; +}; export type ConsoleGetProjectMSvQueryVariables = Exact<{ projectName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetProjectMSvQuery = { core_getProjectManagedService?: { creationTime: any, displayName: string, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { targetNamespace: string, msvcSpec: { serviceTemplate: { apiVersion: string, kind: string, spec: any } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetProjectMSvQuery = { + core_getProjectManagedService?: { + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + targetNamespace: string; + msvcSpec: { + serviceTemplate: { apiVersion: string; kind: string; spec: any }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleCreateProjectMSvMutationVariables = Exact<{ projectName: Scalars['String']['input']; pmsvc: ProjectManagedServiceIn; }>; - -export type ConsoleCreateProjectMSvMutation = { core_createProjectManagedService?: { id: string } }; +export type ConsoleCreateProjectMSvMutation = { + core_createProjectManagedService?: { id: string }; +}; export type ConsoleUpdateProjectMSvMutationVariables = Exact<{ projectName: Scalars['String']['input']; pmsvc: ProjectManagedServiceIn; }>; - -export type ConsoleUpdateProjectMSvMutation = { core_updateProjectManagedService?: { id: string } }; +export type ConsoleUpdateProjectMSvMutation = { + core_updateProjectManagedService?: { id: string }; +}; export type ConsoleListProjectMSvsQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2329,29 +4324,176 @@ export type ConsoleListProjectMSvsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListProjectMSvsQuery = { core_listProjectManagedServices?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, markedForDeletion?: boolean, projectName: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { targetNamespace: string, msvcSpec: { serviceTemplate: { apiVersion: string, kind: string, spec: any } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListProjectMSvsQuery = { + core_listProjectManagedServices?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + projectName: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + targetNamespace: string; + msvcSpec: { + serviceTemplate: { apiVersion: string; kind: string; spec: any }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeleteProjectMSvMutationVariables = Exact<{ projectName: Scalars['String']['input']; pmsvcName: Scalars['String']['input']; }>; - -export type ConsoleDeleteProjectMSvMutation = { core_deleteProjectManagedService: boolean }; +export type ConsoleDeleteProjectMSvMutation = { + core_deleteProjectManagedService: boolean; +}; export type ConsoleGetMSvTemplateQueryVariables = Exact<{ category: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetMSvTemplateQuery = { infra_getManagedServiceTemplate?: { active: boolean, apiVersion?: string, description: string, displayName: string, kind?: string, logoUrl: string, name: string, fields: Array<{ defaultValue?: any, inputType: string, label: string, max?: number, min?: number, name: string, required?: boolean, unit?: string, displayUnit?: string, multiplier?: number }>, outputs: Array<{ description: string, label: string, name: string }>, resources: Array<{ apiVersion?: string, description: string, displayName: string, kind?: string, name: string, fields: Array<{ defaultValue?: any, displayUnit?: string, inputType: string, label: string, max?: number, min?: number, multiplier?: number, name: string, required?: boolean, unit?: string }> }> } }; - -export type ConsoleListMSvTemplatesQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ConsoleListMSvTemplatesQuery = { infra_listManagedServiceTemplates?: Array<{ category: string, displayName: string, items: Array<{ active: boolean, apiVersion?: string, description: string, displayName: string, kind?: string, logoUrl: string, name: string, fields: Array<{ defaultValue?: any, inputType: string, label: string, max?: number, min?: number, name: string, required?: boolean, unit?: string, displayUnit?: string, multiplier?: number }>, outputs: Array<{ description: string, label: string, name: string }>, resources: Array<{ apiVersion?: string, description: string, displayName: string, kind?: string, name: string, fields: Array<{ defaultValue?: any, displayUnit?: string, inputType: string, label: string, max?: number, min?: number, multiplier?: number, name: string, required?: boolean, unit?: string }> }> }> }> }; +export type ConsoleGetMSvTemplateQuery = { + infra_getManagedServiceTemplate?: { + active: boolean; + apiVersion?: string; + description: string; + displayName: string; + kind?: string; + logoUrl: string; + name: string; + fields: Array<{ + defaultValue?: any; + inputType: string; + label: string; + max?: number; + min?: number; + name: string; + required?: boolean; + unit?: string; + displayUnit?: string; + multiplier?: number; + }>; + outputs: Array<{ description: string; label: string; name: string }>; + resources: Array<{ + apiVersion?: string; + description: string; + displayName: string; + kind?: string; + name: string; + fields: Array<{ + defaultValue?: any; + displayUnit?: string; + inputType: string; + label: string; + max?: number; + min?: number; + multiplier?: number; + name: string; + required?: boolean; + unit?: string; + }>; + }>; + }; +}; + +export type ConsoleListMSvTemplatesQueryVariables = Exact<{ + [key: string]: never; +}>; + +export type ConsoleListMSvTemplatesQuery = { + infra_listManagedServiceTemplates?: Array<{ + category: string; + displayName: string; + items: Array<{ + active: boolean; + apiVersion?: string; + description: string; + displayName: string; + kind?: string; + logoUrl: string; + name: string; + fields: Array<{ + defaultValue?: any; + inputType: string; + label: string; + max?: number; + min?: number; + name: string; + required?: boolean; + unit?: string; + displayUnit?: string; + multiplier?: number; + }>; + outputs: Array<{ description: string; label: string; name: string }>; + resources: Array<{ + apiVersion?: string; + description: string; + displayName: string; + kind?: string; + name: string; + fields: Array<{ + defaultValue?: any; + displayUnit?: string; + inputType: string; + label: string; + max?: number; + min?: number; + multiplier?: number; + name: string; + required?: boolean; + unit?: string; + }>; + }>; + }>; + }>; +}; export type ConsoleGetManagedResourceQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2359,8 +4501,30 @@ export type ConsoleGetManagedResourceQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetManagedResourceQuery = { core_getManagedResource?: { displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, projectName: string, updateTime: any, metadata?: { name: string, namespace?: string }, spec: { resourceTemplate: { apiVersion: string, kind: string, spec: any, msvcRef: { apiVersion: string, kind: string, name: string, namespace: string } } } } }; +export type ConsoleGetManagedResourceQuery = { + core_getManagedResource?: { + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + projectName: string; + updateTime: any; + metadata?: { name: string; namespace?: string }; + spec: { + resourceTemplate: { + apiVersion: string; + kind: string; + spec: any; + msvcRef: { + apiVersion: string; + kind: string; + name: string; + namespace: string; + }; + }; + }; + }; +}; export type ConsoleCreateManagedResourceMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2368,8 +4532,9 @@ export type ConsoleCreateManagedResourceMutationVariables = Exact<{ mres: ManagedResourceIn; }>; - -export type ConsoleCreateManagedResourceMutation = { core_createManagedResource?: { id: string } }; +export type ConsoleCreateManagedResourceMutation = { + core_createManagedResource?: { id: string }; +}; export type ConsoleUpdateManagedResourceMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2377,8 +4542,9 @@ export type ConsoleUpdateManagedResourceMutationVariables = Exact<{ mres: ManagedResourceIn; }>; - -export type ConsoleUpdateManagedResourceMutation = { core_updateManagedResource?: { id: string } }; +export type ConsoleUpdateManagedResourceMutation = { + core_updateManagedResource?: { id: string }; +}; export type ConsoleListManagedResourcesQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2387,8 +4553,67 @@ export type ConsoleListManagedResourcesQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListManagedResourcesQuery = { core_listManagedResources?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, projectName: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec: { resourceTemplate: { apiVersion: string, kind: string, spec: any, msvcRef: { apiVersion: string, kind: string, name: string, namespace: string } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListManagedResourcesQuery = { + core_listManagedResources?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + projectName: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec: { + resourceTemplate: { + apiVersion: string; + kind: string; + spec: any; + msvcRef: { + apiVersion: string; + kind: string; + name: string; + namespace: string; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeleteManagedResourceMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2396,16 +4621,47 @@ export type ConsoleDeleteManagedResourceMutationVariables = Exact<{ mresName: Scalars['String']['input']; }>; - -export type ConsoleDeleteManagedResourceMutation = { core_deleteManagedResource: boolean }; +export type ConsoleDeleteManagedResourceMutation = { + core_deleteManagedResource: boolean; +}; export type ConsoleGetHelmChartQueryVariables = Exact<{ clusterName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetHelmChartQuery = { infra_getHelmRelease?: { creationTime: any, displayName: string, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { name: string, namespace?: string }, spec?: { chartName: string, chartRepoURL: string, chartVersion: string, values: any }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, releaseNotes: string, releaseStatus: string, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetHelmChartQuery = { + infra_getHelmRelease?: { + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { name: string; namespace?: string }; + spec?: { + chartName: string; + chartRepoURL: string; + chartVersion: string; + values: any; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + releaseNotes: string; + releaseStatus: string; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleListHelmChartQueryVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -2413,80 +4669,272 @@ export type ConsoleListHelmChartQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListHelmChartQuery = { infra_listHelmReleases?: { totalCount: number, edges: Array<{ cursor: string, node: { clusterName: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec?: { chartName: string, chartRepoURL: string, chartVersion: string, values: any }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, releaseNotes: string, releaseStatus: string, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListHelmChartQuery = { + infra_listHelmReleases?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + clusterName: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec?: { + chartName: string; + chartRepoURL: string; + chartVersion: string; + values: any; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + releaseNotes: string; + releaseStatus: string; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateHelmChartMutationVariables = Exact<{ clusterName: Scalars['String']['input']; release: HelmReleaseIn; }>; - -export type ConsoleCreateHelmChartMutation = { infra_createHelmRelease?: { id: string } }; +export type ConsoleCreateHelmChartMutation = { + infra_createHelmRelease?: { id: string }; +}; export type ConsoleUpdateHelmChartMutationVariables = Exact<{ clusterName: Scalars['String']['input']; release: HelmReleaseIn; }>; - -export type ConsoleUpdateHelmChartMutation = { infra_updateHelmRelease?: { id: string } }; +export type ConsoleUpdateHelmChartMutation = { + infra_updateHelmRelease?: { id: string }; +}; export type ConsoleDeleteHelmChartMutationVariables = Exact<{ clusterName: Scalars['String']['input']; releaseName: Scalars['String']['input']; }>; - -export type ConsoleDeleteHelmChartMutation = { infra_deleteHelmRelease: boolean }; +export type ConsoleDeleteHelmChartMutation = { + infra_deleteHelmRelease: boolean; +}; export type ConsoleListNamespacesQueryVariables = Exact<{ clusterName: Scalars['String']['input']; }>; - -export type ConsoleListNamespacesQuery = { infra_listNamespaces?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, apiVersion?: string, clusterName: string, creationTime: any, displayName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { finalizers?: Array }, status?: { phase?: K8s__Io___Api___Core___V1__NamespacePhase, conditions?: Array<{ lastTransitionTime?: any, message?: string, reason?: string, status: K8s__Io___Api___Core___V1__ConditionStatus, type: K8s__Io___Api___Core___V1__NamespaceConditionType }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListNamespacesQuery = { + infra_listNamespaces?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + apiVersion?: string; + clusterName: string; + creationTime: any; + displayName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { finalizers?: Array }; + status?: { + phase?: K8s__Io___Api___Core___V1__NamespacePhase; + conditions?: Array<{ + lastTransitionTime?: any; + message?: string; + reason?: string; + status: K8s__Io___Api___Core___V1__ConditionStatus; + type: K8s__Io___Api___Core___V1__NamespaceConditionType; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateConsoleVpnDeviceMutationVariables = Exact<{ vpnDevice: ConsoleVpnDeviceIn; }>; - -export type ConsoleCreateConsoleVpnDeviceMutation = { core_createVPNDevice?: { id: string } }; +export type ConsoleCreateConsoleVpnDeviceMutation = { + core_createVPNDevice?: { id: string }; +}; export type ConsoleUpdateConsoleVpnDeviceMutationVariables = Exact<{ vpnDevice: ConsoleVpnDeviceIn; }>; - -export type ConsoleUpdateConsoleVpnDeviceMutation = { core_updateVPNDevice?: { id: string } }; +export type ConsoleUpdateConsoleVpnDeviceMutation = { + core_updateVPNDevice?: { id: string }; +}; export type ConsoleListConsoleVpnDevicesQueryVariables = Exact<{ search?: InputMaybe; pq?: InputMaybe; }>; - -export type ConsoleListConsoleVpnDevicesQuery = { core_listVPNDevices?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, environmentName?: string, markedForDeletion?: boolean, projectName?: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec?: { activeNamespace?: string, disabled?: boolean, nodeSelector?: any, cnameRecords?: Array<{ host?: string, target?: string }>, ports?: Array<{ port?: number, targetPort?: number }> } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListConsoleVpnDevicesQuery = { + core_listVPNDevices?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + environmentName?: string; + markedForDeletion?: boolean; + projectName?: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec?: { + activeNamespace?: string; + disabled?: boolean; + nodeSelector?: any; + cnameRecords?: Array<{ host?: string; target?: string }>; + ports?: Array<{ port?: number; targetPort?: number }>; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleGetConsoleVpnDeviceQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetConsoleVpnDeviceQuery = { core_getVPNDevice?: { displayName: string, environmentName?: string, projectName?: string, recordVersion: number, metadata?: { name: string, namespace?: string }, spec?: { activeNamespace?: string, disabled?: boolean, nodeSelector?: any, cnameRecords?: Array<{ host?: string, target?: string }>, ports?: Array<{ port?: number, targetPort?: number }> }, wireguardConfig?: { encoding: string, value: string } } }; - -export type ConsoleListConsoleVpnDevicesForUserQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ConsoleListConsoleVpnDevicesForUserQuery = { core_listVPNDevicesForUser?: Array<{ accountName: string, apiVersion?: string, creationTime: any, displayName: string, environmentName?: string, id: string, kind?: string, markedForDeletion?: boolean, projectName?: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { activeNamespace?: string, disabled?: boolean, nodeSelector?: any, cnameRecords?: Array<{ host?: string, target?: string }>, ports?: Array<{ port?: number, targetPort?: number }> }, wireguardConfig?: { encoding: string, value: string } }> }; +export type ConsoleGetConsoleVpnDeviceQuery = { + core_getVPNDevice?: { + displayName: string; + environmentName?: string; + projectName?: string; + recordVersion: number; + metadata?: { name: string; namespace?: string }; + spec?: { + activeNamespace?: string; + disabled?: boolean; + nodeSelector?: any; + cnameRecords?: Array<{ host?: string; target?: string }>; + ports?: Array<{ port?: number; targetPort?: number }>; + }; + wireguardConfig?: { encoding: string; value: string }; + }; +}; + +export type ConsoleListConsoleVpnDevicesForUserQueryVariables = Exact<{ + [key: string]: never; +}>; + +export type ConsoleListConsoleVpnDevicesForUserQuery = { + core_listVPNDevicesForUser?: Array<{ + accountName: string; + apiVersion?: string; + creationTime: any; + displayName: string; + environmentName?: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + projectName?: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + activeNamespace?: string; + disabled?: boolean; + nodeSelector?: any; + cnameRecords?: Array<{ host?: string; target?: string }>; + ports?: Array<{ port?: number; targetPort?: number }>; + }; + wireguardConfig?: { encoding: string; value: string }; + }>; +}; export type ConsoleDeleteConsoleVpnDeviceMutationVariables = Exact<{ deviceName: Scalars['String']['input']; }>; - -export type ConsoleDeleteConsoleVpnDeviceMutation = { core_deleteVPNDevice: boolean }; +export type ConsoleDeleteConsoleVpnDeviceMutation = { + core_deleteVPNDevice: boolean; +}; export type ConsoleCreateImagePullSecretMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2494,8 +4942,9 @@ export type ConsoleCreateImagePullSecretMutationVariables = Exact<{ imagePullSecretIn: ImagePullSecretIn; }>; - -export type ConsoleCreateImagePullSecretMutation = { core_createImagePullSecret?: { id: string } }; +export type ConsoleCreateImagePullSecretMutation = { + core_createImagePullSecret?: { id: string }; +}; export type ConsoleListImagePullSecretsQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2504,32 +4953,72 @@ export type ConsoleListImagePullSecretsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListImagePullSecretsQuery = { core_listImagePullSecrets?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, dockerConfigJson?: string, environmentName: string, format: Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__PullSecretFormat, markedForDeletion?: boolean, projectName: string, recordVersion: number, registryPassword?: string, registryURL?: string, registryUsername?: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { generation: number, name: string, namespace?: string }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type ConsoleListImagePullSecretsQuery = { + core_listImagePullSecrets?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + dockerConfigJson?: string; + environmentName: string; + format: Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__PullSecretFormat; + markedForDeletion?: boolean; + projectName: string; + recordVersion: number; + registryPassword?: string; + registryURL?: string; + registryUsername?: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { generation: number; name: string; namespace?: string }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type AuthCli_UpdateDeviceClusterMutationVariables = Exact<{ deviceName: Scalars['String']['input']; clusterName: Scalars['String']['input']; }>; - -export type AuthCli_UpdateDeviceClusterMutation = { core_updateVpnClusterName: boolean }; +export type AuthCli_UpdateDeviceClusterMutation = { + core_updateVpnClusterName: boolean; +}; export type AuthCli_UpdateDeviceNsMutationVariables = Exact<{ deviceName: Scalars['String']['input']; ns: Scalars['String']['input']; }>; - -export type AuthCli_UpdateDeviceNsMutation = { core_updateVpnDeviceNs: boolean }; +export type AuthCli_UpdateDeviceNsMutation = { + core_updateVpnDeviceNs: boolean; +}; export type AuthCli_UpdateDevicePortsMutationVariables = Exact<{ deviceName: Scalars['String']['input']; ports: Array | PortIn; }>; - -export type AuthCli_UpdateDevicePortsMutation = { core_updateVPNDevicePorts: boolean }; +export type AuthCli_UpdateDevicePortsMutation = { + core_updateVPNDevicePorts: boolean; +}; export type AuthCli_UpdateDeviceEnvMutationVariables = Exact<{ deviceName: Scalars['String']['input']; @@ -2537,35 +5026,71 @@ export type AuthCli_UpdateDeviceEnvMutationVariables = Exact<{ envName: Scalars['String']['input']; }>; +export type AuthCli_UpdateDeviceEnvMutation = { + core_updateVPNDeviceEnv: boolean; +}; -export type AuthCli_UpdateDeviceEnvMutation = { core_updateVPNDeviceEnv: boolean }; - -export type AuthCli_ListDevicesQueryVariables = Exact<{ [key: string]: never; }>; - +export type AuthCli_ListDevicesQueryVariables = Exact<{ [key: string]: never }>; -export type AuthCli_ListDevicesQuery = { core_listVPNDevicesForUser?: Array<{ displayName: string, environmentName?: string, projectName?: string, clusterName?: string, metadata?: { name: string }, status?: { isReady: boolean, message?: { RawMessage?: any } }, spec?: { activeNamespace?: string, disabled?: boolean, cnameRecords?: Array<{ host?: string, target?: string }>, ports?: Array<{ port?: number, targetPort?: number }> } }> }; +export type AuthCli_ListDevicesQuery = { + core_listVPNDevicesForUser?: Array<{ + displayName: string; + environmentName?: string; + projectName?: string; + clusterName?: string; + metadata?: { name: string }; + status?: { isReady: boolean; message?: { RawMessage?: any } }; + spec?: { + activeNamespace?: string; + disabled?: boolean; + cnameRecords?: Array<{ host?: string; target?: string }>; + ports?: Array<{ port?: number; targetPort?: number }>; + }; + }>; +}; export type AuthCli_GetDeviceQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_GetDeviceQuery = { core_getVPNDevice?: { displayName: string, clusterName?: string, projectName?: string, environmentName?: string, metadata?: { name: string }, spec?: { activeNamespace?: string, disabled?: boolean, ports?: Array<{ port?: number, targetPort?: number }> }, wireguardConfig?: { encoding: string, value: string } } }; +export type AuthCli_GetDeviceQuery = { + core_getVPNDevice?: { + displayName: string; + clusterName?: string; + projectName?: string; + environmentName?: string; + metadata?: { name: string }; + spec?: { + activeNamespace?: string; + disabled?: boolean; + ports?: Array<{ port?: number; targetPort?: number }>; + }; + wireguardConfig?: { encoding: string; value: string }; + }; +}; export type AuthCli_CreateDeviceMutationVariables = Exact<{ vpnDevice: ConsoleVpnDeviceIn; }>; - -export type AuthCli_CreateDeviceMutation = { core_createVPNDevice?: { metadata?: { name: string }, wireguardConfig?: { encoding: string, value: string } } }; +export type AuthCli_CreateDeviceMutation = { + core_createVPNDevice?: { + metadata?: { name: string }; + wireguardConfig?: { encoding: string; value: string }; + }; +}; export type AuthCli_CoreCheckNameAvailabilityQueryVariables = Exact<{ resType: ConsoleResType; name: Scalars['String']['input']; }>; - -export type AuthCli_CoreCheckNameAvailabilityQuery = { core_checkNameAvailability: { result: boolean, suggestedNames?: Array } }; +export type AuthCli_CoreCheckNameAvailabilityQuery = { + core_checkNameAvailability: { + result: boolean; + suggestedNames?: Array; + }; +}; export type AuthCli_GetMresKeysQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2573,8 +5098,9 @@ export type AuthCli_GetMresKeysQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_GetMresKeysQuery = { core_getManagedResouceOutputKeys: Array }; +export type AuthCli_GetMresKeysQuery = { + core_getManagedResouceOutputKeys: Array; +}; export type AuthCli_ListMresesQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2582,17 +5108,33 @@ export type AuthCli_ListMresesQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type AuthCli_ListMresesQuery = { core_listManagedResources?: { edges: Array<{ node: { displayName: string, metadata?: { name: string, namespace?: string } } }> } }; +export type AuthCli_ListMresesQuery = { + core_listManagedResources?: { + edges: Array<{ + node: { + displayName: string; + metadata?: { name: string; namespace?: string }; + }; + }>; + }; +}; export type AuthCli_GetMresConfigsValuesQueryVariables = Exact<{ - keyrefs?: InputMaybe> | InputMaybe>; + keyrefs?: InputMaybe< + | Array> + | InputMaybe + >; envName: Scalars['String']['input']; projectName: Scalars['String']['input']; }>; - -export type AuthCli_GetMresConfigsValuesQuery = { core_getManagedResouceOutputKeyValues: Array<{ key: string, mresName: string, value: string }> }; +export type AuthCli_GetMresConfigsValuesQuery = { + core_getManagedResouceOutputKeyValues: Array<{ + key: string; + mresName: string; + value: string; + }>; +}; export type AuthCli_InfraCheckNameAvailabilityQueryVariables = Exact<{ resType: ResType; @@ -2600,19 +5142,31 @@ export type AuthCli_InfraCheckNameAvailabilityQueryVariables = Exact<{ clusterName?: InputMaybe; }>; - -export type AuthCli_InfraCheckNameAvailabilityQuery = { infra_checkNameAvailability: { result: boolean, suggestedNames: Array } }; +export type AuthCli_InfraCheckNameAvailabilityQuery = { + infra_checkNameAvailability: { + result: boolean; + suggestedNames: Array; + }; +}; export type AuthCli_GetConfigSecretMapQueryVariables = Exact<{ projectName: Scalars['String']['input']; envName: Scalars['String']['input']; - configQueries?: InputMaybe> | InputMaybe>; + configQueries?: InputMaybe< + Array> | InputMaybe + >; secretQueries?: InputMaybe | SecretKeyRefIn>; - mresQueries?: InputMaybe> | InputMaybe>; + mresQueries?: InputMaybe< + | Array> + | InputMaybe + >; }>; - -export type AuthCli_GetConfigSecretMapQuery = { configs?: Array<{ configName: string, key: string, value: string }>, secrets?: Array<{ key: string, secretName: string, value: string }>, mreses: Array<{ key: string, mresName: string, value: string }> }; +export type AuthCli_GetConfigSecretMapQuery = { + configs?: Array<{ configName: string; key: string; value: string }>; + secrets?: Array<{ key: string; secretName: string; value: string }>; + mreses: Array<{ key: string; mresName: string; value: string }>; +}; export type AuthCli_InterceptAppMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2622,7 +5176,6 @@ export type AuthCli_InterceptAppMutationVariables = Exact<{ intercept: Scalars['Boolean']['input']; }>; - export type AuthCli_InterceptAppMutation = { core_interceptApp: boolean }; export type AuthCli_GetEnvironmentQueryVariables = Exact<{ @@ -2630,8 +5183,9 @@ export type AuthCli_GetEnvironmentQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_GetEnvironmentQuery = { core_getEnvironment?: { spec?: { targetNamespace?: string } } }; +export type AuthCli_GetEnvironmentQuery = { + core_getEnvironment?: { spec?: { targetNamespace?: string } }; +}; export type AuthCli_GetSecretQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2639,8 +5193,13 @@ export type AuthCli_GetSecretQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_GetSecretQuery = { core_getSecret?: { displayName: string, stringData?: any, metadata?: { name: string, namespace?: string } } }; +export type AuthCli_GetSecretQuery = { + core_getSecret?: { + displayName: string; + stringData?: any; + metadata?: { name: string; namespace?: string }; + }; +}; export type AuthCli_GetConfigQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2648,24 +5207,87 @@ export type AuthCli_GetConfigQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_GetConfigQuery = { core_getConfig?: { data?: any, displayName: string, metadata?: { name: string, namespace?: string } } }; +export type AuthCli_GetConfigQuery = { + core_getConfig?: { + data?: any; + displayName: string; + metadata?: { name: string; namespace?: string }; + }; +}; export type AuthCli_ListAppsQueryVariables = Exact<{ projectName: Scalars['String']['input']; envName: Scalars['String']['input']; }>; - -export type AuthCli_ListAppsQuery = { core_listApps?: { edges: Array<{ cursor: string, node: { displayName: string, environmentName: string, markedForDeletion?: boolean, projectName: string, metadata?: { annotations?: any, name: string, namespace?: string }, spec: { displayName?: string, nodeSelector?: any, replicas?: number, serviceAccount?: string, containers: Array<{ args?: Array, command?: Array, image: string, name: string, env?: Array<{ key: string, optional?: boolean, refKey?: string, refName?: string, type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, value?: string }>, envFrom?: Array<{ refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret }> }>, intercept?: { enabled: boolean, toDevice: string }, services?: Array<{ name?: string, port: number, targetPort?: number, type?: string }> }, status?: { checks?: any, isReady: boolean, message?: { RawMessage?: any } } } }> } }; +export type AuthCli_ListAppsQuery = { + core_listApps?: { + edges: Array<{ + cursor: string; + node: { + displayName: string; + environmentName: string; + markedForDeletion?: boolean; + projectName: string; + metadata?: { annotations?: any; name: string; namespace?: string }; + spec: { + displayName?: string; + nodeSelector?: any; + replicas?: number; + serviceAccount?: string; + containers: Array<{ + args?: Array; + command?: Array; + image: string; + name: string; + env?: Array<{ + key: string; + optional?: boolean; + refKey?: string; + refName?: string; + type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + value?: string; + }>; + envFrom?: Array<{ + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }>; + }>; + intercept?: { enabled: boolean; toDevice: string }; + services?: Array<{ + name?: string; + port: number; + targetPort?: number; + type?: string; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + message?: { RawMessage?: any }; + }; + }; + }>; + }; +}; export type AuthCli_ListConfigsQueryVariables = Exact<{ projectName: Scalars['String']['input']; envName: Scalars['String']['input']; }>; - -export type AuthCli_ListConfigsQuery = { core_listConfigs?: { totalCount: number, edges: Array<{ node: { data?: any, displayName: string, metadata?: { name: string, namespace?: string } } }> } }; +export type AuthCli_ListConfigsQuery = { + core_listConfigs?: { + totalCount: number; + edges: Array<{ + node: { + data?: any; + displayName: string; + metadata?: { name: string; namespace?: string }; + }; + }>; + }; +}; export type AuthCli_ListSecretsQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -2673,75 +5295,143 @@ export type AuthCli_ListSecretsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type AuthCli_ListSecretsQuery = { core_listSecrets?: { edges: Array<{ cursor: string, node: { displayName: string, markedForDeletion?: boolean, stringData?: any, metadata?: { name: string, namespace?: string } } }> } }; +export type AuthCli_ListSecretsQuery = { + core_listSecrets?: { + edges: Array<{ + cursor: string; + node: { + displayName: string; + markedForDeletion?: boolean; + stringData?: any; + metadata?: { name: string; namespace?: string }; + }; + }>; + }; +}; export type AuthCli_ListEnvironmentsQueryVariables = Exact<{ projectName: Scalars['String']['input']; pq?: InputMaybe; }>; - -export type AuthCli_ListEnvironmentsQuery = { core_listEnvironments?: { totalCount: number, edges: Array<{ cursor: string, node: { displayName: string, markedForDeletion?: boolean, metadata?: { name: string, namespace?: string }, spec?: { projectName: string, targetNamespace?: string }, status?: { isReady: boolean, message?: { RawMessage?: any } } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPreviousPage?: boolean, startCursor?: string } } }; +export type AuthCli_ListEnvironmentsQuery = { + core_listEnvironments?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + displayName: string; + markedForDeletion?: boolean; + metadata?: { name: string; namespace?: string }; + spec?: { projectName: string; targetNamespace?: string }; + status?: { isReady: boolean; message?: { RawMessage?: any } }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPreviousPage?: boolean; + startCursor?: string; + }; + }; +}; export type AuthCli_ListProjectsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type AuthCli_ListProjectsQuery = { core_listProjects?: { edges: Array<{ node: { displayName: string, markedForDeletion?: boolean, metadata?: { name: string, namespace?: string }, status?: { isReady: boolean, message?: { RawMessage?: any } } } }> } }; +export type AuthCli_ListProjectsQuery = { + core_listProjects?: { + edges: Array<{ + node: { + displayName: string; + markedForDeletion?: boolean; + metadata?: { name: string; namespace?: string }; + status?: { isReady: boolean; message?: { RawMessage?: any } }; + }; + }>; + }; +}; export type AuthCli_GetKubeConfigQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_GetKubeConfigQuery = { infra_getCluster?: { adminKubeconfig?: { encoding: string, value: string }, status?: { isReady: boolean } } }; +export type AuthCli_GetKubeConfigQuery = { + infra_getCluster?: { + adminKubeconfig?: { encoding: string; value: string }; + status?: { isReady: boolean }; + }; +}; export type AuthCli_ListClustersQueryVariables = Exact<{ pagination?: InputMaybe; }>; +export type AuthCli_ListClustersQuery = { + infra_listClusters?: { + edges: Array<{ + node: { + displayName: string; + metadata: { name: string }; + status?: { isReady: boolean }; + }; + }>; + }; +}; -export type AuthCli_ListClustersQuery = { infra_listClusters?: { edges: Array<{ node: { displayName: string, metadata: { name: string }, status?: { isReady: boolean } } }> } }; - -export type AuthCli_ListAccountsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type AuthCli_ListAccountsQuery = { accounts_listAccounts?: Array<{ displayName: string, metadata?: { name: string } }> }; +export type AuthCli_ListAccountsQueryVariables = Exact<{ + [key: string]: never; +}>; -export type AuthCli_GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>; +export type AuthCli_ListAccountsQuery = { + accounts_listAccounts?: Array<{ + displayName: string; + metadata?: { name: string }; + }>; +}; +export type AuthCli_GetCurrentUserQueryVariables = Exact<{ + [key: string]: never; +}>; -export type AuthCli_GetCurrentUserQuery = { auth_me?: { id: string, email: string, name: string } }; +export type AuthCli_GetCurrentUserQuery = { + auth_me?: { id: string; email: string; name: string }; +}; export type AuthCli_CreateRemoteLoginMutationVariables = Exact<{ secret?: InputMaybe; }>; - -export type AuthCli_CreateRemoteLoginMutation = { auth_createRemoteLogin: string }; +export type AuthCli_CreateRemoteLoginMutation = { + auth_createRemoteLogin: string; +}; export type AuthCli_GetRemoteLoginQueryVariables = Exact<{ loginId: Scalars['String']['input']; secret: Scalars['String']['input']; }>; - -export type AuthCli_GetRemoteLoginQuery = { auth_getRemoteLogin?: { authHeader?: string, status: string } }; +export type AuthCli_GetRemoteLoginQuery = { + auth_getRemoteLogin?: { authHeader?: string; status: string }; +}; export type AuthSetRemoteAuthHeaderMutationVariables = Exact<{ loginId: Scalars['String']['input']; authHeader?: InputMaybe; }>; +export type AuthSetRemoteAuthHeaderMutation = { + auth_setRemoteAuthHeader: boolean; +}; -export type AuthSetRemoteAuthHeaderMutation = { auth_setRemoteAuthHeader: boolean }; - -export type AuthCheckOauthEnabledQueryVariables = Exact<{ [key: string]: never; }>; - +export type AuthCheckOauthEnabledQueryVariables = Exact<{ + [key: string]: never; +}>; -export type AuthCheckOauthEnabledQuery = { auth_listOAuthProviders?: Array<{ enabled: boolean, provider: string }> }; +export type AuthCheckOauthEnabledQuery = { + auth_listOAuthProviders?: Array<{ enabled: boolean; provider: string }>; +}; export type AuthAddOauthCredientialsMutationVariables = Exact<{ provider: Scalars['String']['input']; @@ -2749,22 +5439,21 @@ export type AuthAddOauthCredientialsMutationVariables = Exact<{ code: Scalars['String']['input']; }>; - export type AuthAddOauthCredientialsMutation = { oAuth_addLogin: boolean }; export type AuthRequestResetPasswordMutationVariables = Exact<{ email: Scalars['String']['input']; }>; - -export type AuthRequestResetPasswordMutation = { auth_requestResetPassword: boolean }; +export type AuthRequestResetPasswordMutation = { + auth_requestResetPassword: boolean; +}; export type AuthResetPasswordMutationVariables = Exact<{ token: Scalars['String']['input']; password: Scalars['String']['input']; }>; - export type AuthResetPasswordMutation = { auth_resetPassword: boolean }; export type AuthOauthLoginMutationVariables = Exact<{ @@ -2773,31 +5462,32 @@ export type AuthOauthLoginMutationVariables = Exact<{ state?: InputMaybe; }>; - export type AuthOauthLoginMutation = { oAuth_login: { id: string } }; export type AuthVerifyEmailMutationVariables = Exact<{ token: Scalars['String']['input']; }>; - export type AuthVerifyEmailMutation = { auth_verifyEmail: { id: string } }; -export type AuthLoginPageInitUrlsQueryVariables = Exact<{ [key: string]: never; }>; - +export type AuthLoginPageInitUrlsQueryVariables = Exact<{ + [key: string]: never; +}>; -export type AuthLoginPageInitUrlsQuery = { githubLoginUrl: any, gitlabLoginUrl: any, googleLoginUrl: any }; +export type AuthLoginPageInitUrlsQuery = { + githubLoginUrl: any; + gitlabLoginUrl: any; + googleLoginUrl: any; +}; export type AuthLoginMutationVariables = Exact<{ email: Scalars['String']['input']; password: Scalars['String']['input']; }>; - export type AuthLoginMutation = { auth_login?: { id: string } }; -export type AuthLogoutMutationVariables = Exact<{ [key: string]: never; }>; - +export type AuthLogoutMutationVariables = Exact<{ [key: string]: never }>; export type AuthLogoutMutation = { auth_logout: boolean }; @@ -2807,15 +5497,24 @@ export type AuthSignUpWithEmailMutationVariables = Exact<{ email: Scalars['String']['input']; }>; - export type AuthSignUpWithEmailMutation = { auth_signup?: { id: string } }; -export type AuthWhoAmIQueryVariables = Exact<{ [key: string]: never; }>; - +export type AuthWhoAmIQueryVariables = Exact<{ [key: string]: never }>; -export type AuthWhoAmIQuery = { auth_me?: { id: string, email: string, verified: boolean } }; - -export type LibWhoAmIQueryVariables = Exact<{ [key: string]: never; }>; +export type AuthWhoAmIQuery = { + auth_me?: { id: string; email: string; verified: boolean }; +}; +export type LibWhoAmIQueryVariables = Exact<{ [key: string]: never }>; -export type LibWhoAmIQuery = { auth_me?: { verified: boolean, name: string, id: string, email: string, providerGitlab?: any, providerGithub?: any, providerGoogle?: any } }; +export type LibWhoAmIQuery = { + auth_me?: { + verified: boolean; + name: string; + id: string; + email: string; + providerGitlab?: any; + providerGithub?: any; + providerGoogle?: any; + }; +};