Skip to content

Commit

Permalink
Merge branch 'release-v1.0.8' into web/devdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tulsiojha committed Sep 30, 2024
2 parents b25eb17 + f76531c commit 198f8db
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 10 deletions.
11 changes: 8 additions & 3 deletions gql-queries-generator/doc/queries.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6100,6 +6100,10 @@ mutation authCli_createGlobalVPNDevice($gvpnDevice: GlobalVPNDeviceIn!) {
}
}

query authCli_getDNSHostSuffix {
core_getDNSHostSuffix
}

query authCli_getMresOutputKeyValues($msvcName: String!, $keyrefs: [ManagedResourceKeyRefIn]) {
core_getManagedResouceOutputKeyValues(msvcName: $msvcName, keyrefs: $keyrefs) {
key
Expand Down Expand Up @@ -6219,11 +6223,12 @@ mutation authCli_intercepExternalApp($envName: String!, $appName: String!, $devi
)
}

mutation authCli_interceptApp($portMappings: [Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsIn!], $intercept: Boolean!, $deviceName: String!, $appName: String!, $envName: String!) {
core_interceptApp(
mutation authCli_interceptApp($portMappings: [Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsIn!], $intercept: Boolean!, $clusterName: String!, $ipAddr: String!, $appName: String!, $envName: String!) {
core_interceptAppOnLocalCluster(
portMappings: $portMappings
intercept: $intercept
deviceName: $deviceName
clusterName: $clusterName
ipAddr: $ipAddr
appname: $appName
envName: $envName
)
Expand Down
26 changes: 21 additions & 5 deletions src/apps/auth/server/gql/cli-queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ export const cliQueries = (executor: IExecutor) => ({
}
),

cli_getDNSHostSuffix: executor(
gql`
query Core_getDNSHostSuffix {
core_getDNSHostSuffix
}
`,
{
transformer(data: any) {
return data.core_getDNSHostSuffix;
},
vars(_: any) {},
}
),

cli_getMresOutputKeyValues: executor(
gql`
query Core_getManagedResouceOutputKeyValues(
Expand Down Expand Up @@ -293,24 +307,26 @@ export const cliQueries = (executor: IExecutor) => ({
),
cli_interceptApp: executor(
gql`
mutation Core_interceptApp(
mutation Core_interceptAppOnLocalCluster(
$portMappings: [Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsIn!]
$intercept: Boolean!
$deviceName: String!
$clusterName: String!
$ipAddr: String!
$appName: String!
$envName: String!
) {
core_interceptApp(
core_interceptAppOnLocalCluster(
portMappings: $portMappings
intercept: $intercept
deviceName: $deviceName
clusterName: $clusterName
ipAddr: $ipAddr
appname: $appName
envName: $envName
)
}
`,
{
transformer: (data: any) => data.core_interceptApp,
transformer: (data: any) => data.core_interceptAppOnLocalCluster,
vars: (_: any) => {},
}
),
Expand Down
1 change: 1 addition & 0 deletions src/generated/gql/sdl.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3624,6 +3624,7 @@ type Mutation {
core_deleteSecret(envName: String!, secretName: String!): Boolean!
core_importManagedResource(envName: String!, importName: String!, mresName: String!, msvcName: String!): ImportedManagedResource
core_interceptApp(appname: String!, deviceName: String!, envName: String!, intercept: Boolean!, portMappings: [Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsIn!]): Boolean!
core_interceptAppOnLocalCluster(appname: String!, clusterName: String!, envName: String!, intercept: Boolean!, ipAddr: String!, portMappings: [Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsIn!]): Boolean!
core_interceptExternalApp(deviceName: String!, envName: String!, externalAppName: String!, intercept: Boolean!, portMappings: [Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsIn!]): Boolean!
core_removeDeviceIntercepts(deviceName: String!, envName: String!): Boolean!
core_updateApp(app: AppIn!, envName: String!): App
Expand Down
13 changes: 11 additions & 2 deletions src/generated/gql/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7752,6 +7752,12 @@ export type AuthCli_CreateGlobalVpnDeviceMutation = {
};
};

export type AuthCli_GetDnsHostSuffixQueryVariables = Exact<{
[key: string]: never;
}>;

export type AuthCli_GetDnsHostSuffixQuery = { core_getDNSHostSuffix: string };

export type AuthCli_GetMresOutputKeyValuesQueryVariables = Exact<{
msvcName: Scalars['String']['input'];
keyrefs?: InputMaybe<
Expand Down Expand Up @@ -7901,12 +7907,15 @@ export type AuthCli_InterceptAppMutationVariables = Exact<{
| Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn
>;
intercept: Scalars['Boolean']['input'];
deviceName: Scalars['String']['input'];
clusterName: Scalars['String']['input'];
ipAddr: Scalars['String']['input'];
appName: Scalars['String']['input'];
envName: Scalars['String']['input'];
}>;

export type AuthCli_InterceptAppMutation = { core_interceptApp: boolean };
export type AuthCli_InterceptAppMutation = {
core_interceptAppOnLocalCluster: boolean;
};

export type AuthCli_RemoveDeviceInterceptsMutationVariables = Exact<{
envName: Scalars['String']['input'];
Expand Down

0 comments on commit 198f8db

Please sign in to comment.