From f0602997929ede9e8e7f8588ce9e9992e07a3df3 Mon Sep 17 00:00:00 2001 From: nxtcoder17 Date: Mon, 7 Oct 2024 13:44:23 +0530 Subject: [PATCH 1/2] feat: pre-rendering of helm templates for kloudlite-agent It will ensure superfast installation of kloudlite-agent, at least on local clusters updates NIX flakes to latest Bumps go to v1.23 --- apps/infra/Taskfile.yml | 4 +- apps/infra/internal/app/app.go | 22 + apps/infra/internal/domain/api.go | 1 + apps/infra/internal/domain/byok-clusters.go | 62 ++- apps/infra/internal/domain/clusters.go | 27 +- apps/infra/internal/domain/domain.go | 7 + .../domain/global-vpn-cluster-connection.go | 83 ++- apps/infra/internal/domain/templates/embed.go | 4 +- .../templates/gateway/deployment.yml.tpl | 514 +++++++++++++++++ apps/infra/internal/domain/templates/types.go | 30 + apps/infra/main.go | 19 + apps/infra/protobufs/infra/infra.pb.go | 28 +- apps/infra/protobufs/infra/infra_grpc.pb.go | 2 +- flake.lock | 12 +- flake.nix | 5 +- go.mod | 187 ++++--- go.sum | 525 +++++++++++++----- pkg/grpc/server.go | 17 +- pkg/helm/client.go | 72 +++ pkg/helm/types.go | 34 ++ pkg/k8s/client.go | 3 - 21 files changed, 1382 insertions(+), 276 deletions(-) create mode 100644 apps/infra/internal/domain/templates/gateway/deployment.yml.tpl create mode 100644 pkg/helm/client.go create mode 100644 pkg/helm/types.go diff --git a/apps/infra/Taskfile.yml b/apps/infra/Taskfile.yml index 5063ebe79..7a2ab6298 100644 --- a/apps/infra/Taskfile.yml +++ b/apps/infra/Taskfile.yml @@ -53,8 +53,8 @@ tasks: - .secrets/env cmds: - go build -o bin/infra . - # - ./bin/infra --dev - - ./bin/infra + - ./bin/infra --dev + # - ./bin/infra gen:constants: cmds: diff --git a/apps/infra/internal/app/app.go b/apps/infra/internal/app/app.go index 039210b57..f163fb1f1 100644 --- a/apps/infra/internal/app/app.go +++ b/apps/infra/internal/app/app.go @@ -229,4 +229,26 @@ var Module = fx.Module( ) }, ), + + fx.Invoke( + func(server httpServer.Server, d domain.Domain, env *env.Env) { + server.Raw().Get("/render/helm/kloudlite-agent/:accountName/:clusterName", func(c *fiber.Ctx) error { + s := c.GetReqHeaders()["Authorization"] + if len(s) != 1 { + return fiber.ErrForbidden + } + + b, err := d.RenderHelmKloudliteAgent(c.Context(), c.Params("accountName"), c.Params("clusterName"), s[0]) + if err != nil { + if err.Error() == "UnAuthorized" { + return fiber.ErrUnauthorized + } + return err + } + + _, err = c.Write(b) + return err + }) + }, + ), ) diff --git a/apps/infra/internal/domain/api.go b/apps/infra/internal/domain/api.go index 4dc22ba41..52848a237 100644 --- a/apps/infra/internal/domain/api.go +++ b/apps/infra/internal/domain/api.go @@ -78,6 +78,7 @@ type Domain interface { ListBYOKCluster(ctx InfraContext, search map[string]repos.MatchFilter, pagination repos.CursorPagination) (*repos.PaginatedRecord[*entities.BYOKCluster], error) GetBYOKCluster(ctx InfraContext, name string) (*entities.BYOKCluster, error) GetBYOKClusterSetupInstructions(ctx InfraContext, name string, onlyHelmValues bool) ([]BYOKSetupInstruction, error) + RenderHelmKloudliteAgent(ctx context.Context, accountName string, clusterName string, clusterToken string) ([]byte, error) DeleteBYOKCluster(ctx InfraContext, name string) error UpsertBYOKClusterKubeconfig(ctx InfraContext, clusterName string, kubeconfig []byte) error diff --git a/apps/infra/internal/domain/byok-clusters.go b/apps/infra/internal/domain/byok-clusters.go index c01395a12..fe67c7df0 100644 --- a/apps/infra/internal/domain/byok-clusters.go +++ b/apps/infra/internal/domain/byok-clusters.go @@ -1,6 +1,7 @@ package domain import ( + "context" "encoding/base64" "encoding/json" "fmt" @@ -14,6 +15,7 @@ import ( "github.com/kloudlite/api/grpc-interfaces/kloudlite.io/rpc/console" "github.com/kloudlite/api/pkg/errors" fn "github.com/kloudlite/api/pkg/functions" + "github.com/kloudlite/api/pkg/helm" "github.com/kloudlite/api/pkg/repos" t "github.com/kloudlite/api/pkg/types" ) @@ -182,7 +184,7 @@ func (d *domain) GetBYOKCluster(ctx InfraContext, name string) (*entities.BYOKCl return nil, errors.NewE(err) } - c, err := d.findBYOKCluster(ctx, name) + c, err := d.findBYOKCluster(ctx, ctx.AccountName, name) if err != nil { return nil, errors.NewE(err) } @@ -196,7 +198,7 @@ type BYOKSetupInstruction struct { } func (d *domain) GetBYOKClusterSetupInstructions(ctx InfraContext, name string, onlyHelmValues bool) ([]BYOKSetupInstruction, error) { - cluster, err := d.findBYOKCluster(ctx, name) + cluster, err := d.findBYOKCluster(ctx, ctx.AccountName, name) if err != nil { return nil, err } @@ -241,7 +243,7 @@ func (d *domain) DeleteBYOKCluster(ctx InfraContext, name string) error { return errors.NewE(err) } - cluster, err := d.findBYOKCluster(ctx, name) + cluster, err := d.findBYOKCluster(ctx, ctx.AccountName, name) if err != nil { return errors.NewE(err) } @@ -269,8 +271,54 @@ func (d *domain) DeleteBYOKCluster(ctx InfraContext, name string) error { return nil } -func (d *domain) findBYOKCluster(ctx InfraContext, clusterName string) (*entities.BYOKCluster, error) { - cluster, err := d.byokClusterRepo.FindOne(ctx, entities.UniqueBYOKClusterFilter(ctx.AccountName, clusterName)) +func (d *domain) RenderHelmKloudliteAgent(ctx context.Context, accountName string, clusterName string, clusterToken string) ([]byte, error) { + cluster, err := d.byokClusterRepo.FindOne(ctx, entities.UniqueBYOKClusterFilter(accountName, clusterName)) + if err != nil { + return nil, errors.NewE(err) + } + + if cluster == nil { + return nil, ErrClusterNotFound + } + + if clusterToken != cluster.ClusterToken { + return nil, fmt.Errorf("UnAuthorized") + } + + values, err := json.Marshal(map[string]any{ + "accountName": accountName, + "clusterName": clusterName, + "clusterToken": cluster.ClusterToken, + "messageOfficeGRPCAddr": d.env.MessageOfficeExternalGrpcAddr, + "kloudliteDNSSuffix": fmt.Sprintf("%s.%s", accountName, d.env.KloudliteDNSSuffix), + }) + if err != nil { + return nil, err + } + + b, err := d.helmClient.TemplateChart(ctx, &helm.ChartSpec{ + ReleaseName: "kloudlite-agent", + Namespace: "kloudlite", + ChartName: "kloudlite/kloudlite-agent", + Version: d.env.KloudliteRelease, + ValuesYaml: string(values), + }) + if err != nil { + return nil, err + } + + namespace := ` +apiVersion: v1 +kind: Namespace +metadata: + name: kloudlite +` + + return []byte(fmt.Sprintf("%s\n---\n%s", namespace, b)), nil +} + +func (d *domain) findBYOKCluster(ctx context.Context, accountName, clusterName string) (*entities.BYOKCluster, error) { + cluster, err := d.byokClusterRepo.FindOne(ctx, entities.UniqueBYOKClusterFilter(accountName, clusterName)) if err != nil { return nil, errors.NewE(err) } @@ -282,7 +330,7 @@ func (d *domain) findBYOKCluster(ctx InfraContext, clusterName string) (*entitie } func (d *domain) UpsertBYOKClusterKubeconfig(ctx InfraContext, clusterName string, kubeconfig []byte) error { - byokCluster, err := d.findBYOKCluster(ctx, clusterName) + byokCluster, err := d.findBYOKCluster(ctx, ctx.AccountName, clusterName) if err != nil { return err } @@ -300,7 +348,7 @@ func (d *domain) UpsertBYOKClusterKubeconfig(ctx InfraContext, clusterName strin } func (d *domain) isBYOKCluster(ctx InfraContext, name string) bool { - cluster, err := d.findBYOKCluster(ctx, name) + cluster, err := d.findBYOKCluster(ctx, ctx.AccountName, name) if err != nil { return false } diff --git a/apps/infra/internal/domain/clusters.go b/apps/infra/internal/domain/clusters.go index 70d1819fd..82bd87dbe 100644 --- a/apps/infra/internal/domain/clusters.go +++ b/apps/infra/internal/domain/clusters.go @@ -680,15 +680,6 @@ func (d *domain) syncKloudliteDeviceOnPlatform(ctx InfraContext, gvpnName string "app": resourceName, } - service := &corev1.Service{} - ctx2, cf := func() (context.Context, context.CancelFunc) { - if d.env.IsDev { - return context.WithCancel(ctx) - } - return context.WithTimeout(context.TODO(), 45*time.Second) // 45 seconds, as it might take a while for a cloud provider to allocate IP - }() - defer cf() - wgEndpoint := d.env.KloudliteGlobalVPNDeviceHost wgSvcName := fmt.Sprintf("%s-wg", resourceName) @@ -703,6 +694,18 @@ func (d *domain) syncKloudliteDeviceOnPlatform(ctx InfraContext, gvpnName string return errors.NewE(err) } + service := &corev1.Service{} + ctx2, cf := func() (context.Context, context.CancelFunc) { + if d.env.IsDev { + return context.WithCancel(ctx) + } + + // FIXME: it might take a while for a cloud provider to allocate IP, but + // till then your HTTP requests might time out + return context.WithTimeout(context.TODO(), 5*time.Second) + }() + defer cf() + for { if ctx2.Err() != nil { return ctx2.Err() @@ -883,7 +886,7 @@ func (d *domain) UpgradeHelmKloudliteAgent(ctx InfraContext, clusterName string) } if cluster.GlobalVPN != nil { - gvpn, err := d.findGlobalVPNConnection(ctx, cluster.Name, *cluster.GlobalVPN) + gvpn, err := d.findGlobalVPNConnection(ctx, cluster.AccountName, cluster.Name, *cluster.GlobalVPN) if err != nil { return errors.NewE(err) } @@ -930,7 +933,7 @@ func (d *domain) GetCluster(ctx InfraContext, name string) (*entities.Cluster, e c, err := d.findCluster(ctx, name) if err != nil { if errors.Is(err, ErrClusterNotFound) { - byokCluster, err := d.findBYOKCluster(ctx, name) + byokCluster, err := d.findBYOKCluster(ctx, ctx.AccountName, name) if err != nil { return nil, err } @@ -1073,7 +1076,7 @@ func (d *domain) OnClusterDeleteMessage(ctx InfraContext, cluster entities.Clust return errors.NewE(err) } - gv, err := d.findGlobalVPNConnection(ctx, xcluster.Name, *xcluster.GlobalVPN) + gv, err := d.findGlobalVPNConnection(ctx, xcluster.AccountName, xcluster.Name, *xcluster.GlobalVPN) if err != nil { return errors.NewE(err) } diff --git a/apps/infra/internal/domain/domain.go b/apps/infra/internal/domain/domain.go index ee6393fc6..20e85f001 100644 --- a/apps/infra/internal/domain/domain.go +++ b/apps/infra/internal/domain/domain.go @@ -22,6 +22,7 @@ import ( "github.com/kloudlite/api/grpc-interfaces/kloudlite.io/rpc/iam" fn "github.com/kloudlite/api/pkg/functions" + "github.com/kloudlite/api/pkg/helm" "github.com/kloudlite/api/pkg/repos" "github.com/kloudlite/operator/pkg/constants" "go.uber.org/fx" @@ -67,6 +68,8 @@ type domain struct { msvcTemplates []*entities.MsvcTemplate msvcTemplatesMap map[string]map[string]*entities.MsvcTemplateEntry + + helmClient helm.Client } func (d *domain) resyncToTargetCluster(ctx InfraContext, action types.SyncAction, dispatchAddr *entities.DispatchAddr, obj client.Object, recordVersion int) error { @@ -202,6 +205,8 @@ var Module = fx.Module("domain", moSvc ports.MessageOfficeService, logger *slog.Logger, resourceEventPublisher ResourceEventPublisher, + + helmClient helm.Client, ) (Domain, error) { open, err := os.Open(env.MsvcTemplateFilePath) if err != nil { @@ -265,6 +270,8 @@ var Module = fx.Module("domain", volumeAttachmentRepo: volumeAttachmentRepo, pvRepo: pvRepo, namespaceRepo: namespaceRepo, + + helmClient: helmClient, }, nil }), ) diff --git a/apps/infra/internal/domain/global-vpn-cluster-connection.go b/apps/infra/internal/domain/global-vpn-cluster-connection.go index 78c3dd7e3..7b11f4ab0 100644 --- a/apps/infra/internal/domain/global-vpn-cluster-connection.go +++ b/apps/infra/internal/domain/global-vpn-cluster-connection.go @@ -1,6 +1,7 @@ package domain import ( + "context" "crypto/md5" "fmt" "math" @@ -9,6 +10,7 @@ import ( fn "github.com/kloudlite/api/pkg/functions" "github.com/kloudlite/api/pkg/iputils" + "github.com/kloudlite/api/pkg/wgutils" "github.com/kloudlite/api/apps/infra/internal/entities" fc "github.com/kloudlite/api/apps/infra/internal/entities/field-constants" @@ -17,8 +19,10 @@ import ( "github.com/kloudlite/api/pkg/errors" "github.com/kloudlite/api/pkg/repos" t "github.com/kloudlite/api/pkg/types" + common_types "github.com/kloudlite/operator/apis/common-types" networkingv1 "github.com/kloudlite/operator/apis/networking/v1" "github.com/kloudlite/operator/operators/resource-watcher/types" + corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) @@ -172,13 +176,6 @@ func (d *domain) reconGlobalVPNConnections(ctx InfraContext, vpnName string) err fc.GlobalVPNConnectionSpecPeers: peers, }, })) - // unp, err := d.gvpnConnRepo.Patch(ctx, repos.Filter{ - // fields.AccountName: ctx.AccountName, - // fields.ClusterName: xcc.ClusterName, - // fields.MetadataName: xcc.Name, - // }, - // common.PatchForUpdate(ctx, xcc, common.PatchOpts{XPatch: map[string]any{fc.GlobalVPNConnectionSpecPeers: peers}}), - // ) if err != nil { return errors.NewE(err) } @@ -191,6 +188,25 @@ func (d *domain) reconGlobalVPNConnections(ctx InfraContext, vpnName string) err return nil } +func (d *domain) renderGlobalVPNGatewayConnection(ctx context.Context, accountName, clusterName string) ([]byte, error) { + // cluster, err := d.findBYOKCluster(ctx, accountName, clusterName) + // if err != nil { + // return nil, err + // } + + // gvConn, err := d.findGlobalVPNConnection(ctx, accountName, clusterName, cluster.GlobalVPN) + // if err != nil { + // return nil, err + // } + // + // b, err := templates.Read(templates.ClusterGatewayDeploymentTemplate) + // if err != nil { + // return nil, err + // } + + return nil, nil +} + func (d *domain) claimNextClusterCIDR(ctx InfraContext, clusterName string, gvpnName string) (string, error) { var cidrFilter *repos.MatchFilter for { @@ -325,13 +341,27 @@ func (d *domain) createGlobalVPNConnection(ctx InfraContext, gvpnConn entities.G IPAddr: gvpnDevice.IPAddr, } + privateKey, publicKey, err := wgutils.GenerateKeyPair() + if err != nil { + return nil, err + } + gvpnConn.Gateway.Spec = networkingv1.GatewaySpec{ - GlobalIP: gvpnDevice.IPAddr, - ClusterCIDR: clusterCIDR, - SvcCIDR: svcCIDR, - DNSSuffix: fmt.Sprintf("svc.%s.local", gvpnConn.ClusterName), - Peers: nil, + GlobalIP: gvpnDevice.IPAddr, + TargetNamespace: "kl-gateway", + ClusterCIDR: clusterCIDR, + SvcCIDR: svcCIDR, + DNSSuffix: fmt.Sprintf("svc.%s.local", gvpnConn.ClusterName), + // FIXME: dispatch secret from api to cluster + WireguardKeysRef: common_types.LocalObjectReference{ + Name: fmt.Sprintf("%s-wg", gvpn.Name), + }, } + gvpnConn.ParsedWgParams = &networkingv1.WireguardKeys{ + PrivateKey: privateKey, + PublicKey: publicKey, + } + gvpnConn.Gateway.EnsureGVK() gv, err := d.gvpnConnRepo.Create(ctx, &gvpnConn) @@ -339,15 +369,36 @@ func (d *domain) createGlobalVPNConnection(ctx InfraContext, gvpnConn entities.G return nil, err } - if err := d.applyGlobalVPNConnection(ctx, gv); err != nil { + if err := d.resDispatcher.ApplyToTargetCluster(ctx, gvpnConn.DispatchAddr, &corev1.Secret{ + TypeMeta: metav1.TypeMeta{ + APIVersion: "v1", + Kind: "Secret", + }, + ObjectMeta: metav1.ObjectMeta{ + Name: gvpnConn.Spec.WireguardKeysRef.Name, + Namespace: gvpnConn.Spec.TargetNamespace, + }, + Data: map[string][]byte{ + "public_key": []byte(publicKey), + "private_key": []byte(privateKey), + }, + }, gvpn.RecordVersion); err != nil { + return nil, err + } + + if err := d.reconGlobalVPNConnections(ctx, gvpn.Name); err != nil { return nil, err } + // if err := d.applyGlobalVPNConnection(ctx, gv); err != nil { + // return nil, err + // } + return gv, nil } func (d *domain) deleteGlobalVPNConnection(ctx InfraContext, clusterName string, gvpnName string) error { - gv, err := d.findGlobalVPNConnection(ctx, clusterName, gvpnName) + gv, err := d.findGlobalVPNConnection(ctx, ctx.AccountName, clusterName, gvpnName) if err != nil { if !errors.OfType[errors.ErrNotFound](err) { return errors.NewE(err) @@ -448,9 +499,9 @@ func (d *domain) applyGlobalVPNConnection(ctx InfraContext, gvpn *entities.Globa return d.resDispatcher.ApplyToTargetCluster(ctx, gvpn.DispatchAddr, &gvpn.Gateway, gvpn.RecordVersion) } -func (d *domain) findGlobalVPNConnection(ctx InfraContext, clusterName string, groupName string) (*entities.GlobalVPNConnection, error) { +func (d *domain) findGlobalVPNConnection(ctx context.Context, accountName string, clusterName string, groupName string) (*entities.GlobalVPNConnection, error) { cc, err := d.gvpnConnRepo.FindOne(ctx, repos.Filter{ - fields.AccountName: ctx.AccountName, + fields.AccountName: accountName, fields.ClusterName: clusterName, fields.MetadataName: groupName, }) diff --git a/apps/infra/internal/domain/templates/embed.go b/apps/infra/internal/domain/templates/embed.go index 1f846663a..1fb30e460 100644 --- a/apps/infra/internal/domain/templates/embed.go +++ b/apps/infra/internal/domain/templates/embed.go @@ -15,7 +15,9 @@ type templateFile string const ( HelmKloudliteAgent templateFile = "./helm-charts-kloudlite-agent.yml.tpl" GlobalVPNKloudliteDeviceTemplate templateFile = "./global-vpn-kloudlite-device.yml.tpl" - GatewayServiceTemplate templateFile = "./kloudlite-gateway-svc.yml.tpl" + GatewayServiceTemplate templateFile = "./kloudlite-gateway-svc.yml.tpl" + + ClusterGatewayDeploymentTemplate templateFile = "./gateway/deployment.yml.tpl" ) func Read(t templateFile) ([]byte, error) { diff --git a/apps/infra/internal/domain/templates/gateway/deployment.yml.tpl b/apps/infra/internal/domain/templates/gateway/deployment.yml.tpl new file mode 100644 index 000000000..48990f63f --- /dev/null +++ b/apps/infra/internal/domain/templates/gateway/deployment.yml.tpl @@ -0,0 +1,514 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: kl-gateway +--- + +apiVersion: v1 +kind: Namespace +metadata: + name: {{.GatewayWgSecret}} + namespace: kl-gateway +data: + private_key: "{{.GatewayPrivateKey}}" + public_key: "{{.GatewayPublicKey}}" +--- +{{- $webhookServerHttpPort := "8443" }} +{{- $gatewayAdminHttpPort := "8080" }} +{{- $gatewayWgPort := "51820" }} + +{{- $dnsUDPPortWg := "53" }} +{{- $dnsUDPPortLocal := "54" }} +{{- $dnsHttpPort := "8082" }} +{{- $kubectlProxyHttpPort := "8383" }} + +{{- $serviceBindControllerHealtCheckPort := "8081" }} +{{- $serviceBindControllerMetricsPort := "9090" }} + +{{- /* INFO: should refrain from using it, as it requires coredns to be up and running */}} +{{- /* {{- $gatewayAdminApiAddr := printf "http://%s.%s.svc.cluster.local:%s" .Name .Namespace $gatewayAdminHttpPort }} */}} + +{{- define "pod-ip" -}} +- name: POD_IP + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: status.podIP +{{- end -}} + +apiVersion: apps/v1 +kind: Deployment +metadata: {{.ObjectMeta | toJson }} +spec: + selector: + matchLabels: &labels + kloudlite.io/deployment.name: {{.ObjectMeta.Name}} + template: + metadata: + labels: + kloudlite.io/deployment.name: {{.ObjectMeta.Name}} + annotations: + kloudlite.io/gateway-extra-peers-hash: {{.GatewayWgExtraPeersHash}} + spec: + serviceAccountName: {{.ServiceAccountName}} + initContainers: + - name: wg-hostnames + image: ghcr.io/kloudlite/hub/wireguard:latest + imagePullPolicy: IfNotPresent + command: + - sh + - -c + - | + cat > /etc/wireguard/wg0.conf < Date: Tue, 8 Oct 2024 07:51:28 +0530 Subject: [PATCH 2/2] deps: updates gqlgen, and generates graphql schemas --- .../app/graph/byokcluster.resolvers.go | 2 +- .../graph/cloudprovidersecret.resolvers.go | 56 +- .../internal/app/graph/cluster.resolvers.go | 2 +- .../app/graph/common-types.resolvers.go | 2 +- .../app/graph/domainentry.resolvers.go | 2 +- .../internal/app/graph/generated/generated.go | 3716 ++++++++++++----- .../internal/app/graph/globalvpn.resolvers.go | 11 +- .../app/graph/globalvpndevice.resolvers.go | 2 +- .../app/graph/helmrelease.resolvers.go | 2 +- .../internal/app/graph/model/models_gen.go | 126 +- .../internal/app/graph/namespace.resolvers.go | 2 +- .../internal/app/graph/node.resolvers.go | 2 +- .../internal/app/graph/nodepool.resolvers.go | 2 +- .../app/graph/persistentvolume.resolvers.go | 2 +- .../graph/persistentvolumeclaim.resolvers.go | 2 +- .../internal/app/graph/schema.resolvers.go | 48 +- .../app/graph/volumeattachment.resolvers.go | 2 +- go.mod | 10 +- go.sum | 73 +- 19 files changed, 2942 insertions(+), 1122 deletions(-) diff --git a/apps/infra/internal/app/graph/byokcluster.resolvers.go b/apps/infra/internal/app/graph/byokcluster.resolvers.go index 617515ec1..a88a79b2d 100644 --- a/apps/infra/internal/app/graph/byokcluster.resolvers.go +++ b/apps/infra/internal/app/graph/byokcluster.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/cloudprovidersecret.resolvers.go b/apps/infra/internal/app/graph/cloudprovidersecret.resolvers.go index 4d093cfe1..185d25fb6 100644 --- a/apps/infra/internal/app/graph/cloudprovidersecret.resolvers.go +++ b/apps/infra/internal/app/graph/cloudprovidersecret.resolvers.go @@ -2,10 +2,11 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" + "fmt" "github.com/kloudlite/api/pkg/errors" "time" @@ -18,13 +19,9 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1" ) -// Aws is the resolver for the aws field. -func (r *cloudProviderSecretResolver) Aws(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials, error) { - if obj == nil || obj.CreationTime.IsZero() { - return nil, errors.Newf("CloudProviderSecret object is nil") - } - - return fn.JsonConvertP[model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials](obj.AWS) +// AWS is the resolver for the aws field. +func (r *cloudProviderSecretResolver) AWS(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials, error) { + panic(fmt.Errorf("not implemented: AWS - aws")) } // CloudProviderName is the resolver for the cloudProviderName field. @@ -40,9 +37,9 @@ func (r *cloudProviderSecretResolver) CreationTime(ctx context.Context, obj *ent return obj.CreationTime.Format(time.RFC3339), nil } -// Gcp is the resolver for the gcp field. -func (r *cloudProviderSecretResolver) Gcp(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentials, error) { - return fn.JsonConvertP[model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentials](obj.GCP) +// GCP is the resolver for the gcp field. +func (r *cloudProviderSecretResolver) GCP(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentials, error) { + panic(fmt.Errorf("not implemented: GCP - gcp")) } // ID is the resolver for the id field. @@ -63,9 +60,9 @@ func (r *cloudProviderSecretResolver) UpdateTime(ctx context.Context, obj *entit return obj.UpdateTime.Format(time.RFC3339), nil } -// Aws is the resolver for the aws field. -func (r *cloudProviderSecretInResolver) Aws(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentialsIn) error { - return fn.JsonConversion(data, &obj.AWS) +// AWS is the resolver for the aws field. +func (r *cloudProviderSecretInResolver) AWS(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentialsIn) error { + panic(fmt.Errorf("not implemented: AWS - aws")) } // CloudProviderName is the resolver for the cloudProviderName field. @@ -78,9 +75,9 @@ func (r *cloudProviderSecretInResolver) CloudProviderName(ctx context.Context, o return nil } -// Gcp is the resolver for the gcp field. -func (r *cloudProviderSecretInResolver) Gcp(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentialsIn) error { - return fn.JsonConversion(data, &obj.GCP) +// GCP is the resolver for the gcp field. +func (r *cloudProviderSecretInResolver) GCP(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentialsIn) error { + panic(fmt.Errorf("not implemented: GCP - gcp")) } // Metadata is the resolver for the metadata field. @@ -100,3 +97,28 @@ func (r *Resolver) CloudProviderSecretIn() generated.CloudProviderSecretInResolv type cloudProviderSecretResolver struct{ *Resolver } type cloudProviderSecretInResolver struct{ *Resolver } + +// !!! WARNING !!! +// The code below was going to be deleted when updating resolvers. It has been copied here so you have +// one last chance to move it out of harms way if you want. There are two reasons this happens: +// - When renaming or deleting a resolver the old code will be put in here. You can safely delete +// it when you're done. +// - You have helper methods in this file. Move them out to keep these resolver files clean. +/* + func (r *cloudProviderSecretResolver) Aws(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials, error) { + if obj == nil || obj.CreationTime.IsZero() { + return nil, errors.Newf("CloudProviderSecret object is nil") + } + + return fn.JsonConvertP[model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials](obj.AWS) +} +func (r *cloudProviderSecretResolver) Gcp(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentials, error) { + return fn.JsonConvertP[model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentials](obj.GCP) +} +func (r *cloudProviderSecretInResolver) Aws(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentialsIn) error { + return fn.JsonConversion(data, &obj.AWS) +} +func (r *cloudProviderSecretInResolver) Gcp(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentialsIn) error { + return fn.JsonConversion(data, &obj.GCP) +} +*/ diff --git a/apps/infra/internal/app/graph/cluster.resolvers.go b/apps/infra/internal/app/graph/cluster.resolvers.go index 491752b11..36a410d24 100644 --- a/apps/infra/internal/app/graph/cluster.resolvers.go +++ b/apps/infra/internal/app/graph/cluster.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/common-types.resolvers.go b/apps/infra/internal/app/graph/common-types.resolvers.go index ea5ce8f54..f770f9edc 100644 --- a/apps/infra/internal/app/graph/common-types.resolvers.go +++ b/apps/infra/internal/app/graph/common-types.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/domainentry.resolvers.go b/apps/infra/internal/app/graph/domainentry.resolvers.go index dc1325dcf..d395733bd 100644 --- a/apps/infra/internal/app/graph/domainentry.resolvers.go +++ b/apps/infra/internal/app/graph/domainentry.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/generated/generated.go b/apps/infra/internal/app/graph/generated/generated.go index c560cf602..569eb34d1 100644 --- a/apps/infra/internal/app/graph/generated/generated.go +++ b/apps/infra/internal/app/graph/generated/generated.go @@ -136,13 +136,13 @@ type ComplexityRoot struct { } CloudProviderSecret struct { + AWS func(childComplexity int) int AccountName func(childComplexity int) int - Aws func(childComplexity int) int CloudProviderName func(childComplexity int) int CreatedBy func(childComplexity int) int CreationTime func(childComplexity int) int DisplayName func(childComplexity int) int - Gcp func(childComplexity int) int + GCP func(childComplexity int) int ID func(childComplexity int) int LastUpdatedBy func(childComplexity int) int MarkedForDeletion func(childComplexity int) int @@ -236,7 +236,7 @@ type ComplexityRoot struct { } Github__com___kloudlite___api___apps___infra___internal___entities__AWSAssumeRoleParams struct { - AwsAccountID func(childComplexity int) int + AWSAccountID func(childComplexity int) int CfParamTrustedArn func(childComplexity int) int ExternalID func(childComplexity int) int RoleArn func(childComplexity int) int @@ -408,17 +408,17 @@ type ComplexityRoot struct { } Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec struct { + AWS func(childComplexity int) int AccountID func(childComplexity int) int AccountName func(childComplexity int) int AvailabilityMode func(childComplexity int) int - Aws func(childComplexity int) int BackupToS3Enabled func(childComplexity int) int CloudProvider func(childComplexity int) int CloudflareEnabled func(childComplexity int) int ClusterInternalDNSHost func(childComplexity int) int ClusterServiceCidr func(childComplexity int) int ClusterTokenRef func(childComplexity int) int - Gcp func(childComplexity int) int + GCP func(childComplexity int) int KloudliteRelease func(childComplexity int) int MessageQueueTopicName func(childComplexity int) int Output func(childComplexity int) int @@ -428,7 +428,7 @@ type ComplexityRoot struct { Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig struct { CredentialsRef func(childComplexity int) int - GcpProjectID func(childComplexity int) int + GCPProjectID func(childComplexity int) int MasterNodes func(childComplexity int) int Region func(childComplexity int) int ServiceAccount func(childComplexity int) int @@ -446,7 +446,7 @@ type ComplexityRoot struct { BootVolumeSize func(childComplexity int) int BootVolumeType func(childComplexity int) int Credentials func(childComplexity int) int - GcpProjectID func(childComplexity int) int + GCPProjectID func(childComplexity int) int MachineType func(childComplexity int) int Nodes func(childComplexity int) int PoolType func(childComplexity int) int @@ -473,9 +473,9 @@ type ComplexityRoot struct { } Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec struct { - Aws func(childComplexity int) int + AWS func(childComplexity int) int CloudProvider func(childComplexity int) int - Gcp func(childComplexity int) int + GCP func(childComplexity int) int MaxCount func(childComplexity int) int MinCount func(childComplexity int) int NodeLabels func(childComplexity int) int @@ -891,8 +891,8 @@ type ComplexityRoot struct { } K8s__io___api___core___v1__PersistentVolumeSpec struct { + AWSElasticBlockStore func(childComplexity int) int AccessModes func(childComplexity int) int - AwsElasticBlockStore func(childComplexity int) int AzureDisk func(childComplexity int) int AzureFile func(childComplexity int) int Capacity func(childComplexity int) int @@ -1308,7 +1308,7 @@ type ComplexityRoot struct { } Query struct { - InfraCheckAwsAccess func(childComplexity int, cloudproviderName string) int + InfraCheckAWSAccess func(childComplexity int, cloudproviderName string) int InfraCheckNameAvailability func(childComplexity int, resType domain.ResType, clusterName *string, name string) int InfraGetBYOKCluster func(childComplexity int, name string) int InfraGetCluster func(childComplexity int, name string) int @@ -1386,12 +1386,12 @@ type BYOKClusterResolver interface { ClusterDNSSuffix(ctx context.Context, obj *entities.BYOKCluster) (string, error) } type CloudProviderSecretResolver interface { - Aws(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials, error) + AWS(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials, error) CloudProviderName(ctx context.Context, obj *entities.CloudProviderSecret) (model.GithubComKloudliteOperatorApisCommonTypesCloudProvider, error) CreationTime(ctx context.Context, obj *entities.CloudProviderSecret) (string, error) - Gcp(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentials, error) + GCP(ctx context.Context, obj *entities.CloudProviderSecret) (*model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentials, error) ID(ctx context.Context, obj *entities.CloudProviderSecret) (repos.ID, error) UpdateTime(ctx context.Context, obj *entities.CloudProviderSecret) (string, error) @@ -1569,7 +1569,7 @@ type QueryResolver interface { InfraGetProviderSecret(ctx context.Context, name string) (*entities.CloudProviderSecret, error) InfraListDomainEntries(ctx context.Context, search *model.SearchDomainEntry, pagination *repos.CursorPagination) (*model.DomainEntryPaginatedRecords, error) InfraGetDomainEntry(ctx context.Context, domainName string) (*entities.DomainEntry, error) - InfraCheckAwsAccess(ctx context.Context, cloudproviderName string) (*model.CheckAwsAccessOutput, error) + InfraCheckAWSAccess(ctx context.Context, cloudproviderName string) (*model.CheckAWSAccessOutput, error) InfraListHelmReleases(ctx context.Context, clusterName string, search *model.SearchHelmRelease, pagination *repos.CursorPagination) (*model.HelmReleasePaginatedRecords, error) InfraGetHelmRelease(ctx context.Context, clusterName string, name string) (*entities.HelmRelease, error) InfraListManagedServiceTemplates(ctx context.Context) ([]*entities.MsvcTemplate, error) @@ -1600,10 +1600,10 @@ type BYOKClusterInResolver interface { Visibility(ctx context.Context, obj *entities.BYOKCluster, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesClusterVisbilityIn) error } type CloudProviderSecretInResolver interface { - Aws(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentialsIn) error + AWS(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentialsIn) error CloudProviderName(ctx context.Context, obj *entities.CloudProviderSecret, data model.GithubComKloudliteOperatorApisCommonTypesCloudProvider) error - Gcp(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentialsIn) error + GCP(ctx context.Context, obj *entities.CloudProviderSecret, data *model.GithubComKloudliteAPIAppsInfraInternalEntitiesGCPSecretCredentialsIn) error Metadata(ctx context.Context, obj *entities.CloudProviderSecret, data *v1.ObjectMeta) error } type ClusterInResolver interface { @@ -1874,19 +1874,19 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.CheckNameAvailabilityOutput.SuggestedNames(childComplexity), true - case "CloudProviderSecret.accountName": - if e.complexity.CloudProviderSecret.AccountName == nil { + case "CloudProviderSecret.aws": + if e.complexity.CloudProviderSecret.AWS == nil { break } - return e.complexity.CloudProviderSecret.AccountName(childComplexity), true + return e.complexity.CloudProviderSecret.AWS(childComplexity), true - case "CloudProviderSecret.aws": - if e.complexity.CloudProviderSecret.Aws == nil { + case "CloudProviderSecret.accountName": + if e.complexity.CloudProviderSecret.AccountName == nil { break } - return e.complexity.CloudProviderSecret.Aws(childComplexity), true + return e.complexity.CloudProviderSecret.AccountName(childComplexity), true case "CloudProviderSecret.cloudProviderName": if e.complexity.CloudProviderSecret.CloudProviderName == nil { @@ -1917,11 +1917,11 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.CloudProviderSecret.DisplayName(childComplexity), true case "CloudProviderSecret.gcp": - if e.complexity.CloudProviderSecret.Gcp == nil { + if e.complexity.CloudProviderSecret.GCP == nil { break } - return e.complexity.CloudProviderSecret.Gcp(childComplexity), true + return e.complexity.CloudProviderSecret.GCP(childComplexity), true case "CloudProviderSecret.id": if e.complexity.CloudProviderSecret.ID == nil { @@ -2344,11 +2344,11 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.EncodedValue.Value(childComplexity), true case "Github__com___kloudlite___api___apps___infra___internal___entities__AWSAssumeRoleParams.awsAccountId": - if e.complexity.Github__com___kloudlite___api___apps___infra___internal___entities__AWSAssumeRoleParams.AwsAccountID == nil { + if e.complexity.Github__com___kloudlite___api___apps___infra___internal___entities__AWSAssumeRoleParams.AWSAccountID == nil { break } - return e.complexity.Github__com___kloudlite___api___apps___infra___internal___entities__AWSAssumeRoleParams.AwsAccountID(childComplexity), true + return e.complexity.Github__com___kloudlite___api___apps___infra___internal___entities__AWSAssumeRoleParams.AWSAccountID(childComplexity), true case "Github__com___kloudlite___api___apps___infra___internal___entities__AWSAssumeRoleParams.cfParamTrustedARN": if e.complexity.Github__com___kloudlite___api___apps___infra___internal___entities__AWSAssumeRoleParams.CfParamTrustedArn == nil { @@ -3064,6 +3064,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterOutput.SecretName(childComplexity), true + case "Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.aws": + if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.AWS == nil { + break + } + + return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.AWS(childComplexity), true + case "Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.accountId": if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.AccountID == nil { break @@ -3085,13 +3092,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.AvailabilityMode(childComplexity), true - case "Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.aws": - if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.Aws == nil { - break - } - - return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.Aws(childComplexity), true - case "Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.backupToS3Enabled": if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.BackupToS3Enabled == nil { break @@ -3135,11 +3135,11 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.ClusterTokenRef(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.gcp": - if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.Gcp == nil { + if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.GCP == nil { break } - return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.Gcp(childComplexity), true + return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.GCP(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.kloudliteRelease": if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__ClusterSpec.KloudliteRelease == nil { @@ -3184,11 +3184,11 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig.CredentialsRef(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig.gcpProjectID": - if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig.GcpProjectID == nil { + if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig.GCPProjectID == nil { break } - return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig.GcpProjectID(childComplexity), true + return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig.GCPProjectID(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig.masterNodes": if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig.MasterNodes == nil { @@ -3268,11 +3268,11 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig.Credentials(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig.gcpProjectID": - if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig.GcpProjectID == nil { + if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig.GCPProjectID == nil { break } - return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig.GcpProjectID(childComplexity), true + return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig.GCPProjectID(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig.machineType": if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig.MachineType == nil { @@ -3373,11 +3373,11 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__MasterNodeProps.Role(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.aws": - if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.Aws == nil { + if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.AWS == nil { break } - return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.Aws(childComplexity), true + return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.AWS(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.cloudProvider": if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.CloudProvider == nil { @@ -3387,11 +3387,11 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.CloudProvider(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.gcp": - if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.Gcp == nil { + if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.GCP == nil { break } - return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.Gcp(childComplexity), true + return e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.GCP(childComplexity), true case "Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.maxCount": if e.complexity.Github__com___kloudlite___operator___apis___clusters___v1__NodePoolSpec.MaxCount == nil { @@ -5185,19 +5185,19 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.K8s__io___api___core___v1__PersistentVolumeClaimStatus.Phase(childComplexity), true - case "K8s__io___api___core___v1__PersistentVolumeSpec.accessModes": - if e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AccessModes == nil { + case "K8s__io___api___core___v1__PersistentVolumeSpec.awsElasticBlockStore": + if e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AWSElasticBlockStore == nil { break } - return e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AccessModes(childComplexity), true + return e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AWSElasticBlockStore(childComplexity), true - case "K8s__io___api___core___v1__PersistentVolumeSpec.awsElasticBlockStore": - if e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AwsElasticBlockStore == nil { + case "K8s__io___api___core___v1__PersistentVolumeSpec.accessModes": + if e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AccessModes == nil { break } - return e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AwsElasticBlockStore(childComplexity), true + return e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AccessModes(childComplexity), true case "K8s__io___api___core___v1__PersistentVolumeSpec.azureDisk": if e.complexity.K8s__io___api___core___v1__PersistentVolumeSpec.AzureDisk == nil { @@ -7227,7 +7227,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.PersistentVolumePaginatedRecords.TotalCount(childComplexity), true case "Query.infra_checkAwsAccess": - if e.complexity.Query.InfraCheckAwsAccess == nil { + if e.complexity.Query.InfraCheckAWSAccess == nil { break } @@ -7236,7 +7236,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return 0, false } - return e.complexity.Query.InfraCheckAwsAccess(childComplexity, args["cloudproviderName"].(string)), true + return e.complexity.Query.InfraCheckAWSAccess(childComplexity, args["cloudproviderName"].(string)), true case "Query.infra_checkNameAvailability": if e.complexity.Query.InfraCheckNameAvailability == nil { @@ -10210,7 +10210,7 @@ input VolumeAttachmentIn { directive @interfaceObject on OBJECT directive @link(import: [String!], url: String!) repeatable on SCHEMA directive @override(from: String!, label: String) on FIELD_DEFINITION - directive @policy(policies: [[federation__Policy!]!]!) on + directive @policy(policies: [[federation__Policy!]!]!) on | FIELD_DEFINITION | OBJECT | INTERFACE @@ -10218,7 +10218,7 @@ input VolumeAttachmentIn { | ENUM directive @provides(fields: FieldSet!) on FIELD_DEFINITION directive @requires(fields: FieldSet!) on FIELD_DEFINITION - directive @requiresScopes(scopes: [[federation__Scope!]!]!) on + directive @requiresScopes(scopes: [[federation__Scope!]!]!) on | FIELD_DEFINITION | OBJECT | INTERFACE @@ -10260,1208 +10260,2879 @@ var parsedSchema = gqlparser.MustLoadSchema(sources...) func (ec *executionContext) field_Mutation_infra_createBYOKCluster_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.BYOKCluster - if tmp, ok := rawArgs["cluster"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cluster")) - arg0, err = ec.unmarshalNBYOKClusterIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐBYOKCluster(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_createBYOKCluster_argsCluster(ctx, rawArgs) + if err != nil { + return nil, err } args["cluster"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_createBYOKCluster_argsCluster( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.BYOKCluster, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["cluster"] + if !ok { + var zeroVal entities.BYOKCluster + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("cluster")) + if tmp, ok := rawArgs["cluster"]; ok { + return ec.unmarshalNBYOKClusterIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐBYOKCluster(ctx, tmp) + } + + var zeroVal entities.BYOKCluster + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_createCluster_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.Cluster - if tmp, ok := rawArgs["cluster"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cluster")) - arg0, err = ec.unmarshalNClusterIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐCluster(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_createCluster_argsCluster(ctx, rawArgs) + if err != nil { + return nil, err } args["cluster"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_createCluster_argsCluster( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.Cluster, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["cluster"] + if !ok { + var zeroVal entities.Cluster + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("cluster")) + if tmp, ok := rawArgs["cluster"]; ok { + return ec.unmarshalNClusterIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐCluster(ctx, tmp) + } + + var zeroVal entities.Cluster + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_createDomainEntry_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.DomainEntry - if tmp, ok := rawArgs["domainEntry"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainEntry")) - arg0, err = ec.unmarshalNDomainEntryIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐDomainEntry(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_createDomainEntry_argsDomainEntry(ctx, rawArgs) + if err != nil { + return nil, err } args["domainEntry"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_createDomainEntry_argsDomainEntry( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.DomainEntry, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["domainEntry"] + if !ok { + var zeroVal entities.DomainEntry + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("domainEntry")) + if tmp, ok := rawArgs["domainEntry"]; ok { + return ec.unmarshalNDomainEntryIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐDomainEntry(ctx, tmp) + } + + var zeroVal entities.DomainEntry + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_createGlobalVPNDevice_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.GlobalVPNDevice - if tmp, ok := rawArgs["gvpnDevice"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpnDevice")) - arg0, err = ec.unmarshalNGlobalVPNDeviceIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐGlobalVPNDevice(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_createGlobalVPNDevice_argsGvpnDevice(ctx, rawArgs) + if err != nil { + return nil, err } args["gvpnDevice"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_createGlobalVPNDevice_argsGvpnDevice( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.GlobalVPNDevice, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["gvpnDevice"] + if !ok { + var zeroVal entities.GlobalVPNDevice + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpnDevice")) + if tmp, ok := rawArgs["gvpnDevice"]; ok { + return ec.unmarshalNGlobalVPNDeviceIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐGlobalVPNDevice(ctx, tmp) + } + + var zeroVal entities.GlobalVPNDevice + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_createGlobalVPN_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.GlobalVPN - if tmp, ok := rawArgs["gvpn"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) - arg0, err = ec.unmarshalNGlobalVPNIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐGlobalVPN(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_createGlobalVPN_argsGvpn(ctx, rawArgs) + if err != nil { + return nil, err } args["gvpn"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_createGlobalVPN_argsGvpn( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.GlobalVPN, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["gvpn"] + if !ok { + var zeroVal entities.GlobalVPN + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) + if tmp, ok := rawArgs["gvpn"]; ok { + return ec.unmarshalNGlobalVPNIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐGlobalVPN(ctx, tmp) + } + + var zeroVal entities.GlobalVPN + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_createHelmRelease_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_createHelmRelease_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 entities.HelmRelease - if tmp, ok := rawArgs["release"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("release")) - arg1, err = ec.unmarshalNHelmReleaseIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐHelmRelease(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_createHelmRelease_argsRelease(ctx, rawArgs) + if err != nil { + return nil, err } args["release"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_createHelmRelease_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_createHelmRelease_argsRelease( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.HelmRelease, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["release"] + if !ok { + var zeroVal entities.HelmRelease + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("release")) + if tmp, ok := rawArgs["release"]; ok { + return ec.unmarshalNHelmReleaseIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐHelmRelease(ctx, tmp) + } + + var zeroVal entities.HelmRelease + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_createNodePool_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_createNodePool_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 entities.NodePool - if tmp, ok := rawArgs["pool"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pool")) - arg1, err = ec.unmarshalNNodePoolIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐNodePool(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_createNodePool_argsPool(ctx, rawArgs) + if err != nil { + return nil, err } args["pool"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_createNodePool_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_createNodePool_argsPool( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.NodePool, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pool"] + if !ok { + var zeroVal entities.NodePool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pool")) + if tmp, ok := rawArgs["pool"]; ok { + return ec.unmarshalNNodePoolIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐNodePool(ctx, tmp) + } + + var zeroVal entities.NodePool + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_createProviderSecret_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.CloudProviderSecret - if tmp, ok := rawArgs["secret"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("secret")) - arg0, err = ec.unmarshalNCloudProviderSecretIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐCloudProviderSecret(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_createProviderSecret_argsSecret(ctx, rawArgs) + if err != nil { + return nil, err } args["secret"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_createProviderSecret_argsSecret( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.CloudProviderSecret, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["secret"] + if !ok { + var zeroVal entities.CloudProviderSecret + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("secret")) + if tmp, ok := rawArgs["secret"]; ok { + return ec.unmarshalNCloudProviderSecretIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐCloudProviderSecret(ctx, tmp) + } + + var zeroVal entities.CloudProviderSecret + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deleteBYOKCluster_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deleteBYOKCluster_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_deleteBYOKCluster_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deleteCluster_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deleteCluster_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_deleteCluster_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deleteDomainEntry_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["domainName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deleteDomainEntry_argsDomainName(ctx, rawArgs) + if err != nil { + return nil, err } args["domainName"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_deleteDomainEntry_argsDomainName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["domainName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("domainName")) + if tmp, ok := rawArgs["domainName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deleteGlobalVPNDevice_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["gvpn"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deleteGlobalVPNDevice_argsGvpn(ctx, rawArgs) + if err != nil { + return nil, err } args["gvpn"] = arg0 - var arg1 string - if tmp, ok := rawArgs["deviceName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deviceName")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_deleteGlobalVPNDevice_argsDeviceName(ctx, rawArgs) + if err != nil { + return nil, err } args["deviceName"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_deleteGlobalVPNDevice_argsGvpn( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["gvpn"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) + if tmp, ok := rawArgs["gvpn"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_deleteGlobalVPNDevice_argsDeviceName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["deviceName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("deviceName")) + if tmp, ok := rawArgs["deviceName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deleteGlobalVPN_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deleteGlobalVPN_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_deleteGlobalVPN_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deleteHelmRelease_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deleteHelmRelease_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string - if tmp, ok := rawArgs["releaseName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("releaseName")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_deleteHelmRelease_argsReleaseName(ctx, rawArgs) + if err != nil { + return nil, err } args["releaseName"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_deleteHelmRelease_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_deleteHelmRelease_argsReleaseName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["releaseName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("releaseName")) + if tmp, ok := rawArgs["releaseName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deleteNodePool_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deleteNodePool_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string - if tmp, ok := rawArgs["poolName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("poolName")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_deleteNodePool_argsPoolName(ctx, rawArgs) + if err != nil { + return nil, err } args["poolName"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_deleteNodePool_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_deleteNodePool_argsPoolName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["poolName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("poolName")) + if tmp, ok := rawArgs["poolName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deletePV_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deletePV_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string - if tmp, ok := rawArgs["pvName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pvName")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_deletePV_argsPvName(ctx, rawArgs) + if err != nil { + return nil, err } args["pvName"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_deletePV_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_deletePV_argsPvName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pvName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pvName")) + if tmp, ok := rawArgs["pvName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_deleteProviderSecret_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["secretName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("secretName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_deleteProviderSecret_argsSecretName(ctx, rawArgs) + if err != nil { + return nil, err } args["secretName"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_deleteProviderSecret_argsSecretName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["secretName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("secretName")) + if tmp, ok := rawArgs["secretName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_updateBYOKCluster_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_updateBYOKCluster_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string - if tmp, ok := rawArgs["displayName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("displayName")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_updateBYOKCluster_argsDisplayName(ctx, rawArgs) + if err != nil { + return nil, err } args["displayName"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_updateBYOKCluster_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_updateBYOKCluster_argsDisplayName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["displayName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("displayName")) + if tmp, ok := rawArgs["displayName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_updateCluster_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.Cluster - if tmp, ok := rawArgs["cluster"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cluster")) - arg0, err = ec.unmarshalNClusterIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐCluster(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_updateCluster_argsCluster(ctx, rawArgs) + if err != nil { + return nil, err } args["cluster"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_updateCluster_argsCluster( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.Cluster, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["cluster"] + if !ok { + var zeroVal entities.Cluster + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("cluster")) + if tmp, ok := rawArgs["cluster"]; ok { + return ec.unmarshalNClusterIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐCluster(ctx, tmp) + } + + var zeroVal entities.Cluster + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_updateDomainEntry_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.DomainEntry - if tmp, ok := rawArgs["domainEntry"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainEntry")) - arg0, err = ec.unmarshalNDomainEntryIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐDomainEntry(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_updateDomainEntry_argsDomainEntry(ctx, rawArgs) + if err != nil { + return nil, err } args["domainEntry"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_updateDomainEntry_argsDomainEntry( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.DomainEntry, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["domainEntry"] + if !ok { + var zeroVal entities.DomainEntry + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("domainEntry")) + if tmp, ok := rawArgs["domainEntry"]; ok { + return ec.unmarshalNDomainEntryIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐDomainEntry(ctx, tmp) + } + + var zeroVal entities.DomainEntry + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_updateGlobalVPNDevice_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.GlobalVPNDevice - if tmp, ok := rawArgs["gvpnDevice"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpnDevice")) - arg0, err = ec.unmarshalNGlobalVPNDeviceIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐGlobalVPNDevice(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_updateGlobalVPNDevice_argsGvpnDevice(ctx, rawArgs) + if err != nil { + return nil, err } args["gvpnDevice"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_updateGlobalVPNDevice_argsGvpnDevice( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.GlobalVPNDevice, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["gvpnDevice"] + if !ok { + var zeroVal entities.GlobalVPNDevice + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpnDevice")) + if tmp, ok := rawArgs["gvpnDevice"]; ok { + return ec.unmarshalNGlobalVPNDeviceIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐGlobalVPNDevice(ctx, tmp) + } + + var zeroVal entities.GlobalVPNDevice + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_updateGlobalVPN_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.GlobalVPN - if tmp, ok := rawArgs["gvpn"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) - arg0, err = ec.unmarshalNGlobalVPNIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐGlobalVPN(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_updateGlobalVPN_argsGvpn(ctx, rawArgs) + if err != nil { + return nil, err } args["gvpn"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_updateGlobalVPN_argsGvpn( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.GlobalVPN, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["gvpn"] + if !ok { + var zeroVal entities.GlobalVPN + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) + if tmp, ok := rawArgs["gvpn"]; ok { + return ec.unmarshalNGlobalVPNIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐGlobalVPN(ctx, tmp) + } + + var zeroVal entities.GlobalVPN + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_updateHelmRelease_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_updateHelmRelease_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 entities.HelmRelease - if tmp, ok := rawArgs["release"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("release")) - arg1, err = ec.unmarshalNHelmReleaseIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐHelmRelease(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_updateHelmRelease_argsRelease(ctx, rawArgs) + if err != nil { + return nil, err } args["release"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_updateHelmRelease_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_updateHelmRelease_argsRelease( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.HelmRelease, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["release"] + if !ok { + var zeroVal entities.HelmRelease + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("release")) + if tmp, ok := rawArgs["release"]; ok { + return ec.unmarshalNHelmReleaseIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐHelmRelease(ctx, tmp) + } + + var zeroVal entities.HelmRelease + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_updateNodePool_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_updateNodePool_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 entities.NodePool - if tmp, ok := rawArgs["pool"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pool")) - arg1, err = ec.unmarshalNNodePoolIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐNodePool(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Mutation_infra_updateNodePool_argsPool(ctx, rawArgs) + if err != nil { + return nil, err } args["pool"] = arg1 return args, nil } +func (ec *executionContext) field_Mutation_infra_updateNodePool_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Mutation_infra_updateNodePool_argsPool( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.NodePool, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pool"] + if !ok { + var zeroVal entities.NodePool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pool")) + if tmp, ok := rawArgs["pool"]; ok { + return ec.unmarshalNNodePoolIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐNodePool(ctx, tmp) + } + + var zeroVal entities.NodePool + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_updateProviderSecret_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 entities.CloudProviderSecret - if tmp, ok := rawArgs["secret"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("secret")) - arg0, err = ec.unmarshalNCloudProviderSecretIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐCloudProviderSecret(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_updateProviderSecret_argsSecret(ctx, rawArgs) + if err != nil { + return nil, err } args["secret"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_updateProviderSecret_argsSecret( + ctx context.Context, + rawArgs map[string]interface{}, +) (entities.CloudProviderSecret, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["secret"] + if !ok { + var zeroVal entities.CloudProviderSecret + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("secret")) + if tmp, ok := rawArgs["secret"]; ok { + return ec.unmarshalNCloudProviderSecretIn2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋentitiesᚐCloudProviderSecret(ctx, tmp) + } + + var zeroVal entities.CloudProviderSecret + return zeroVal, nil +} func (ec *executionContext) field_Mutation_infra_upgradeHelmKloudliteAgent_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Mutation_infra_upgradeHelmKloudliteAgent_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 return args, nil } +func (ec *executionContext) field_Mutation_infra_upgradeHelmKloudliteAgent_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query___type_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 return args, nil } +func (ec *executionContext) field_Query___type_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_checkAwsAccess_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["cloudproviderName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cloudproviderName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_checkAwsAccess_argsCloudproviderName(ctx, rawArgs) + if err != nil { + return nil, err } args["cloudproviderName"] = arg0 return args, nil } +func (ec *executionContext) field_Query_infra_checkAwsAccess_argsCloudproviderName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["cloudproviderName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("cloudproviderName")) + if tmp, ok := rawArgs["cloudproviderName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_checkNameAvailability_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 domain.ResType - if tmp, ok := rawArgs["resType"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("resType")) - arg0, err = ec.unmarshalNResType2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋdomainᚐResType(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_checkNameAvailability_argsResType(ctx, rawArgs) + if err != nil { + return nil, err } args["resType"] = arg0 - var arg1 *string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_checkNameAvailability_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg1 - var arg2 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg2, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg2, err := ec.field_Query_infra_checkNameAvailability_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg2 return args, nil } +func (ec *executionContext) field_Query_infra_checkNameAvailability_argsResType( + ctx context.Context, + rawArgs map[string]interface{}, +) (domain.ResType, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["resType"] + if !ok { + var zeroVal domain.ResType + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("resType")) + if tmp, ok := rawArgs["resType"]; ok { + return ec.unmarshalNResType2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋdomainᚐResType(ctx, tmp) + } + + var zeroVal domain.ResType + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_checkNameAvailability_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (*string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal *string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalOString2ᚖstring(ctx, tmp) + } + + var zeroVal *string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_checkNameAvailability_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getBYOKCluster_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getBYOKCluster_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 return args, nil } +func (ec *executionContext) field_Query_infra_getBYOKCluster_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getCluster_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getCluster_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 return args, nil } +func (ec *executionContext) field_Query_infra_getCluster_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getDomainEntry_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["domainName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getDomainEntry_argsDomainName(ctx, rawArgs) + if err != nil { + return nil, err } args["domainName"] = arg0 return args, nil } +func (ec *executionContext) field_Query_infra_getDomainEntry_argsDomainName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["domainName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("domainName")) + if tmp, ok := rawArgs["domainName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getGlobalVPNDevice_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["gvpn"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getGlobalVPNDevice_argsGvpn(ctx, rawArgs) + if err != nil { + return nil, err } args["gvpn"] = arg0 - var arg1 string - if tmp, ok := rawArgs["deviceName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deviceName")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_getGlobalVPNDevice_argsDeviceName(ctx, rawArgs) + if err != nil { + return nil, err } args["deviceName"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_getGlobalVPNDevice_argsGvpn( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["gvpn"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) + if tmp, ok := rawArgs["gvpn"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getGlobalVPNDevice_argsDeviceName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["deviceName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("deviceName")) + if tmp, ok := rawArgs["deviceName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getGlobalVPN_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getGlobalVPN_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 return args, nil } +func (ec *executionContext) field_Query_infra_getGlobalVPN_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getHelmRelease_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getHelmRelease_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_getHelmRelease_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_getHelmRelease_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getHelmRelease_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getManagedServiceTemplate_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["category"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getManagedServiceTemplate_argsCategory(ctx, rawArgs) + if err != nil { + return nil, err } args["category"] = arg0 - var arg1 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_getManagedServiceTemplate_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_getManagedServiceTemplate_argsCategory( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["category"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("category")) + if tmp, ok := rawArgs["category"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getManagedServiceTemplate_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getNamespace_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getNamespace_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_getNamespace_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_getNamespace_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getNamespace_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getNodePool_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getNodePool_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string - if tmp, ok := rawArgs["poolName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("poolName")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_getNodePool_argsPoolName(ctx, rawArgs) + if err != nil { + return nil, err } args["poolName"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_getNodePool_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getNodePool_argsPoolName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["poolName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("poolName")) + if tmp, ok := rawArgs["poolName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getPVC_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getPVC_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string + arg1, err := ec.field_Query_infra_getPVC_argsName(ctx, rawArgs) + if err != nil { + return nil, err + } + args["name"] = arg1 + return args, nil +} +func (ec *executionContext) field_Query_infra_getPVC_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getPVC_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getPV_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { + var err error + args := map[string]interface{}{} + arg0, err := ec.field_Query_infra_getPV_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err + } + args["clusterName"] = arg0 + arg1, err := ec.field_Query_infra_getPV_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_getPV_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } -func (ec *executionContext) field_Query_infra_getPV_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - var arg0 string + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + return ec.unmarshalNString2string(ctx, tmp) } - args["clusterName"] = arg0 - var arg1 string + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getPV_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + return ec.unmarshalNString2string(ctx, tmp) } - args["name"] = arg1 - return args, nil + + var zeroVal string + return zeroVal, nil } func (ec *executionContext) field_Query_infra_getProviderSecret_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getProviderSecret_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 return args, nil } +func (ec *executionContext) field_Query_infra_getProviderSecret_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_getVolumeAttachment_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_getVolumeAttachment_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg1, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_getVolumeAttachment_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_getVolumeAttachment_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_getVolumeAttachment_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listBYOKClusters_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 *model.SearchCluster - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg0, err = ec.unmarshalOSearchCluster2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchCluster(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listBYOKClusters_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg0 - var arg1 *repos.CursorPagination - if tmp, ok := rawArgs["pagination"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) - arg1, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listBYOKClusters_argsPagination(ctx, rawArgs) + if err != nil { + return nil, err } args["pagination"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_listBYOKClusters_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchCluster, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchCluster + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchCluster2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchCluster(ctx, tmp) + } + + var zeroVal *model.SearchCluster + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listBYOKClusters_argsPagination( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pagination"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) + if tmp, ok := rawArgs["pagination"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listClusters_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 *model.SearchCluster - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg0, err = ec.unmarshalOSearchCluster2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchCluster(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listClusters_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg0 - var arg1 *repos.CursorPagination - if tmp, ok := rawArgs["pagination"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) - arg1, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listClusters_argsPagination(ctx, rawArgs) + if err != nil { + return nil, err } args["pagination"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_listClusters_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchCluster, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchCluster + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchCluster2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchCluster(ctx, tmp) + } + + var zeroVal *model.SearchCluster + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listClusters_argsPagination( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pagination"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) + if tmp, ok := rawArgs["pagination"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listDomainEntries_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 *model.SearchDomainEntry - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg0, err = ec.unmarshalOSearchDomainEntry2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchDomainEntry(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listDomainEntries_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg0 - var arg1 *repos.CursorPagination - if tmp, ok := rawArgs["pagination"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) - arg1, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listDomainEntries_argsPagination(ctx, rawArgs) + if err != nil { + return nil, err } args["pagination"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_listDomainEntries_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchDomainEntry, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchDomainEntry + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchDomainEntry2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchDomainEntry(ctx, tmp) + } + + var zeroVal *model.SearchDomainEntry + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listDomainEntries_argsPagination( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pagination"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) + if tmp, ok := rawArgs["pagination"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listGlobalVPNDevices_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["gvpn"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listGlobalVPNDevices_argsGvpn(ctx, rawArgs) + if err != nil { + return nil, err } args["gvpn"] = arg0 - var arg1 *model.SearchGlobalVPNDevices - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg1, err = ec.unmarshalOSearchGlobalVPNDevices2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchGlobalVPNDevices(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listGlobalVPNDevices_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg1 - var arg2 *repos.CursorPagination - if tmp, ok := rawArgs["pagination"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) - arg2, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg2, err := ec.field_Query_infra_listGlobalVPNDevices_argsPagination(ctx, rawArgs) + if err != nil { + return nil, err } args["pagination"] = arg2 return args, nil } +func (ec *executionContext) field_Query_infra_listGlobalVPNDevices_argsGvpn( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["gvpn"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("gvpn")) + if tmp, ok := rawArgs["gvpn"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listGlobalVPNDevices_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchGlobalVPNDevices, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchGlobalVPNDevices + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchGlobalVPNDevices2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchGlobalVPNDevices(ctx, tmp) + } + + var zeroVal *model.SearchGlobalVPNDevices + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listGlobalVPNDevices_argsPagination( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pagination"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) + if tmp, ok := rawArgs["pagination"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listGlobalVPNs_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 *model.SearchGlobalVPNs - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg0, err = ec.unmarshalOSearchGlobalVPNs2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchGlobalVPNs(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listGlobalVPNs_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg0 - var arg1 *repos.CursorPagination - if tmp, ok := rawArgs["pagination"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) - arg1, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listGlobalVPNs_argsPagination(ctx, rawArgs) + if err != nil { + return nil, err } args["pagination"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_listGlobalVPNs_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchGlobalVPNs, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchGlobalVPNs + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchGlobalVPNs2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchGlobalVPNs(ctx, tmp) + } + + var zeroVal *model.SearchGlobalVPNs + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listGlobalVPNs_argsPagination( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pagination"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) + if tmp, ok := rawArgs["pagination"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listHelmReleases_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listHelmReleases_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 *model.SearchHelmRelease - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg1, err = ec.unmarshalOSearchHelmRelease2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchHelmRelease(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listHelmReleases_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg1 - var arg2 *repos.CursorPagination - if tmp, ok := rawArgs["pagination"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) - arg2, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg2, err := ec.field_Query_infra_listHelmReleases_argsPagination(ctx, rawArgs) + if err != nil { + return nil, err } args["pagination"] = arg2 return args, nil } +func (ec *executionContext) field_Query_infra_listHelmReleases_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listHelmReleases_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchHelmRelease, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchHelmRelease + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchHelmRelease2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchHelmRelease(ctx, tmp) + } + + var zeroVal *model.SearchHelmRelease + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listHelmReleases_argsPagination( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pagination"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) + if tmp, ok := rawArgs["pagination"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listNamespaces_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listNamespaces_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 *model.SearchNamespaces - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg1, err = ec.unmarshalOSearchNamespaces2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchNamespaces(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listNamespaces_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg1 - var arg2 *repos.CursorPagination - if tmp, ok := rawArgs["pq"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pq")) - arg2, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg2, err := ec.field_Query_infra_listNamespaces_argsPq(ctx, rawArgs) + if err != nil { + return nil, err } args["pq"] = arg2 return args, nil } +func (ec *executionContext) field_Query_infra_listNamespaces_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listNamespaces_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchNamespaces, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchNamespaces + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchNamespaces2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchNamespaces(ctx, tmp) + } + + var zeroVal *model.SearchNamespaces + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listNamespaces_argsPq( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pq"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pq")) + if tmp, ok := rawArgs["pq"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listNodePools_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listNodePools_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 *model.SearchNodepool - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg1, err = ec.unmarshalOSearchNodepool2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchNodepool(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listNodePools_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg1 - var arg2 *repos.CursorPagination - if tmp, ok := rawArgs["pagination"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) - arg2, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg2, err := ec.field_Query_infra_listNodePools_argsPagination(ctx, rawArgs) + if err != nil { + return nil, err } args["pagination"] = arg2 return args, nil } +func (ec *executionContext) field_Query_infra_listNodePools_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listNodePools_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchNodepool, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchNodepool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchNodepool2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchNodepool(ctx, tmp) + } + + var zeroVal *model.SearchNodepool + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listNodePools_argsPagination( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pagination"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) + if tmp, ok := rawArgs["pagination"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listPVCs_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listPVCs_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 *model.SearchPersistentVolumeClaims - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg1, err = ec.unmarshalOSearchPersistentVolumeClaims2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchPersistentVolumeClaims(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listPVCs_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg1 - var arg2 *repos.CursorPagination - if tmp, ok := rawArgs["pq"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pq")) - arg2, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg2, err := ec.field_Query_infra_listPVCs_argsPq(ctx, rawArgs) + if err != nil { + return nil, err } args["pq"] = arg2 return args, nil } +func (ec *executionContext) field_Query_infra_listPVCs_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listPVCs_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchPersistentVolumeClaims, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchPersistentVolumeClaims + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchPersistentVolumeClaims2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchPersistentVolumeClaims(ctx, tmp) + } + + var zeroVal *model.SearchPersistentVolumeClaims + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listPVCs_argsPq( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pq"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pq")) + if tmp, ok := rawArgs["pq"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listPVs_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listPVs_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 *model.SearchPersistentVolumes - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg1, err = ec.unmarshalOSearchPersistentVolumes2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchPersistentVolumes(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listPVs_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg1 - var arg2 *repos.CursorPagination - if tmp, ok := rawArgs["pq"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pq")) - arg2, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg2, err := ec.field_Query_infra_listPVs_argsPq(ctx, rawArgs) + if err != nil { + return nil, err } args["pq"] = arg2 return args, nil } +func (ec *executionContext) field_Query_infra_listPVs_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listPVs_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchPersistentVolumes, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchPersistentVolumes + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchPersistentVolumes2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchPersistentVolumes(ctx, tmp) + } + + var zeroVal *model.SearchPersistentVolumes + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listPVs_argsPq( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pq"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pq")) + if tmp, ok := rawArgs["pq"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listProviderSecrets_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 *model.SearchProviderSecret - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg0, err = ec.unmarshalOSearchProviderSecret2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchProviderSecret(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listProviderSecrets_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg0 - var arg1 *repos.CursorPagination - if tmp, ok := rawArgs["pagination"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) - arg1, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listProviderSecrets_argsPagination(ctx, rawArgs) + if err != nil { + return nil, err } args["pagination"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infra_listProviderSecrets_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchProviderSecret, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchProviderSecret + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchProviderSecret2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchProviderSecret(ctx, tmp) + } + + var zeroVal *model.SearchProviderSecret + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listProviderSecrets_argsPagination( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pagination"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pagination")) + if tmp, ok := rawArgs["pagination"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infra_listVolumeAttachments_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["clusterName"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infra_listVolumeAttachments_argsClusterName(ctx, rawArgs) + if err != nil { + return nil, err } args["clusterName"] = arg0 - var arg1 *model.SearchVolumeAttachments - if tmp, ok := rawArgs["search"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) - arg1, err = ec.unmarshalOSearchVolumeAttachments2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchVolumeAttachments(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infra_listVolumeAttachments_argsSearch(ctx, rawArgs) + if err != nil { + return nil, err } args["search"] = arg1 - var arg2 *repos.CursorPagination - if tmp, ok := rawArgs["pq"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pq")) - arg2, err = ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) - if err != nil { - return nil, err - } + arg2, err := ec.field_Query_infra_listVolumeAttachments_argsPq(ctx, rawArgs) + if err != nil { + return nil, err } args["pq"] = arg2 return args, nil } +func (ec *executionContext) field_Query_infra_listVolumeAttachments_argsClusterName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["clusterName"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clusterName")) + if tmp, ok := rawArgs["clusterName"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listVolumeAttachments_argsSearch( + ctx context.Context, + rawArgs map[string]interface{}, +) (*model.SearchVolumeAttachments, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["search"] + if !ok { + var zeroVal *model.SearchVolumeAttachments + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("search")) + if tmp, ok := rawArgs["search"]; ok { + return ec.unmarshalOSearchVolumeAttachments2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐSearchVolumeAttachments(ctx, tmp) + } + + var zeroVal *model.SearchVolumeAttachments + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infra_listVolumeAttachments_argsPq( + ctx context.Context, + rawArgs map[string]interface{}, +) (*repos.CursorPagination, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["pq"] + if !ok { + var zeroVal *repos.CursorPagination + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("pq")) + if tmp, ok := rawArgs["pq"]; ok { + return ec.unmarshalOCursorPaginationIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋpkgᚋreposᚐCursorPagination(ctx, tmp) + } + + var zeroVal *repos.CursorPagination + return zeroVal, nil +} func (ec *executionContext) field_Query_infrat_getBYOKClusterSetupInstructions_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 string - if tmp, ok := rawArgs["name"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) - arg0, err = ec.unmarshalNString2string(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field_Query_infrat_getBYOKClusterSetupInstructions_argsName(ctx, rawArgs) + if err != nil { + return nil, err } args["name"] = arg0 - var arg1 *bool - if tmp, ok := rawArgs["onlyHelmValues"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("onlyHelmValues")) - arg1, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp) - if err != nil { - return nil, err - } + arg1, err := ec.field_Query_infrat_getBYOKClusterSetupInstructions_argsOnlyHelmValues(ctx, rawArgs) + if err != nil { + return nil, err } args["onlyHelmValues"] = arg1 return args, nil } +func (ec *executionContext) field_Query_infrat_getBYOKClusterSetupInstructions_argsName( + ctx context.Context, + rawArgs map[string]interface{}, +) (string, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["name"] + if !ok { + var zeroVal string + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + if tmp, ok := rawArgs["name"]; ok { + return ec.unmarshalNString2string(ctx, tmp) + } + + var zeroVal string + return zeroVal, nil +} + +func (ec *executionContext) field_Query_infrat_getBYOKClusterSetupInstructions_argsOnlyHelmValues( + ctx context.Context, + rawArgs map[string]interface{}, +) (*bool, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["onlyHelmValues"] + if !ok { + var zeroVal *bool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("onlyHelmValues")) + if tmp, ok := rawArgs["onlyHelmValues"]; ok { + return ec.unmarshalOBoolean2ᚖbool(ctx, tmp) + } + + var zeroVal *bool + return zeroVal, nil +} func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 bool - if tmp, ok := rawArgs["includeDeprecated"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) - arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field___Type_enumValues_argsIncludeDeprecated(ctx, rawArgs) + if err != nil { + return nil, err } args["includeDeprecated"] = arg0 return args, nil } +func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated( + ctx context.Context, + rawArgs map[string]interface{}, +) (bool, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["includeDeprecated"] + if !ok { + var zeroVal bool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) + if tmp, ok := rawArgs["includeDeprecated"]; ok { + return ec.unmarshalOBoolean2bool(ctx, tmp) + } + + var zeroVal bool + return zeroVal, nil +} func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - var arg0 bool - if tmp, ok := rawArgs["includeDeprecated"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) - arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp) - if err != nil { - return nil, err - } + arg0, err := ec.field___Type_fields_argsIncludeDeprecated(ctx, rawArgs) + if err != nil { + return nil, err } args["includeDeprecated"] = arg0 return args, nil } +func (ec *executionContext) field___Type_fields_argsIncludeDeprecated( + ctx context.Context, + rawArgs map[string]interface{}, +) (bool, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["includeDeprecated"] + if !ok { + var zeroVal bool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) + if tmp, ok := rawArgs["includeDeprecated"]; ok { + return ec.unmarshalOBoolean2bool(ctx, tmp) + } + + var zeroVal bool + return zeroVal, nil +} // endregion ***************************** args.gotpl ***************************** @@ -12714,7 +14385,7 @@ func (ec *executionContext) fieldContext_BYOKSetupInstruction_title(_ context.Co return fc, nil } -func (ec *executionContext) _CheckAwsAccessOutput_result(ctx context.Context, field graphql.CollectedField, obj *model.CheckAwsAccessOutput) (ret graphql.Marshaler) { +func (ec *executionContext) _CheckAwsAccessOutput_result(ctx context.Context, field graphql.CollectedField, obj *model.CheckAWSAccessOutput) (ret graphql.Marshaler) { fc, err := ec.fieldContext_CheckAwsAccessOutput_result(ctx, field) if err != nil { return graphql.Null @@ -12758,7 +14429,7 @@ func (ec *executionContext) fieldContext_CheckAwsAccessOutput_result(_ context.C return fc, nil } -func (ec *executionContext) _CheckAwsAccessOutput_installationUrl(ctx context.Context, field graphql.CollectedField, obj *model.CheckAwsAccessOutput) (ret graphql.Marshaler) { +func (ec *executionContext) _CheckAwsAccessOutput_installationUrl(ctx context.Context, field graphql.CollectedField, obj *model.CheckAWSAccessOutput) (ret graphql.Marshaler) { fc, err := ec.fieldContext_CheckAwsAccessOutput_installationUrl(ctx, field) if err != nil { return graphql.Null @@ -12945,7 +14616,7 @@ func (ec *executionContext) _CloudProviderSecret_aws(ctx context.Context, field }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.CloudProviderSecret().Aws(rctx, obj) + return ec.resolvers.CloudProviderSecret().AWS(rctx, obj) }) if err != nil { ec.Error(ctx, err) @@ -13184,7 +14855,7 @@ func (ec *executionContext) _CloudProviderSecret_gcp(ctx context.Context, field }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.CloudProviderSecret().Gcp(rctx, obj) + return ec.resolvers.CloudProviderSecret().GCP(rctx, obj) }) if err != nil { ec.Error(ctx, err) @@ -16105,7 +17776,7 @@ func (ec *executionContext) _Github__com___kloudlite___api___apps___infra___inte }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.AwsAccountID, nil + return obj.AWSAccountID, nil }) if err != nil { ec.Error(ctx, err) @@ -16476,9 +18147,9 @@ func (ec *executionContext) _Github__com___kloudlite___api___apps___infra___inte } return graphql.Null } - res := resTmp.(model.GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism) + res := resTmp.(model.GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism) fc.Result = res - return ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsAuthMechanism(ctx, field.Selections, res) + return ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSAuthMechanism(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___api___apps___infra___internal___entities__AWSSecretCredentials_authMechanism(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -18659,9 +20330,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster } return graphql.Null } - res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AwsCredentials) + res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AWSCredentials) fc.Result = res - return ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentials2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsCredentials(ctx, field.Selections, res) + return ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentials2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSCredentials(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AWSClusterConfig_credentials(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -18887,9 +20558,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster if resTmp == nil { return graphql.Null } - res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AwsVPCParams) + res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AWSVPCParams) fc.Result = res - return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsVPCParams(ctx, field.Selections, res) + return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSVPCParams(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AWSClusterConfig_vpc(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19236,9 +20907,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster if resTmp == nil { return graphql.Null } - res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig) + res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig) fc.Result = res - return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig(ctx, field.Selections, res) + return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AWSNodePoolConfig_ec2Pool(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19544,9 +21215,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster if resTmp == nil { return graphql.Null } - res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig) + res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig) fc.Result = res - return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig(ctx, field.Selections, res) + return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AWSNodePoolConfig_spotPool(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19660,7 +21331,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials_authMechanism(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsCredentials) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials_authMechanism(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSCredentials) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials_authMechanism(ctx, field) if err != nil { return graphql.Null @@ -19686,9 +21357,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster } return graphql.Null } - res := resTmp.(model.GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism) + res := resTmp.(model.GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism) fc.Result = res - return ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsAuthMechanism(ctx, field.Selections, res) + return ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSAuthMechanism(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials_authMechanism(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19704,7 +21375,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials_secretRef(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsCredentials) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials_secretRef(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSCredentials) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials_secretRef(ctx, field) if err != nil { return graphql.Null @@ -19754,7 +21425,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig_instanceType(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig_instanceType(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig_instanceType(ctx, field) if err != nil { return graphql.Null @@ -19798,7 +21469,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig_nodes(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig_nodes(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig_nodes(ctx, field) if err != nil { return graphql.Null @@ -19839,7 +21510,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode_memoryPerVcpu(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode_memoryPerVcpu(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode_memoryPerVcpu(ctx, field) if err != nil { return graphql.Null @@ -19886,7 +21557,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode_vcpu(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode_vcpu(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode_vcpu(ctx, field) if err != nil { return graphql.Null @@ -19936,7 +21607,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode_instanceTypes(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNode) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode_instanceTypes(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNode) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode_instanceTypes(ctx, field) if err != nil { return graphql.Null @@ -19980,7 +21651,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_cpuNode(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_cpuNode(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_cpuNode(ctx, field) if err != nil { return graphql.Null @@ -20003,9 +21674,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster if resTmp == nil { return graphql.Null } - res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode) + res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode) fc.Result = res - return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode(ctx, field.Selections, res) + return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_cpuNode(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -20027,7 +21698,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_gpuNode(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_gpuNode(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_gpuNode(ctx, field) if err != nil { return graphql.Null @@ -20050,9 +21721,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster if resTmp == nil { return graphql.Null } - res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNode) + res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNode) fc.Result = res - return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotGpuNode(ctx, field.Selections, res) + return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotGpuNode(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_gpuNode(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -20072,7 +21743,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_nodes(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_nodes(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_nodes(ctx, field) if err != nil { return graphql.Null @@ -20113,7 +21784,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_spotFleetTaggingRoleName(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_spotFleetTaggingRoleName(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig_spotFleetTaggingRoleName(ctx, field) if err != nil { return graphql.Null @@ -20157,7 +21828,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID_availabilityZone(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSubnetWithID) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID_availabilityZone(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSubnetWithID) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID_availabilityZone(ctx, field) if err != nil { return graphql.Null @@ -20201,7 +21872,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID_id(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSubnetWithID) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID_id(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSubnetWithID) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID_id(ctx, field) if err != nil { return graphql.Null @@ -20245,7 +21916,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams_id(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsVPCParams) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams_id(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSVPCParams) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams_id(ctx, field) if err != nil { return graphql.Null @@ -20289,7 +21960,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams_publicSubnets(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AwsVPCParams) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams_publicSubnets(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1AWSVPCParams) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams_publicSubnets(ctx, field) if err != nil { return graphql.Null @@ -20315,9 +21986,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster } return graphql.Null } - res := resTmp.([]*model.GithubComKloudliteOperatorApisClustersV1AwsSubnetWithID) + res := resTmp.([]*model.GithubComKloudliteOperatorApisClustersV1AWSSubnetWithID) fc.Result = res - return ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID2ᚕᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSubnetWithIDᚄ(ctx, field.Selections, res) + return ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID2ᚕᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSubnetWithIDᚄ(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams_publicSubnets(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -20831,7 +22502,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.Aws, nil + return obj.AWS, nil }) if err != nil { ec.Error(ctx, err) @@ -21146,7 +22817,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.Gcp, nil + return obj.GCP, nil }) if err != nil { ec.Error(ctx, err) @@ -21486,7 +23157,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.GcpProjectID, nil + return obj.GCPProjectID, nil }) if err != nil { ec.Error(ctx, err) @@ -21684,9 +23355,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster if resTmp == nil { return graphql.Null } - res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1GcpVPCParams) + res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1GCPVPCParams) fc.Result = res - return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1GcpVPCParams(ctx, field.Selections, res) + return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1GCPVPCParams(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__GCPClusterConfig_vpc(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -22031,7 +23702,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.GcpProjectID, nil + return obj.GCPProjectID, nil }) if err != nil { ec.Error(ctx, err) @@ -22309,9 +23980,9 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster if resTmp == nil { return graphql.Null } - res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1GcpVPCParams) + res := resTmp.(*model.GithubComKloudliteOperatorApisClustersV1GCPVPCParams) fc.Result = res - return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1GcpVPCParams(ctx, field.Selections, res) + return ec.marshalOGithub__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1GCPVPCParams(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__GCPNodePoolConfig_vpc(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -22457,7 +24128,7 @@ func (ec *executionContext) fieldContext_Github__com___kloudlite___operator___ap return fc, nil } -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams_name(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1GcpVPCParams) (ret graphql.Marshaler) { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams_name(ctx context.Context, field graphql.CollectedField, obj *model.GithubComKloudliteOperatorApisClustersV1GCPVPCParams) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Github__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams_name(ctx, field) if err != nil { return graphql.Null @@ -22688,7 +24359,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.Aws, nil + return obj.AWS, nil }) if err != nil { ec.Error(ctx, err) @@ -22797,7 +24468,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.Gcp, nil + return obj.GCP, nil }) if err != nil { ec.Error(ctx, err) @@ -34326,7 +35997,7 @@ func (ec *executionContext) _K8s__io___api___core___v1__PersistentVolumeSpec_aws }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return obj.AwsElasticBlockStore, nil + return obj.AWSElasticBlockStore, nil }) if err != nil { ec.Error(ctx, err) @@ -40630,15 +42301,18 @@ func (ec *executionContext) _Mutation_infra_createCluster(ctx context.Context, f ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraCreateCluster(rctx, fc.Args["cluster"].(entities.Cluster)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.Cluster + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.Cluster + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -40750,15 +42424,18 @@ func (ec *executionContext) _Mutation_infra_updateCluster(ctx context.Context, f ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpdateCluster(rctx, fc.Args["cluster"].(entities.Cluster)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.Cluster + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.Cluster + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -40870,15 +42547,18 @@ func (ec *executionContext) _Mutation_infra_deleteCluster(ctx context.Context, f ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeleteCluster(rctx, fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -40951,15 +42631,18 @@ func (ec *executionContext) _Mutation_infra_createGlobalVPN(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraCreateGlobalVpn(rctx, fc.Args["gvpn"].(entities.GlobalVPN)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.GlobalVPN + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.GlobalVPN + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41069,15 +42752,18 @@ func (ec *executionContext) _Mutation_infra_updateGlobalVPN(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpdateGlobalVpn(rctx, fc.Args["gvpn"].(entities.GlobalVPN)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.GlobalVPN + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.GlobalVPN + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41187,15 +42873,18 @@ func (ec *executionContext) _Mutation_infra_deleteGlobalVPN(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeleteGlobalVpn(rctx, fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41268,15 +42957,18 @@ func (ec *executionContext) _Mutation_infra_createGlobalVPNDevice(ctx context.Co ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraCreateGlobalVPNDevice(rctx, fc.Args["gvpnDevice"].(entities.GlobalVPNDevice)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.GlobalVPNDevice + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.GlobalVPNDevice + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41382,15 +43074,18 @@ func (ec *executionContext) _Mutation_infra_updateGlobalVPNDevice(ctx context.Co ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpdateGlobalVPNDevice(rctx, fc.Args["gvpnDevice"].(entities.GlobalVPNDevice)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.GlobalVPNDevice + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.GlobalVPNDevice + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41496,15 +43191,18 @@ func (ec *executionContext) _Mutation_infra_deleteGlobalVPNDevice(ctx context.Co ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeleteGlobalVPNDevice(rctx, fc.Args["gvpn"].(string), fc.Args["deviceName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41577,15 +43275,18 @@ func (ec *executionContext) _Mutation_infra_createBYOKCluster(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraCreateBYOKCluster(rctx, fc.Args["cluster"].(entities.BYOKCluster)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.BYOKCluster + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.BYOKCluster + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41695,15 +43396,18 @@ func (ec *executionContext) _Mutation_infra_updateBYOKCluster(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpdateBYOKCluster(rctx, fc.Args["clusterName"].(string), fc.Args["displayName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.BYOKCluster + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.BYOKCluster + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41813,15 +43517,18 @@ func (ec *executionContext) _Mutation_infra_deleteBYOKCluster(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeleteBYOKCluster(rctx, fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41894,15 +43601,18 @@ func (ec *executionContext) _Mutation_infra_upgradeHelmKloudliteAgent(ctx contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpgradeHelmKloudliteAgent(rctx, fc.Args["clusterName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -41975,15 +43685,18 @@ func (ec *executionContext) _Mutation_infra_createProviderSecret(ctx context.Con ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraCreateProviderSecret(rctx, fc.Args["secret"].(entities.CloudProviderSecret)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.CloudProviderSecret + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.CloudProviderSecret + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42081,15 +43794,18 @@ func (ec *executionContext) _Mutation_infra_updateProviderSecret(ctx context.Con ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpdateProviderSecret(rctx, fc.Args["secret"].(entities.CloudProviderSecret)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.CloudProviderSecret + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.CloudProviderSecret + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42187,15 +43903,18 @@ func (ec *executionContext) _Mutation_infra_deleteProviderSecret(ctx context.Con ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeleteProviderSecret(rctx, fc.Args["secretName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42268,15 +43987,18 @@ func (ec *executionContext) _Mutation_infra_createDomainEntry(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraCreateDomainEntry(rctx, fc.Args["domainEntry"].(entities.DomainEntry)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.DomainEntry + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.DomainEntry + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42370,15 +44092,18 @@ func (ec *executionContext) _Mutation_infra_updateDomainEntry(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpdateDomainEntry(rctx, fc.Args["domainEntry"].(entities.DomainEntry)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.DomainEntry + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.DomainEntry + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42472,15 +44197,18 @@ func (ec *executionContext) _Mutation_infra_deleteDomainEntry(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeleteDomainEntry(rctx, fc.Args["domainName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42553,15 +44281,18 @@ func (ec *executionContext) _Mutation_infra_createNodePool(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraCreateNodePool(rctx, fc.Args["clusterName"].(string), fc.Args["pool"].(entities.NodePool)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.NodePool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.NodePool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42667,15 +44398,18 @@ func (ec *executionContext) _Mutation_infra_updateNodePool(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpdateNodePool(rctx, fc.Args["clusterName"].(string), fc.Args["pool"].(entities.NodePool)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.NodePool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.NodePool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42781,15 +44515,18 @@ func (ec *executionContext) _Mutation_infra_deleteNodePool(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeleteNodePool(rctx, fc.Args["clusterName"].(string), fc.Args["poolName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42862,15 +44599,18 @@ func (ec *executionContext) _Mutation_infra_createHelmRelease(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraCreateHelmRelease(rctx, fc.Args["clusterName"].(string), fc.Args["release"].(entities.HelmRelease)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.HelmRelease + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.HelmRelease + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -42976,15 +44716,18 @@ func (ec *executionContext) _Mutation_infra_updateHelmRelease(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraUpdateHelmRelease(rctx, fc.Args["clusterName"].(string), fc.Args["release"].(entities.HelmRelease)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.HelmRelease + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.HelmRelease + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -43090,15 +44833,18 @@ func (ec *executionContext) _Mutation_infra_deleteHelmRelease(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeleteHelmRelease(rctx, fc.Args["clusterName"].(string), fc.Args["releaseName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -43171,15 +44917,18 @@ func (ec *executionContext) _Mutation_infra_deletePV(ctx context.Context, field ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().InfraDeletePv(rctx, fc.Args["clusterName"].(string), fc.Args["pvName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal bool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -48501,15 +50250,18 @@ func (ec *executionContext) _Query_infra_checkNameAvailability(ctx context.Conte ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraCheckNameAvailability(rctx, fc.Args["resType"].(domain.ResType), fc.Args["clusterName"].(*string), fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedIn == nil { - return nil, errors.New("directive isLoggedIn is not implemented") + var zeroVal *domain.CheckNameAvailabilityOutput + return zeroVal, errors.New("directive isLoggedIn is not implemented") } return ec.directives.IsLoggedIn(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *domain.CheckNameAvailabilityOutput + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -48588,15 +50340,18 @@ func (ec *executionContext) _Query_infra_listClusters(ctx context.Context, field ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListClusters(rctx, fc.Args["search"].(*model.SearchCluster), fc.Args["pagination"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.ClusterPaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.ClusterPaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -48674,15 +50429,18 @@ func (ec *executionContext) _Query_infra_getCluster(ctx context.Context, field g ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetCluster(rctx, fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.Cluster + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.Cluster + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -48794,15 +50552,18 @@ func (ec *executionContext) _Query_infra_listBYOKClusters(ctx context.Context, f ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListBYOKClusters(rctx, fc.Args["search"].(*model.SearchCluster), fc.Args["pagination"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.BYOKClusterPaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.BYOKClusterPaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -48880,15 +50641,18 @@ func (ec *executionContext) _Query_infra_getBYOKCluster(ctx context.Context, fie ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetBYOKCluster(rctx, fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.BYOKCluster + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.BYOKCluster + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -48998,15 +50762,18 @@ func (ec *executionContext) _Query_infrat_getBYOKClusterSetupInstructions(ctx co ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfratGetBYOKClusterSetupInstructions(rctx, fc.Args["name"].(string), fc.Args["onlyHelmValues"].(*bool)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal []*model.BYOKSetupInstruction + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal []*model.BYOKSetupInstruction + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49082,15 +50849,18 @@ func (ec *executionContext) _Query_infra_listGlobalVPNs(ctx context.Context, fie ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListGlobalVPNs(rctx, fc.Args["search"].(*model.SearchGlobalVPNs), fc.Args["pagination"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.GlobalVPNPaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.GlobalVPNPaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49168,15 +50938,18 @@ func (ec *executionContext) _Query_infra_getGlobalVPN(ctx context.Context, field ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetGlobalVpn(rctx, fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.GlobalVPN + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.GlobalVPN + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49286,15 +51059,18 @@ func (ec *executionContext) _Query_infra_listGlobalVPNDevices(ctx context.Contex ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListGlobalVPNDevices(rctx, fc.Args["gvpn"].(string), fc.Args["search"].(*model.SearchGlobalVPNDevices), fc.Args["pagination"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.GlobalVPNDevicePaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.GlobalVPNDevicePaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49372,15 +51148,18 @@ func (ec *executionContext) _Query_infra_getGlobalVPNDevice(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetGlobalVPNDevice(rctx, fc.Args["gvpn"].(string), fc.Args["deviceName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.GlobalVPNDevice + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.GlobalVPNDevice + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49486,15 +51265,18 @@ func (ec *executionContext) _Query_infra_listNodePools(ctx context.Context, fiel ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListNodePools(rctx, fc.Args["clusterName"].(string), fc.Args["search"].(*model.SearchNodepool), fc.Args["pagination"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.NodePoolPaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.NodePoolPaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49572,15 +51354,18 @@ func (ec *executionContext) _Query_infra_getNodePool(ctx context.Context, field ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetNodePool(rctx, fc.Args["clusterName"].(string), fc.Args["poolName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.NodePool + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.NodePool + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49686,15 +51471,18 @@ func (ec *executionContext) _Query_infra_listProviderSecrets(ctx context.Context ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListProviderSecrets(rctx, fc.Args["search"].(*model.SearchProviderSecret), fc.Args["pagination"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.CloudProviderSecretPaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.CloudProviderSecretPaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49772,15 +51560,18 @@ func (ec *executionContext) _Query_infra_getProviderSecret(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetProviderSecret(rctx, fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.CloudProviderSecret + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.CloudProviderSecret + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49878,15 +51669,18 @@ func (ec *executionContext) _Query_infra_listDomainEntries(ctx context.Context, ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListDomainEntries(rctx, fc.Args["search"].(*model.SearchDomainEntry), fc.Args["pagination"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.DomainEntryPaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.DomainEntryPaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -49964,15 +51758,18 @@ func (ec *executionContext) _Query_infra_getDomainEntry(ctx context.Context, fie ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetDomainEntry(rctx, fc.Args["domainName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.DomainEntry + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.DomainEntry + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50064,17 +51861,20 @@ func (ec *executionContext) _Query_infra_checkAwsAccess(ctx context.Context, fie resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { directive0 := func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().InfraCheckAwsAccess(rctx, fc.Args["cloudproviderName"].(string)) + return ec.resolvers.Query().InfraCheckAWSAccess(rctx, fc.Args["cloudproviderName"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.CheckAWSAccessOutput + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.CheckAWSAccessOutput + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50086,10 +51886,10 @@ func (ec *executionContext) _Query_infra_checkAwsAccess(ctx context.Context, fie if tmp == nil { return nil, nil } - if data, ok := tmp.(*model.CheckAwsAccessOutput); ok { + if data, ok := tmp.(*model.CheckAWSAccessOutput); ok { return data, nil } - return nil, fmt.Errorf(`unexpected type %T from directive, should be *github.com/kloudlite/api/apps/infra/internal/app/graph/model.CheckAwsAccessOutput`, tmp) + return nil, fmt.Errorf(`unexpected type %T from directive, should be *github.com/kloudlite/api/apps/infra/internal/app/graph/model.CheckAWSAccessOutput`, tmp) }) if err != nil { ec.Error(ctx, err) @@ -50101,9 +51901,9 @@ func (ec *executionContext) _Query_infra_checkAwsAccess(ctx context.Context, fie } return graphql.Null } - res := resTmp.(*model.CheckAwsAccessOutput) + res := resTmp.(*model.CheckAWSAccessOutput) fc.Result = res - return ec.marshalNCheckAwsAccessOutput2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐCheckAwsAccessOutput(ctx, field.Selections, res) + return ec.marshalNCheckAwsAccessOutput2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐCheckAWSAccessOutput(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_infra_checkAwsAccess(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -50153,15 +51953,18 @@ func (ec *executionContext) _Query_infra_listHelmReleases(ctx context.Context, f ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListHelmReleases(rctx, fc.Args["clusterName"].(string), fc.Args["search"].(*model.SearchHelmRelease), fc.Args["pagination"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.HelmReleasePaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.HelmReleasePaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50239,15 +52042,18 @@ func (ec *executionContext) _Query_infra_getHelmRelease(ctx context.Context, fie ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetHelmRelease(rctx, fc.Args["clusterName"].(string), fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.HelmRelease + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.HelmRelease + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50476,15 +52282,18 @@ func (ec *executionContext) _Query_infra_listPVCs(ctx context.Context, field gra ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListPVCs(rctx, fc.Args["clusterName"].(string), fc.Args["search"].(*model.SearchPersistentVolumeClaims), fc.Args["pq"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.PersistentVolumeClaimPaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.PersistentVolumeClaimPaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50562,15 +52371,18 @@ func (ec *executionContext) _Query_infra_getPVC(ctx context.Context, field graph ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetPvc(rctx, fc.Args["clusterName"].(string), fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.PersistentVolumeClaim + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.PersistentVolumeClaim + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50674,15 +52486,18 @@ func (ec *executionContext) _Query_infra_listNamespaces(ctx context.Context, fie ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListNamespaces(rctx, fc.Args["clusterName"].(string), fc.Args["search"].(*model.SearchNamespaces), fc.Args["pq"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.NamespacePaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.NamespacePaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50760,15 +52575,18 @@ func (ec *executionContext) _Query_infra_getNamespace(ctx context.Context, field ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetNamespace(rctx, fc.Args["clusterName"].(string), fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.Namespace + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.Namespace + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50872,15 +52690,18 @@ func (ec *executionContext) _Query_infra_listPVs(ctx context.Context, field grap ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListPVs(rctx, fc.Args["clusterName"].(string), fc.Args["search"].(*model.SearchPersistentVolumes), fc.Args["pq"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.PersistentVolumePaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.PersistentVolumePaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -50958,15 +52779,18 @@ func (ec *executionContext) _Query_infra_getPV(ctx context.Context, field graphq ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetPv(rctx, fc.Args["clusterName"].(string), fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.PersistentVolume + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.PersistentVolume + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -51070,15 +52894,18 @@ func (ec *executionContext) _Query_infra_listVolumeAttachments(ctx context.Conte ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraListVolumeAttachments(rctx, fc.Args["clusterName"].(string), fc.Args["search"].(*model.SearchVolumeAttachments), fc.Args["pq"].(*repos.CursorPagination)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *model.VolumeAttachmentPaginatedRecords + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *model.VolumeAttachmentPaginatedRecords + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -51156,15 +52983,18 @@ func (ec *executionContext) _Query_infra_getVolumeAttachment(ctx context.Context ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().InfraGetVolumeAttachment(rctx, fc.Args["clusterName"].(string), fc.Args["name"].(string)) } + directive1 := func(ctx context.Context) (interface{}, error) { if ec.directives.IsLoggedInAndVerified == nil { - return nil, errors.New("directive isLoggedInAndVerified is not implemented") + var zeroVal *entities.VolumeAttachment + return zeroVal, errors.New("directive isLoggedInAndVerified is not implemented") } return ec.directives.IsLoggedInAndVerified(ctx, nil, directive0) } directive2 := func(ctx context.Context) (interface{}, error) { if ec.directives.HasAccount == nil { - return nil, errors.New("directive hasAccount is not implemented") + var zeroVal *entities.VolumeAttachment + return zeroVal, errors.New("directive hasAccount is not implemented") } return ec.directives.HasAccount(ctx, nil, directive1) } @@ -54371,7 +56201,7 @@ func (ec *executionContext) unmarshalInputCloudProviderSecretIn(ctx context.Cont if err != nil { return it, err } - if err = ec.resolvers.CloudProviderSecretIn().Aws(ctx, &it, data); err != nil { + if err = ec.resolvers.CloudProviderSecretIn().AWS(ctx, &it, data); err != nil { return it, err } case "cloudProviderName": @@ -54396,7 +56226,7 @@ func (ec *executionContext) unmarshalInputCloudProviderSecretIn(ctx context.Cont if err != nil { return it, err } - if err = ec.resolvers.CloudProviderSecretIn().Gcp(ctx, &it, data); err != nil { + if err = ec.resolvers.CloudProviderSecretIn().GCP(ctx, &it, data); err != nil { return it, err } case "metadata": @@ -54617,7 +56447,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___api___apps__ if err != nil { return it, err } - it.AwsAccountID = data + it.AWSAccountID = data } } @@ -54681,7 +56511,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___api___apps__ it.AssumeRoleParams = data case "authMechanism": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("authMechanism")) - data, err := ec.unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsAuthMechanism(ctx, v) + data, err := ec.unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSAuthMechanism(ctx, v) if err != nil { return it, err } @@ -54769,7 +56599,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a switch k { case "credentials": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("credentials")) - data, err := ec.unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsCredentialsIn(ctx, v) + data, err := ec.unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSCredentialsIn(ctx, v) if err != nil { return it, err } @@ -54851,7 +56681,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a it.AvailabilityZone = data case "ec2Pool": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ec2Pool")) - data, err := ec.unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfigIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfigIn(ctx, v) + data, err := ec.unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfigIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfigIn(ctx, v) if err != nil { return it, err } @@ -54872,7 +56702,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a it.PoolType = data case "spotPool": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("spotPool")) - data, err := ec.unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfigIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfigIn(ctx, v) + data, err := ec.unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfigIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfigIn(ctx, v) if err != nil { return it, err } @@ -54883,8 +56713,8 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a return it, nil } -func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AwsCredentialsIn, error) { - var it model.GithubComKloudliteOperatorApisClustersV1AwsCredentialsIn +func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AWSCredentialsIn, error) { + var it model.GithubComKloudliteOperatorApisClustersV1AWSCredentialsIn asMap := map[string]interface{}{} for k, v := range obj.(map[string]interface{}) { asMap[k] = v @@ -54899,7 +56729,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a switch k { case "authMechanism": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("authMechanism")) - data, err := ec.unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsAuthMechanism(ctx, v) + data, err := ec.unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSAuthMechanism(ctx, v) if err != nil { return it, err } @@ -54917,8 +56747,8 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a return it, nil } -func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfigIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfigIn, error) { - var it model.GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfigIn +func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfigIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfigIn, error) { + var it model.GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfigIn asMap := map[string]interface{}{} for k, v := range obj.(map[string]interface{}) { asMap[k] = v @@ -54951,8 +56781,8 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a return it, nil } -func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNodeIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNodeIn, error) { - var it model.GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNodeIn +func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNodeIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNodeIn, error) { + var it model.GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNodeIn asMap := map[string]interface{}{} for k, v := range obj.(map[string]interface{}) { asMap[k] = v @@ -54985,8 +56815,8 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a return it, nil } -func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNodeIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNodeIn, error) { - var it model.GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNodeIn +func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNodeIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNodeIn, error) { + var it model.GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNodeIn asMap := map[string]interface{}{} for k, v := range obj.(map[string]interface{}) { asMap[k] = v @@ -55012,8 +56842,8 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a return it, nil } -func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfigIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfigIn, error) { - var it model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfigIn +func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfigIn(ctx context.Context, obj interface{}) (model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfigIn, error) { + var it model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfigIn asMap := map[string]interface{}{} for k, v := range obj.(map[string]interface{}) { asMap[k] = v @@ -55028,14 +56858,14 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a switch k { case "cpuNode": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cpuNode")) - data, err := ec.unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNodeIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotCPUNodeIn(ctx, v) + data, err := ec.unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNodeIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotCPUNodeIn(ctx, v) if err != nil { return it, err } it.CPUNode = data case "gpuNode": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("gpuNode")) - data, err := ec.unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNodeIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotGpuNodeIn(ctx, v) + data, err := ec.unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNodeIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotGpuNodeIn(ctx, v) if err != nil { return it, err } @@ -55080,7 +56910,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a if err != nil { return it, err } - it.Aws = data + it.AWS = data case "cloudflareEnabled": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cloudflareEnabled")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) @@ -55101,7 +56931,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a if err != nil { return it, err } - it.Gcp = data + it.GCP = data } } @@ -55203,7 +57033,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a if err != nil { return it, err } - it.Aws = data + it.AWS = data case "cloudProvider": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cloudProvider")) data, err := ec.unmarshalNGithub__com___kloudlite___operator___apis___common____types__CloudProvider2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisCommonTypesCloudProvider(ctx, v) @@ -55217,7 +57047,7 @@ func (ec *executionContext) unmarshalInputGithub__com___kloudlite___operator___a if err != nil { return it, err } - it.Gcp = data + it.GCP = data case "maxCount": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("maxCount")) data, err := ec.unmarshalNInt2int(ctx, v) @@ -57147,7 +58977,7 @@ func (ec *executionContext) unmarshalInputK8s__io___api___core___v1__PersistentV if err != nil { return it, err } - it.AwsElasticBlockStore = data + it.AWSElasticBlockStore = data case "azureDisk": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("azureDisk")) data, err := ec.unmarshalOK8s__io___api___core___v1__AzureDiskVolumeSourceIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐK8sIoAPICoreV1AzureDiskVolumeSourceIn(ctx, v) @@ -59758,7 +61588,7 @@ func (ec *executionContext) _BYOKSetupInstruction(ctx context.Context, sel ast.S var checkAwsAccessOutputImplementors = []string{"CheckAwsAccessOutput"} -func (ec *executionContext) _CheckAwsAccessOutput(ctx context.Context, sel ast.SelectionSet, obj *model.CheckAwsAccessOutput) graphql.Marshaler { +func (ec *executionContext) _CheckAwsAccessOutput(ctx context.Context, sel ast.SelectionSet, obj *model.CheckAWSAccessOutput) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, checkAwsAccessOutputImplementors) out := graphql.NewFieldSet(fields) @@ -62003,7 +63833,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster var github__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsImplementors = []string{"Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials"} -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AwsCredentials) graphql.Marshaler { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AWSCredentials) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, github__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsImplementors) out := graphql.NewFieldSet(fields) @@ -62047,7 +63877,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster var github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfigImplementors = []string{"Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig"} -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig) graphql.Marshaler { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfigImplementors) out := graphql.NewFieldSet(fields) @@ -62088,7 +63918,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster var github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNodeImplementors = []string{"Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode"} -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode) graphql.Marshaler { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNodeImplementors) out := graphql.NewFieldSet(fields) @@ -62129,7 +63959,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster var github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNodeImplementors = []string{"Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode"} -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNode) graphql.Marshaler { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNode) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNodeImplementors) out := graphql.NewFieldSet(fields) @@ -62168,7 +63998,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster var github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfigImplementors = []string{"Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig"} -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig) graphql.Marshaler { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfigImplementors) out := graphql.NewFieldSet(fields) @@ -62213,7 +64043,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster var github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithIDImplementors = []string{"Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID"} -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AwsSubnetWithID) graphql.Marshaler { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AWSSubnetWithID) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, github__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithIDImplementors) out := graphql.NewFieldSet(fields) @@ -62257,7 +64087,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster var github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParamsImplementors = []string{"Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams"} -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AwsVPCParams) graphql.Marshaler { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1AWSVPCParams) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, github__com___kloudlite___operator___apis___clusters___v1__AwsVPCParamsImplementors) out := graphql.NewFieldSet(fields) @@ -62692,7 +64522,7 @@ func (ec *executionContext) _Github__com___kloudlite___operator___apis___cluster var github__com___kloudlite___operator___apis___clusters___v1__GcpVPCParamsImplementors = []string{"Github__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams"} -func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1GcpVPCParams) graphql.Marshaler { +func (ec *executionContext) _Github__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams(ctx context.Context, sel ast.SelectionSet, obj *model.GithubComKloudliteOperatorApisClustersV1GCPVPCParams) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, github__com___kloudlite___operator___apis___clusters___v1__GcpVPCParamsImplementors) out := graphql.NewFieldSet(fields) @@ -71000,11 +72830,11 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se return res } -func (ec *executionContext) marshalNCheckAwsAccessOutput2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐCheckAwsAccessOutput(ctx context.Context, sel ast.SelectionSet, v model.CheckAwsAccessOutput) graphql.Marshaler { +func (ec *executionContext) marshalNCheckAwsAccessOutput2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐCheckAWSAccessOutput(ctx context.Context, sel ast.SelectionSet, v model.CheckAWSAccessOutput) graphql.Marshaler { return ec._CheckAwsAccessOutput(ctx, sel, &v) } -func (ec *executionContext) marshalNCheckAwsAccessOutput2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐCheckAwsAccessOutput(ctx context.Context, sel ast.SelectionSet, v *model.CheckAwsAccessOutput) graphql.Marshaler { +func (ec *executionContext) marshalNCheckAwsAccessOutput2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐCheckAWSAccessOutput(ctx context.Context, sel ast.SelectionSet, v *model.CheckAWSAccessOutput) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -71575,17 +73405,17 @@ func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___ return v } -func (ec *executionContext) unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsAuthMechanism(ctx context.Context, v interface{}) (model.GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism, error) { - var res model.GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism +func (ec *executionContext) unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSAuthMechanism(ctx context.Context, v interface{}) (model.GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism, error) { + var res model.GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsAuthMechanism(ctx context.Context, sel ast.SelectionSet, v model.GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism) graphql.Marshaler { +func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism2githubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSAuthMechanism(ctx context.Context, sel ast.SelectionSet, v model.GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism) graphql.Marshaler { return v } -func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentials2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsCredentials(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AwsCredentials) graphql.Marshaler { +func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentials2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSCredentials(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AWSCredentials) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -71595,12 +73425,12 @@ func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___ return ec._Github__com___kloudlite___operator___apis___clusters___v1__AwsCredentials(ctx, sel, v) } -func (ec *executionContext) unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsCredentialsIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AwsCredentialsIn, error) { +func (ec *executionContext) unmarshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSCredentialsIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AWSCredentialsIn, error) { res, err := ec.unmarshalInputGithub__com___kloudlite___operator___apis___clusters___v1__AwsCredentialsIn(ctx, v) return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID2ᚕᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSubnetWithIDᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.GithubComKloudliteOperatorApisClustersV1AwsSubnetWithID) graphql.Marshaler { +func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID2ᚕᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSubnetWithIDᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.GithubComKloudliteOperatorApisClustersV1AWSSubnetWithID) graphql.Marshaler { ret := make(graphql.Array, len(v)) var wg sync.WaitGroup isLen1 := len(v) == 1 @@ -71624,7 +73454,7 @@ func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___ if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSubnetWithID(ctx, sel, v[i]) + ret[i] = ec.marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSubnetWithID(ctx, sel, v[i]) } if isLen1 { f(i) @@ -71644,7 +73474,7 @@ func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___ return ret } -func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSubnetWithID(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AwsSubnetWithID) graphql.Marshaler { +func (ec *executionContext) marshalNGithub__com___kloudlite___operator___apis___clusters___v1__AwsSubnetWithID2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSubnetWithID(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AWSSubnetWithID) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -73708,14 +75538,14 @@ func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis_ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig) graphql.Marshaler { +func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig) graphql.Marshaler { if v == nil { return graphql.Null } return ec._Github__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfig(ctx, sel, v) } -func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfigIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfigIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfigIn, error) { +func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsEC2PoolConfigIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfigIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfigIn, error) { if v == nil { return nil, nil } @@ -73723,14 +75553,14 @@ func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis_ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode) graphql.Marshaler { +func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode) graphql.Marshaler { if v == nil { return graphql.Null } return ec._Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNode(ctx, sel, v) } -func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNodeIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotCPUNodeIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNodeIn, error) { +func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotCpuNodeIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotCPUNodeIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNodeIn, error) { if v == nil { return nil, nil } @@ -73738,14 +75568,14 @@ func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis_ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotGpuNode(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNode) graphql.Marshaler { +func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotGpuNode(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNode) graphql.Marshaler { if v == nil { return graphql.Null } return ec._Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNode(ctx, sel, v) } -func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNodeIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotGpuNodeIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNodeIn, error) { +func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotGpuNodeIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotGpuNodeIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNodeIn, error) { if v == nil { return nil, nil } @@ -73753,14 +75583,14 @@ func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis_ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig) graphql.Marshaler { +func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig) graphql.Marshaler { if v == nil { return graphql.Null } return ec._Github__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfig(ctx, sel, v) } -func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfigIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfigIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfigIn, error) { +func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsSpotPoolConfigIn2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfigIn(ctx context.Context, v interface{}) (*model.GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfigIn, error) { if v == nil { return nil, nil } @@ -73768,7 +75598,7 @@ func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis_ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AwsVPCParams(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AwsVPCParams) graphql.Marshaler { +func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__AwsVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1AWSVPCParams(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1AWSVPCParams) graphql.Marshaler { if v == nil { return graphql.Null } @@ -73819,7 +75649,7 @@ func (ec *executionContext) unmarshalOGithub__com___kloudlite___operator___apis_ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1GcpVPCParams(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1GcpVPCParams) graphql.Marshaler { +func (ec *executionContext) marshalOGithub__com___kloudlite___operator___apis___clusters___v1__GcpVPCParams2ᚖgithubᚗcomᚋkloudliteᚋapiᚋappsᚋinfraᚋinternalᚋappᚋgraphᚋmodelᚐGithubComKloudliteOperatorApisClustersV1GCPVPCParams(ctx context.Context, sel ast.SelectionSet, v *model.GithubComKloudliteOperatorApisClustersV1GCPVPCParams) graphql.Marshaler { if v == nil { return graphql.Null } diff --git a/apps/infra/internal/app/graph/globalvpn.resolvers.go b/apps/infra/internal/app/graph/globalvpn.resolvers.go index d125df308..c19362a86 100644 --- a/apps/infra/internal/app/graph/globalvpn.resolvers.go +++ b/apps/infra/internal/app/graph/globalvpn.resolvers.go @@ -2,13 +2,12 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" - "time" - "github.com/kloudlite/api/pkg/errors" + "time" "github.com/kloudlite/api/apps/infra/internal/app/graph/generated" "github.com/kloudlite/api/apps/infra/internal/app/graph/model" @@ -66,7 +65,5 @@ func (r *Resolver) GlobalVPN() generated.GlobalVPNResolver { return &globalVPNRe // GlobalVPNIn returns generated.GlobalVPNInResolver implementation. func (r *Resolver) GlobalVPNIn() generated.GlobalVPNInResolver { return &globalVPNInResolver{r} } -type ( - globalVPNResolver struct{ *Resolver } - globalVPNInResolver struct{ *Resolver } -) +type globalVPNResolver struct{ *Resolver } +type globalVPNInResolver struct{ *Resolver } diff --git a/apps/infra/internal/app/graph/globalvpndevice.resolvers.go b/apps/infra/internal/app/graph/globalvpndevice.resolvers.go index b9a6398b2..0cdf7c3bc 100644 --- a/apps/infra/internal/app/graph/globalvpndevice.resolvers.go +++ b/apps/infra/internal/app/graph/globalvpndevice.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/helmrelease.resolvers.go b/apps/infra/internal/app/graph/helmrelease.resolvers.go index 63dff8140..b24a1e008 100644 --- a/apps/infra/internal/app/graph/helmrelease.resolvers.go +++ b/apps/infra/internal/app/graph/helmrelease.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/model/models_gen.go b/apps/infra/internal/app/graph/model/models_gen.go index 0bddb7e7a..5db386d09 100644 --- a/apps/infra/internal/app/graph/model/models_gen.go +++ b/apps/infra/internal/app/graph/model/models_gen.go @@ -34,7 +34,7 @@ type BYOKSetupInstructionIn struct { Title string `json:"title"` } -type CheckAwsAccessOutput struct { +type CheckAWSAccessOutput struct { Result bool `json:"result"` InstallationURL *string `json:"installationUrl,omitempty"` } @@ -78,14 +78,14 @@ type EncodedValue struct { } type GithubComKloudliteAPIAppsInfraInternalEntitiesAWSAssumeRoleParams struct { - AwsAccountID string `json:"awsAccountId"` + AWSAccountID string `json:"awsAccountId"` CfParamTrustedArn string `json:"cfParamTrustedARN"` ExternalID string `json:"externalID"` RoleArn string `json:"roleARN"` } type GithubComKloudliteAPIAppsInfraInternalEntitiesAWSAssumeRoleParamsIn struct { - AwsAccountID string `json:"awsAccountId"` + AWSAccountID string `json:"awsAccountId"` } type GithubComKloudliteAPIAppsInfraInternalEntitiesAWSAuthSecretKeys struct { @@ -101,7 +101,7 @@ type GithubComKloudliteAPIAppsInfraInternalEntitiesAWSAuthSecretKeysIn struct { type GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials struct { AssumeRoleParams *GithubComKloudliteAPIAppsInfraInternalEntitiesAWSAssumeRoleParams `json:"assumeRoleParams,omitempty"` - AuthMechanism GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism `json:"authMechanism"` + AuthMechanism GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism `json:"authMechanism"` AuthSecretKeys *GithubComKloudliteAPIAppsInfraInternalEntitiesAWSAuthSecretKeys `json:"authSecretKeys,omitempty"` CfParamInstanceProfileName *string `json:"cfParamInstanceProfileName,omitempty"` CfParamRoleName *string `json:"cfParamRoleName,omitempty"` @@ -110,7 +110,7 @@ type GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentials struct { type GithubComKloudliteAPIAppsInfraInternalEntitiesAWSSecretCredentialsIn struct { AssumeRoleParams *GithubComKloudliteAPIAppsInfraInternalEntitiesAWSAssumeRoleParamsIn `json:"assumeRoleParams,omitempty"` - AuthMechanism GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism `json:"authMechanism"` + AuthMechanism GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism `json:"authMechanism"` AuthSecretKeys *GithubComKloudliteAPIAppsInfraInternalEntitiesAWSAuthSecretKeysIn `json:"authSecretKeys,omitempty"` } @@ -166,16 +166,16 @@ type GithubComKloudliteAPIAppsInfraInternalEntitiesOutputField struct { } type GithubComKloudliteOperatorApisClustersV1AWSClusterConfig struct { - Credentials *GithubComKloudliteOperatorApisClustersV1AwsCredentials `json:"credentials"` + Credentials *GithubComKloudliteOperatorApisClustersV1AWSCredentials `json:"credentials"` K3sMasters *GithubComKloudliteOperatorApisClustersV1AWSK3sMastersConfig `json:"k3sMasters,omitempty"` NodePools map[string]interface{} `json:"nodePools,omitempty"` Region string `json:"region"` SpotNodePools map[string]interface{} `json:"spotNodePools,omitempty"` - Vpc *GithubComKloudliteOperatorApisClustersV1AwsVPCParams `json:"vpc,omitempty"` + Vpc *GithubComKloudliteOperatorApisClustersV1AWSVPCParams `json:"vpc,omitempty"` } type GithubComKloudliteOperatorApisClustersV1AWSClusterConfigIn struct { - Credentials *GithubComKloudliteOperatorApisClustersV1AwsCredentialsIn `json:"credentials"` + Credentials *GithubComKloudliteOperatorApisClustersV1AWSCredentialsIn `json:"credentials"` K3sMasters *GithubComKloudliteOperatorApisClustersV1AWSK3sMastersConfigIn `json:"k3sMasters,omitempty"` Region string `json:"region"` } @@ -196,85 +196,85 @@ type GithubComKloudliteOperatorApisClustersV1AWSK3sMastersConfigIn struct { type GithubComKloudliteOperatorApisClustersV1AWSNodePoolConfig struct { AvailabilityZone string `json:"availabilityZone"` - Ec2Pool *GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig `json:"ec2Pool,omitempty"` + Ec2Pool *GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig `json:"ec2Pool,omitempty"` IamInstanceProfileRole *string `json:"iamInstanceProfileRole,omitempty"` NvidiaGpuEnabled bool `json:"nvidiaGpuEnabled"` PoolType GithubComKloudliteOperatorApisClustersV1AWSPoolType `json:"poolType"` Region string `json:"region"` RootVolumeSize int `json:"rootVolumeSize"` RootVolumeType string `json:"rootVolumeType"` - SpotPool *GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig `json:"spotPool,omitempty"` + SpotPool *GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig `json:"spotPool,omitempty"` VpcID string `json:"vpcId"` VpcSubnetID string `json:"vpcSubnetId"` } type GithubComKloudliteOperatorApisClustersV1AWSNodePoolConfigIn struct { AvailabilityZone string `json:"availabilityZone"` - Ec2Pool *GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfigIn `json:"ec2Pool,omitempty"` + Ec2Pool *GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfigIn `json:"ec2Pool,omitempty"` NvidiaGpuEnabled bool `json:"nvidiaGpuEnabled"` PoolType GithubComKloudliteOperatorApisClustersV1AWSPoolType `json:"poolType"` - SpotPool *GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfigIn `json:"spotPool,omitempty"` + SpotPool *GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfigIn `json:"spotPool,omitempty"` } -type GithubComKloudliteOperatorApisClustersV1AwsCredentials struct { - AuthMechanism GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism `json:"authMechanism"` +type GithubComKloudliteOperatorApisClustersV1AWSCredentials struct { + AuthMechanism GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism `json:"authMechanism"` SecretRef *GithubComKloudliteOperatorApisCommonTypesSecretRef `json:"secretRef"` } -type GithubComKloudliteOperatorApisClustersV1AwsCredentialsIn struct { - AuthMechanism GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism `json:"authMechanism"` +type GithubComKloudliteOperatorApisClustersV1AWSCredentialsIn struct { + AuthMechanism GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism `json:"authMechanism"` SecretRef *GithubComKloudliteOperatorApisCommonTypesSecretRefIn `json:"secretRef"` } -type GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfig struct { +type GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfig struct { InstanceType string `json:"instanceType"` Nodes map[string]interface{} `json:"nodes,omitempty"` } -type GithubComKloudliteOperatorApisClustersV1AwsEC2PoolConfigIn struct { +type GithubComKloudliteOperatorApisClustersV1AWSEC2PoolConfigIn struct { InstanceType string `json:"instanceType"` Nodes map[string]interface{} `json:"nodes,omitempty"` } -type GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode struct { +type GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode struct { MemoryPerVcpu *GithubComKloudliteOperatorApisCommonTypesMinMaxFloat `json:"memoryPerVcpu,omitempty"` Vcpu *GithubComKloudliteOperatorApisCommonTypesMinMaxFloat `json:"vcpu"` } -type GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNodeIn struct { +type GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNodeIn struct { MemoryPerVcpu *GithubComKloudliteOperatorApisCommonTypesMinMaxFloatIn `json:"memoryPerVcpu,omitempty"` Vcpu *GithubComKloudliteOperatorApisCommonTypesMinMaxFloatIn `json:"vcpu"` } -type GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNode struct { +type GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNode struct { InstanceTypes []string `json:"instanceTypes"` } -type GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNodeIn struct { +type GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNodeIn struct { InstanceTypes []string `json:"instanceTypes"` } -type GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfig struct { - CPUNode *GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNode `json:"cpuNode,omitempty"` - GpuNode *GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNode `json:"gpuNode,omitempty"` +type GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfig struct { + CPUNode *GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNode `json:"cpuNode,omitempty"` + GpuNode *GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNode `json:"gpuNode,omitempty"` Nodes map[string]interface{} `json:"nodes,omitempty"` SpotFleetTaggingRoleName string `json:"spotFleetTaggingRoleName"` } -type GithubComKloudliteOperatorApisClustersV1AwsSpotPoolConfigIn struct { - CPUNode *GithubComKloudliteOperatorApisClustersV1AwsSpotCPUNodeIn `json:"cpuNode,omitempty"` - GpuNode *GithubComKloudliteOperatorApisClustersV1AwsSpotGpuNodeIn `json:"gpuNode,omitempty"` +type GithubComKloudliteOperatorApisClustersV1AWSSpotPoolConfigIn struct { + CPUNode *GithubComKloudliteOperatorApisClustersV1AWSSpotCPUNodeIn `json:"cpuNode,omitempty"` + GpuNode *GithubComKloudliteOperatorApisClustersV1AWSSpotGpuNodeIn `json:"gpuNode,omitempty"` Nodes map[string]interface{} `json:"nodes,omitempty"` } -type GithubComKloudliteOperatorApisClustersV1AwsSubnetWithID struct { +type GithubComKloudliteOperatorApisClustersV1AWSSubnetWithID struct { AvailabilityZone string `json:"availabilityZone"` ID string `json:"id"` } -type GithubComKloudliteOperatorApisClustersV1AwsVPCParams struct { +type GithubComKloudliteOperatorApisClustersV1AWSVPCParams struct { ID string `json:"id"` - PublicSubnets []*GithubComKloudliteOperatorApisClustersV1AwsSubnetWithID `json:"publicSubnets"` + PublicSubnets []*GithubComKloudliteOperatorApisClustersV1AWSSubnetWithID `json:"publicSubnets"` } type GithubComKloudliteOperatorApisClustersV1ClusterOutput struct { @@ -292,14 +292,14 @@ type GithubComKloudliteOperatorApisClustersV1ClusterSpec struct { AccountID string `json:"accountId"` AccountName string `json:"accountName"` AvailabilityMode GithubComKloudliteOperatorApisClustersV1ClusterSpecAvailabilityMode `json:"availabilityMode"` - Aws *GithubComKloudliteOperatorApisClustersV1AWSClusterConfig `json:"aws,omitempty"` + AWS *GithubComKloudliteOperatorApisClustersV1AWSClusterConfig `json:"aws,omitempty"` BackupToS3Enabled bool `json:"backupToS3Enabled"` CloudflareEnabled *bool `json:"cloudflareEnabled,omitempty"` CloudProvider GithubComKloudliteOperatorApisCommonTypesCloudProvider `json:"cloudProvider"` ClusterInternalDNSHost *string `json:"clusterInternalDnsHost,omitempty"` ClusterServiceCidr *string `json:"clusterServiceCIDR,omitempty"` ClusterTokenRef *GithubComKloudliteOperatorApisCommonTypesSecretKeyRef `json:"clusterTokenRef,omitempty"` - Gcp *GithubComKloudliteOperatorApisClustersV1GCPClusterConfig `json:"gcp,omitempty"` + GCP *GithubComKloudliteOperatorApisClustersV1GCPClusterConfig `json:"gcp,omitempty"` KloudliteRelease string `json:"kloudliteRelease"` MessageQueueTopicName string `json:"messageQueueTopicName"` Output *GithubComKloudliteOperatorApisClustersV1ClusterOutput `json:"output,omitempty"` @@ -309,19 +309,19 @@ type GithubComKloudliteOperatorApisClustersV1ClusterSpec struct { type GithubComKloudliteOperatorApisClustersV1ClusterSpecIn struct { AvailabilityMode GithubComKloudliteOperatorApisClustersV1ClusterSpecAvailabilityMode `json:"availabilityMode"` - Aws *GithubComKloudliteOperatorApisClustersV1AWSClusterConfigIn `json:"aws,omitempty"` + AWS *GithubComKloudliteOperatorApisClustersV1AWSClusterConfigIn `json:"aws,omitempty"` CloudflareEnabled *bool `json:"cloudflareEnabled,omitempty"` CloudProvider GithubComKloudliteOperatorApisCommonTypesCloudProvider `json:"cloudProvider"` - Gcp *GithubComKloudliteOperatorApisClustersV1GCPClusterConfigIn `json:"gcp,omitempty"` + GCP *GithubComKloudliteOperatorApisClustersV1GCPClusterConfigIn `json:"gcp,omitempty"` } type GithubComKloudliteOperatorApisClustersV1GCPClusterConfig struct { CredentialsRef *GithubComKloudliteOperatorApisCommonTypesSecretRef `json:"credentialsRef"` - GcpProjectID string `json:"gcpProjectID"` + GCPProjectID string `json:"gcpProjectID"` MasterNodes *GithubComKloudliteOperatorApisClustersV1GCPMasterNodesConfig `json:"masterNodes,omitempty"` Region string `json:"region"` ServiceAccount *GithubComKloudliteOperatorApisClustersV1GCPServiceAccount `json:"serviceAccount"` - Vpc *GithubComKloudliteOperatorApisClustersV1GcpVPCParams `json:"vpc,omitempty"` + Vpc *GithubComKloudliteOperatorApisClustersV1GCPVPCParams `json:"vpc,omitempty"` } type GithubComKloudliteOperatorApisClustersV1GCPClusterConfigIn struct { @@ -340,13 +340,13 @@ type GithubComKloudliteOperatorApisClustersV1GCPNodePoolConfig struct { BootVolumeSize int `json:"bootVolumeSize"` BootVolumeType string `json:"bootVolumeType"` Credentials *GithubComKloudliteOperatorApisCommonTypesSecretRef `json:"credentials"` - GcpProjectID string `json:"gcpProjectID"` + GCPProjectID string `json:"gcpProjectID"` MachineType string `json:"machineType"` Nodes map[string]interface{} `json:"nodes,omitempty"` PoolType GithubComKloudliteOperatorApisClustersV1GCPPoolType `json:"poolType"` Region string `json:"region"` ServiceAccount *GithubComKloudliteOperatorApisClustersV1GCPServiceAccount `json:"serviceAccount"` - Vpc *GithubComKloudliteOperatorApisClustersV1GcpVPCParams `json:"vpc,omitempty"` + Vpc *GithubComKloudliteOperatorApisClustersV1GCPVPCParams `json:"vpc,omitempty"` } type GithubComKloudliteOperatorApisClustersV1GCPNodePoolConfigIn struct { @@ -361,7 +361,7 @@ type GithubComKloudliteOperatorApisClustersV1GCPServiceAccount struct { Scopes []string `json:"scopes,omitempty"` } -type GithubComKloudliteOperatorApisClustersV1GcpVPCParams struct { +type GithubComKloudliteOperatorApisClustersV1GCPVPCParams struct { Name string `json:"name"` } @@ -373,9 +373,9 @@ type GithubComKloudliteOperatorApisClustersV1MasterNodeProps struct { } type GithubComKloudliteOperatorApisClustersV1NodePoolSpec struct { - Aws *GithubComKloudliteOperatorApisClustersV1AWSNodePoolConfig `json:"aws,omitempty"` + AWS *GithubComKloudliteOperatorApisClustersV1AWSNodePoolConfig `json:"aws,omitempty"` CloudProvider GithubComKloudliteOperatorApisCommonTypesCloudProvider `json:"cloudProvider"` - Gcp *GithubComKloudliteOperatorApisClustersV1GCPNodePoolConfig `json:"gcp,omitempty"` + GCP *GithubComKloudliteOperatorApisClustersV1GCPNodePoolConfig `json:"gcp,omitempty"` MaxCount int `json:"maxCount"` MinCount int `json:"minCount"` NodeLabels map[string]interface{} `json:"nodeLabels,omitempty"` @@ -383,9 +383,9 @@ type GithubComKloudliteOperatorApisClustersV1NodePoolSpec struct { } type GithubComKloudliteOperatorApisClustersV1NodePoolSpecIn struct { - Aws *GithubComKloudliteOperatorApisClustersV1AWSNodePoolConfigIn `json:"aws,omitempty"` + AWS *GithubComKloudliteOperatorApisClustersV1AWSNodePoolConfigIn `json:"aws,omitempty"` CloudProvider GithubComKloudliteOperatorApisCommonTypesCloudProvider `json:"cloudProvider"` - Gcp *GithubComKloudliteOperatorApisClustersV1GCPNodePoolConfigIn `json:"gcp,omitempty"` + GCP *GithubComKloudliteOperatorApisClustersV1GCPNodePoolConfigIn `json:"gcp,omitempty"` MaxCount int `json:"maxCount"` MinCount int `json:"minCount"` NodeLabels map[string]interface{} `json:"nodeLabels,omitempty"` @@ -956,7 +956,7 @@ type K8sIoAPICoreV1PersistentVolumeClaimStatusIn struct { type K8sIoAPICoreV1PersistentVolumeSpec struct { AccessModes []string `json:"accessModes,omitempty"` - AwsElasticBlockStore *K8sIoAPICoreV1AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"` + AWSElasticBlockStore *K8sIoAPICoreV1AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"` AzureDisk *K8sIoAPICoreV1AzureDiskVolumeSource `json:"azureDisk,omitempty"` AzureFile *K8sIoAPICoreV1AzureFilePersistentVolumeSource `json:"azureFile,omitempty"` Capacity map[string]interface{} `json:"capacity,omitempty"` @@ -990,7 +990,7 @@ type K8sIoAPICoreV1PersistentVolumeSpec struct { type K8sIoAPICoreV1PersistentVolumeSpecIn struct { AccessModes []string `json:"accessModes,omitempty"` - AwsElasticBlockStore *K8sIoAPICoreV1AWSElasticBlockStoreVolumeSourceIn `json:"awsElasticBlockStore,omitempty"` + AWSElasticBlockStore *K8sIoAPICoreV1AWSElasticBlockStoreVolumeSourceIn `json:"awsElasticBlockStore,omitempty"` AzureDisk *K8sIoAPICoreV1AzureDiskVolumeSourceIn `json:"azureDisk,omitempty"` AzureFile *K8sIoAPICoreV1AzureFilePersistentVolumeSourceIn `json:"azureFile,omitempty"` Capacity map[string]interface{} `json:"capacity,omitempty"` @@ -1592,44 +1592,44 @@ func (e GithubComKloudliteOperatorApisClustersV1AWSPoolType) MarshalGQL(w io.Wri fmt.Fprint(w, strconv.Quote(e.String())) } -type GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism string +type GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism string const ( - GithubComKloudliteOperatorApisClustersV1AwsAuthMechanismAssumeRole GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism = "assume_role" - GithubComKloudliteOperatorApisClustersV1AwsAuthMechanismSecretKeys GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism = "secret_keys" + GithubComKloudliteOperatorApisClustersV1AWSAuthMechanismAssumeRole GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism = "assume_role" + GithubComKloudliteOperatorApisClustersV1AWSAuthMechanismSecretKeys GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism = "secret_keys" ) -var AllGithubComKloudliteOperatorApisClustersV1AwsAuthMechanism = []GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism{ - GithubComKloudliteOperatorApisClustersV1AwsAuthMechanismAssumeRole, - GithubComKloudliteOperatorApisClustersV1AwsAuthMechanismSecretKeys, +var AllGithubComKloudliteOperatorApisClustersV1AWSAuthMechanism = []GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism{ + GithubComKloudliteOperatorApisClustersV1AWSAuthMechanismAssumeRole, + GithubComKloudliteOperatorApisClustersV1AWSAuthMechanismSecretKeys, } -func (e GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism) IsValid() bool { +func (e GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism) IsValid() bool { switch e { - case GithubComKloudliteOperatorApisClustersV1AwsAuthMechanismAssumeRole, GithubComKloudliteOperatorApisClustersV1AwsAuthMechanismSecretKeys: + case GithubComKloudliteOperatorApisClustersV1AWSAuthMechanismAssumeRole, GithubComKloudliteOperatorApisClustersV1AWSAuthMechanismSecretKeys: return true } return false } -func (e GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism) String() string { +func (e GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism) String() string { return string(e) } -func (e *GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism) UnmarshalGQL(v interface{}) error { +func (e *GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism) UnmarshalGQL(v interface{}) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") } - *e = GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism(str) + *e = GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism(str) if !e.IsValid() { return fmt.Errorf("%s is not a valid Github__com___kloudlite___operator___apis___clusters___v1__AwsAuthMechanism", str) } return nil } -func (e GithubComKloudliteOperatorApisClustersV1AwsAuthMechanism) MarshalGQL(w io.Writer) { +func (e GithubComKloudliteOperatorApisClustersV1AWSAuthMechanism) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } @@ -1718,22 +1718,22 @@ func (e GithubComKloudliteOperatorApisClustersV1GCPPoolType) MarshalGQL(w io.Wri type GithubComKloudliteOperatorApisCommonTypesCloudProvider string const ( - GithubComKloudliteOperatorApisCommonTypesCloudProviderAws GithubComKloudliteOperatorApisCommonTypesCloudProvider = "aws" + GithubComKloudliteOperatorApisCommonTypesCloudProviderAWS GithubComKloudliteOperatorApisCommonTypesCloudProvider = "aws" GithubComKloudliteOperatorApisCommonTypesCloudProviderAzure GithubComKloudliteOperatorApisCommonTypesCloudProvider = "azure" GithubComKloudliteOperatorApisCommonTypesCloudProviderDigitalocean GithubComKloudliteOperatorApisCommonTypesCloudProvider = "digitalocean" - GithubComKloudliteOperatorApisCommonTypesCloudProviderGcp GithubComKloudliteOperatorApisCommonTypesCloudProvider = "gcp" + GithubComKloudliteOperatorApisCommonTypesCloudProviderGCP GithubComKloudliteOperatorApisCommonTypesCloudProvider = "gcp" ) var AllGithubComKloudliteOperatorApisCommonTypesCloudProvider = []GithubComKloudliteOperatorApisCommonTypesCloudProvider{ - GithubComKloudliteOperatorApisCommonTypesCloudProviderAws, + GithubComKloudliteOperatorApisCommonTypesCloudProviderAWS, GithubComKloudliteOperatorApisCommonTypesCloudProviderAzure, GithubComKloudliteOperatorApisCommonTypesCloudProviderDigitalocean, - GithubComKloudliteOperatorApisCommonTypesCloudProviderGcp, + GithubComKloudliteOperatorApisCommonTypesCloudProviderGCP, } func (e GithubComKloudliteOperatorApisCommonTypesCloudProvider) IsValid() bool { switch e { - case GithubComKloudliteOperatorApisCommonTypesCloudProviderAws, GithubComKloudliteOperatorApisCommonTypesCloudProviderAzure, GithubComKloudliteOperatorApisCommonTypesCloudProviderDigitalocean, GithubComKloudliteOperatorApisCommonTypesCloudProviderGcp: + case GithubComKloudliteOperatorApisCommonTypesCloudProviderAWS, GithubComKloudliteOperatorApisCommonTypesCloudProviderAzure, GithubComKloudliteOperatorApisCommonTypesCloudProviderDigitalocean, GithubComKloudliteOperatorApisCommonTypesCloudProviderGCP: return true } return false diff --git a/apps/infra/internal/app/graph/namespace.resolvers.go b/apps/infra/internal/app/graph/namespace.resolvers.go index d10469bec..28572f385 100644 --- a/apps/infra/internal/app/graph/namespace.resolvers.go +++ b/apps/infra/internal/app/graph/namespace.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/node.resolvers.go b/apps/infra/internal/app/graph/node.resolvers.go index aec8a02eb..d8d5db86e 100644 --- a/apps/infra/internal/app/graph/node.resolvers.go +++ b/apps/infra/internal/app/graph/node.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/nodepool.resolvers.go b/apps/infra/internal/app/graph/nodepool.resolvers.go index eb55c2ff2..29d1c75d9 100644 --- a/apps/infra/internal/app/graph/nodepool.resolvers.go +++ b/apps/infra/internal/app/graph/nodepool.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/persistentvolume.resolvers.go b/apps/infra/internal/app/graph/persistentvolume.resolvers.go index 625f4718e..be95d0717 100644 --- a/apps/infra/internal/app/graph/persistentvolume.resolvers.go +++ b/apps/infra/internal/app/graph/persistentvolume.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/persistentvolumeclaim.resolvers.go b/apps/infra/internal/app/graph/persistentvolumeclaim.resolvers.go index 0490b6acc..47a17f606 100644 --- a/apps/infra/internal/app/graph/persistentvolumeclaim.resolvers.go +++ b/apps/infra/internal/app/graph/persistentvolumeclaim.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/apps/infra/internal/app/graph/schema.resolvers.go b/apps/infra/internal/app/graph/schema.resolvers.go index 382751dbe..13c75da32 100644 --- a/apps/infra/internal/app/graph/schema.resolvers.go +++ b/apps/infra/internal/app/graph/schema.resolvers.go @@ -2,19 +2,19 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" "encoding/base64" "fmt" - fc "github.com/kloudlite/api/apps/infra/internal/entities/field-constants" "github.com/kloudlite/api/pkg/errors" "github.com/kloudlite/api/apps/infra/internal/app/graph/generated" "github.com/kloudlite/api/apps/infra/internal/app/graph/model" "github.com/kloudlite/api/apps/infra/internal/domain" "github.com/kloudlite/api/apps/infra/internal/entities" + fc "github.com/kloudlite/api/apps/infra/internal/entities/field-constants" "github.com/kloudlite/api/common/fields" fn "github.com/kloudlite/api/pkg/functions" "github.com/kloudlite/api/pkg/repos" @@ -675,22 +675,9 @@ func (r *queryResolver) InfraGetDomainEntry(ctx context.Context, domainName stri return r.Domain.GetDomainEntry(ictx, domainName) } -// InfraCheckAwsAccess is the resolver for the infra_checkAwsAccess field. -func (r *queryResolver) InfraCheckAwsAccess(ctx context.Context, cloudproviderName string) (*model.CheckAwsAccessOutput, error) { - ictx, err := toInfraContext(ctx) - if err != nil { - return nil, errors.NewE(err) - } - - output, err := r.Domain.ValidateProviderSecretAWSAccess(ictx, cloudproviderName) - if err != nil { - return nil, errors.NewE(err) - } - - return &model.CheckAwsAccessOutput{ - Result: output.Result, - InstallationURL: output.InstallationURL, - }, nil +// InfraCheckAWSAccess is the resolver for the infra_checkAwsAccess field. +func (r *queryResolver) InfraCheckAWSAccess(ctx context.Context, cloudproviderName string) (*model.CheckAWSAccessOutput, error) { + panic(fmt.Errorf("not implemented: InfraCheckAWSAccess - infra_checkAwsAccess")) } // InfraListHelmReleases is the resolver for the infra_listHelmReleases field. @@ -877,3 +864,28 @@ func (r *Resolver) Query() generated.QueryResolver { return &queryResolver{r} } type mutationResolver struct{ *Resolver } type queryResolver struct{ *Resolver } + +// !!! WARNING !!! +// The code below was going to be deleted when updating resolvers. It has been copied here so you have +// one last chance to move it out of harms way if you want. There are two reasons this happens: +// - When renaming or deleting a resolver the old code will be put in here. You can safely delete +// it when you're done. +// - You have helper methods in this file. Move them out to keep these resolver files clean. +/* + func (r *queryResolver) InfraCheckAwsAccess(ctx context.Context, cloudproviderName string) (*model.CheckAwsAccessOutput, error) { + ictx, err := toInfraContext(ctx) + if err != nil { + return nil, errors.NewE(err) + } + + output, err := r.Domain.ValidateProviderSecretAWSAccess(ictx, cloudproviderName) + if err != nil { + return nil, errors.NewE(err) + } + + return &model.CheckAwsAccessOutput{ + Result: output.Result, + InstallationURL: output.InstallationURL, + }, nil +} +*/ diff --git a/apps/infra/internal/app/graph/volumeattachment.resolvers.go b/apps/infra/internal/app/graph/volumeattachment.resolvers.go index 8bbb10345..dc488f04d 100644 --- a/apps/infra/internal/app/graph/volumeattachment.resolvers.go +++ b/apps/infra/internal/app/graph/volumeattachment.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.49 +// Code generated by github.com/99designs/gqlgen version v0.17.55 import ( "context" diff --git a/go.mod b/go.mod index 327c73dd9..81af3d5af 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.23 toolchain go1.23.1 require ( - github.com/99designs/gqlgen v0.17.49 + github.com/99designs/gqlgen v0.17.55 github.com/Masterminds/sprig/v3 v3.3.0 github.com/aws/aws-sdk-go v1.50.10 github.com/bradleyfalzon/ghinstallation/v2 v2.0.4 @@ -21,7 +21,7 @@ require ( github.com/matoous/go-nanoid/v2 v2.0.0 github.com/pkg/errors v0.9.1 github.com/sendgrid/sendgrid-go v3.11.1+incompatible - github.com/vektah/gqlparser/v2 v2.5.16 + github.com/vektah/gqlparser/v2 v2.5.17 github.com/xanzy/go-gitlab v0.63.0 github.com/xeipuuv/gojsonschema v1.2.0 github.com/yext/yerrors v0.0.0-20230716030415-7ebf68e23868 // indirect @@ -169,11 +169,11 @@ require ( cloud.google.com/go/compute/metadata v0.3.0 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver/v3 v3.3.0 // indirect - github.com/agnivade/levenshtein v1.1.1 // indirect + github.com/agnivade/levenshtein v1.2.0 // indirect github.com/andybalholm/brotli v1.1.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/evanphx/json-patch/v5 v5.9.0 // indirect @@ -222,7 +222,7 @@ require ( github.com/shopspring/decimal v1.4.0 // indirect github.com/spf13/cast v1.7.0 // indirect github.com/spf13/pflag v1.0.5 - github.com/urfave/cli/v2 v2.27.3 // indirect + github.com/urfave/cli/v2 v2.27.4 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasthttp v1.55.0 // indirect github.com/valyala/tcplisten v1.0.0 // indirect diff --git a/go.sum b/go.sum index a26e8b5d7..517d4ec19 100644 --- a/go.sum +++ b/go.sum @@ -7,8 +7,8 @@ dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= -github.com/99designs/gqlgen v0.17.49 h1:b3hNGexHd33fBSAd4NDT/c3NCcQzcAVkknhN9ym36YQ= -github.com/99designs/gqlgen v0.17.49/go.mod h1:tC8YFVZMed81x7UJ7ORUwXF4Kn6SXuucFqQBhN8+BU0= +github.com/99designs/gqlgen v0.17.55 h1:3vzrNWYyzSZjGDFo68e5j9sSauLxfKvLp+6ioRokVtM= +github.com/99designs/gqlgen v0.17.55/go.mod h1:3Bq768f8hgVPGZxL8aY9MaYmbxa6llPM/qu1IGH1EJo= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= @@ -37,12 +37,12 @@ github.com/PaesslerAG/gval v1.0.0/go.mod h1:y/nm5yEyTeX6av0OfKJNp9rBNj2XrGhAf5+v github.com/PaesslerAG/jsonpath v0.1.0/go.mod h1:4BzmtoM/PI8fPO4aQGIusjGxGir2BzcV0grWtFzq1Y8= github.com/PaesslerAG/jsonpath v0.1.1 h1:c1/AToHQMVsduPAa4Vh6xp2U0evy4t8SWp8imEsylIk= github.com/PaesslerAG/jsonpath v0.1.1/go.mod h1:lVboNxFGal/VwW6d9JzIy56bUsYAP6tH/x80vjnCseY= -github.com/PuerkitoBio/goquery v1.9.2 h1:4/wZksC3KgkQw7SQgkKotmKljk0M6V8TUvA8Wb4yPeE= -github.com/PuerkitoBio/goquery v1.9.2/go.mod h1:GHPCaP0ODyyxqcNoFGYlAprUFH81NuRPd0GX3Zu2Mvk= +github.com/PuerkitoBio/goquery v1.9.3 h1:mpJr/ikUA9/GNJB/DBZcGeFDXUtosHRyRrwh7KGdTG0= +github.com/PuerkitoBio/goquery v1.9.3/go.mod h1:1ndLHPdTz+DyQPICCWYlYQMPl0oXZj0G6D4LCYA6u4U= github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d h1:UrqY+r/OJnIp5u0s1SbQ8dVfLCZJsnvazdBP5hS4iRs= github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= -github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRBij0P8= -github.com/agnivade/levenshtein v1.1.1/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo= +github.com/agnivade/levenshtein v1.2.0 h1:U9L4IOT0Y3i0TIlUIDJ7rVUziKi/zPbrJGaFrtYH3SY= +github.com/agnivade/levenshtein v1.2.0/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ= @@ -101,8 +101,9 @@ github.com/containerd/continuity v0.4.2 h1:v3y/4Yz5jwnvqPKJJ+7Wf93fyWoCB3F5EclWG github.com/containerd/continuity v0.4.2/go.mod h1:F6PTNCKepoxEaXLQp3wDAjygEnImnZ/7o4JzpodfroQ= github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= -github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.5 h1:ZtcqGrnekaHpVLArFSe4HK5DoKx1T0rq2DwVB0alcyc= +github.com/cpuguy83/go-md2man/v2 v2.0.5/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.3.1 h1:1V7cHiaW+C+39wEfpH6XlLBQo3j/PciWFrgfCLS8XrE= @@ -114,8 +115,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= -github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 h1:fRzb/w+pyskVMQ+UbP35JkH8yB7MYb4q/qhBarqZE6g= -github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA= +github.com/dgryski/trifles v0.0.0-20230903005119-f50d829f2e54 h1:SG7nF6SRlWhcT7cNTs5R6Hk4V2lcmLz2NsG2VnInyNo= +github.com/dgryski/trifles v0.0.0-20230903005119-f50d829f2e54/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA= github.com/distribution/distribution/v3 v3.0.0-20221208165359-362910506bc2 h1:aBfCb7iqHmDEIp6fBvC/hQUddQfg+3qdYjwzaiP9Hnc= github.com/distribution/distribution/v3 v3.0.0-20221208165359-362910506bc2/go.mod h1:WHNsWjnIn2V1LYOrME7e8KxSeKunYHsxEm4am0BUtcI= github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0= @@ -136,8 +137,6 @@ github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQ github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1 h1:ZClxb8laGDf5arXfYcAtECDFgAgHklGI8CxgjHnXKJ4= github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= -github.com/emicklei/go-restful/v3 v3.11.1 h1:S+9bSbua1z3FgCnV0KKOSSZ3mDthb5NyEPL5gEpCvyk= -github.com/emicklei/go-restful/v3 v3.11.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/emicklei/go-restful/v3 v3.12.1 h1:PJMDIM/ak7btuL8Ex0iYET9hxM3CI2sjZtzpL63nKAU= github.com/emicklei/go-restful/v3 v3.12.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= @@ -146,8 +145,6 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/evanphx/json-patch v5.9.0+incompatible h1:fBXyNpNMuTTDdquAq/uisOr2lShz4oaXpDTX2bLe7ls= github.com/evanphx/json-patch v5.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch/v5 v5.7.0 h1:nJqP7uwL84RJInrohHfW0Fx3awjbm8qZeFv0nW9SYGc= -github.com/evanphx/json-patch/v5 v5.7.0/go.mod h1:VNkHZ/282BpEyt/tObQO8s5CMPmYYq14uClGH4abBuQ= github.com/evanphx/json-patch/v5 v5.9.0 h1:kcBlZQbplgElYIlo/n1hJbls2z/1awpXxpRi0/FOJfg= github.com/evanphx/json-patch/v5 v5.9.0/go.mod h1:VNkHZ/282BpEyt/tObQO8s5CMPmYYq14uClGH4abBuQ= github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f h1:Wl78ApPPB2Wvf/TIe2xdyJxTlb6obmF18d8QdkxNDu4= @@ -184,16 +181,10 @@ github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg= -github.com/go-openapi/jsonpointer v0.20.2 h1:mQc3nmndL8ZBzStEo3JYF8wzmeWffDH4VbXz58sAx6Q= -github.com/go-openapi/jsonpointer v0.20.2/go.mod h1:bHen+N0u1KEO3YlmqOjTT9Adn1RfD91Ar825/PuiRVs= github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ= github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY= -github.com/go-openapi/jsonreference v0.20.4 h1:bKlDxQxQJgwpUSgOENiMPzCTBVuc7vTdXSSgNeAhojU= -github.com/go-openapi/jsonreference v0.20.4/go.mod h1:5pZJyJP2MnYCpoeoMAql78cCHauHj0V9Lhc506VOpw4= github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ= github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4= -github.com/go-openapi/swag v0.22.7 h1:JWrc1uc/P9cSomxfnsFSVWoE1FW6bNbrVPmpQYpCcR8= -github.com/go-openapi/swag v0.22.7/go.mod h1:Gl91UqO+btAM0plGGxHqJcQZ1ZTy6jbmridBTsDy8A0= github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE= github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ= github.com/go-redis/redis/v8 v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI= @@ -270,8 +261,6 @@ github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17 github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af h1:kmjWCqn2qkEml422C2Rrd27c3VGxi6a/6HNq8QmHRKM= -github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 h1:FKHo8hFI3A+7w0aUQuYXQ+6EN5stWmeY/AZqtM8xk9k= github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= @@ -337,8 +326,6 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.14.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.15.0/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= -github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= github.com/klauspost/compress v1.17.10 h1:oXAz+Vh0PMUvJczoi+flxpnBEPxoER1IaAnU/NMPtT0= github.com/klauspost/compress v1.17.10/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/kloudlite/container-registry-authorizer v0.0.0-20231021122509-161dc30fde55 h1:YnZh3TL6AG4EfoInx1/L5zcPHd2QxgLKseJB1KtHjdQ= @@ -351,6 +338,8 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 h1:SOEGU9fKiNWd/HOJuq6+3iTQz8KNCLtVX6idSoTLdUw= github.com/lann/builder v0.0.0-20180802200727-47ae307949d0/go.mod h1:dXGbAdH5GtBTC4WfIxhKZfyBF/HBFgRZSWwZ9g/He9o= github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 h1:P6pPBnrTSX3DEVR4fDembhRWSsG5rVo6hYhAB/ADZrk= @@ -451,8 +440,6 @@ github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjz github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= -github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE= -github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho= github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zIq5+qNN23vI= github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= @@ -462,8 +449,6 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= -github.com/prometheus/common v0.55.0 h1:KEi6DK7lXW/m7Ig5i47x0vRzuBsHuvJdi5ee6Y3G1dc= -github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8= github.com/prometheus/common v0.60.0 h1:+V9PAREWNvJMAuJ1x1BaWl9dewMW4YrHZQbx0sJNllA= github.com/prometheus/common v0.60.0/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= @@ -527,8 +512,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/urfave/cli/v2 v2.27.3 h1:/POWahRmdh7uztQ3CYnaDddk0Rm90PyOgIxgW2rr41M= -github.com/urfave/cli/v2 v2.27.3/go.mod h1:m4QzxcD2qpra4z7WhzEGn74WZLViBnMpb1ToCAKdGRQ= +github.com/urfave/cli/v2 v2.27.4 h1:o1owoI+02Eb+K107p27wEX9Bb8eqIoZCfLXloLUSWJ8= +github.com/urfave/cli/v2 v2.27.4/go.mod h1:m4QzxcD2qpra4z7WhzEGn74WZLViBnMpb1ToCAKdGRQ= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.33.0/go.mod h1:KJRK/MXx0J+yd0c5hlR+s1tIHD72sniU8ZJjl97LIw4= @@ -537,8 +522,8 @@ github.com/valyala/fasthttp v1.55.0 h1:Zkefzgt6a7+bVKHnu/YaYSOPfNYNisSVBo/unVCf8 github.com/valyala/fasthttp v1.55.0/go.mod h1:NkY9JtkrpPKmgwV3HTaS2HWaJss9RSIsRVfcxxoHiOM= github.com/valyala/tcplisten v1.0.0 h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8= github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= -github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0vy5p8= -github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww= +github.com/vektah/gqlparser/v2 v2.5.17 h1:9At7WblLV7/36nulgekUgIaqHZWn5hxqluxrxGUhOmI= +github.com/vektah/gqlparser/v2 v2.5.17/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= github.com/xanzy/go-gitlab v0.63.0 h1:a9fXpKWykUS6dowapFej/2Wjf4aOAEFC1q2ZIcz4IpI= @@ -612,13 +597,9 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= -golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 h1:1wqE9dj9NpSm04INVsJhhEUzhuDVjbcyKH91sVyPATw= golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -627,8 +608,6 @@ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= -golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -648,13 +627,9 @@ golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20220111093109-d55c255bac03/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= -golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4= golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs= -golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -685,14 +660,10 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= -golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= -golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -702,12 +673,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= -golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= -golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/time v0.7.0 h1:ntUhktv3OPE6TgYxXWv9vKvUSJyIFJlyohwbkEwPrKQ= golang.org/x/time v0.7.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -719,8 +686,6 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg= -golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI= golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ= golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -803,20 +768,14 @@ k8s.io/component-base v0.31.1 h1:UpOepcrX3rQ3ab5NB6g5iP0tvsgJWzxTyAo20sgYSy8= k8s.io/component-base v0.31.1/go.mod h1:WGeaw7t/kTsqpVTaCoVEtillbqAhF2/JgvO0LDOMa0w= k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= -k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag= -k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98= k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 h1:1dWzkmJrrprYvjGwh9kEUxmcUV/CtNU8QM7h1FLWQOo= k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38/go.mod h1:coRQXBK9NxO98XUv3ZD6AK3xzHCxV6+b7lrquKwaKzA= k8s.io/kubectl v0.31.0 h1:kANwAAPVY02r4U4jARP/C+Q1sssCcN/1p9Nk+7BQKVg= k8s.io/kubectl v0.31.0/go.mod h1:pB47hhFypGsaHAPjlwrNbvhXgmuAr01ZBvAIIUaI8d4= -k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A= -k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 h1:MDF6h2H/h4tbzmtIKTuctcwZmY0tY9mD9fNT47QO6HI= k8s.io/utils v0.0.0-20240921022957-49e7df575cb6/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= oras.land/oras-go v1.2.5 h1:XpYuAwAb0DfQsunIyMfeET92emK8km3W4yEzZvUbsTo= oras.land/oras-go v1.2.5/go.mod h1:PuAwRShRZCsZb7g8Ar3jKKQR/2A/qN+pkYxIOd/FAoo= -sigs.k8s.io/controller-runtime v0.16.3 h1:2TuvuokmfXvDUamSx1SuAOO3eTyye+47mJCigwG62c4= -sigs.k8s.io/controller-runtime v0.16.3/go.mod h1:j7bialYoSn142nv9sCOJmQgDXQXxnroFU4VnX/brVJ0= sigs.k8s.io/controller-runtime v0.19.0 h1:nWVM7aq+Il2ABxwiCizrVDSlmDcshi9llbaFbC0ji/Q= sigs.k8s.io/controller-runtime v0.19.0/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=