Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions apps/iam/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ const (
GetCluster Action = "get-cluster"
UpdateCluster Action = "update-cluster"

// cluster managed services
CreateClusterManagedService Action = "create-cluster-managed-service"
DeleteClusterManagedService Action = "delete-cluster-managed-service"
ListClusterManagedServices Action = "list-cluster-managed-services"
GetClusterManagedService Action = "get-cluster-managed-service"
UpdateClusterManagedService Action = "update-cluster-managed-service"

// nodepools
CreateNodepool Action = "create-nodepool"
DeleteNodepool Action = "delete-nodepool"
Expand Down
3 changes: 2 additions & 1 deletion apps/infra/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ tasks:
--struct github.com/kloudlite/api/apps/infra/internal/entities.VPNDevice
--struct github.com/kloudlite/api/apps/infra/internal/entities.PersistentVolumeClaim
--struct github.com/kloudlite/api/apps/infra/internal/entities.BuildRun
--struct github.com/kloudlite/api/apps/infra/internal/entities.ClusterManagedService
--struct github.com/kloudlite/api/pkg/repos.MatchFilter
--struct github.com/kloudlite/api/pkg/repos.CursorPagination
> ./internal/app/_struct-to-graphql/main.go
- |+
pushd ./internal/app/_struct-to-graphql
go run main.go --dev --out-dir ../graph/struct-to-graphql --with-pagination Cluster,Node,NodePool,CloudProviderSecret,DomainEntry,VPNDevice,BuildRun,PersistentVolumeClaim
go run main.go --dev --out-dir ../graph/struct-to-graphql --with-pagination Cluster,Node,NodePool,CloudProviderSecret,DomainEntry,VPNDevice,BuildRun,PersistentVolumeClaim,ClusterManagedService
popd
- rm -rf ./internal/app/_struct-to-graphql

Expand Down
4 changes: 4 additions & 0 deletions apps/infra/internal/app/gqlgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ models:
model: github.com/kloudlite/api/apps/infra/internal/entities.VPNDevice
VPNDeviceIn: *vpn-device-model

ClusterManagedService: &cluster-managed-service
model: github.com/kloudlite/api/apps/infra/internal/entities.ClusterManagedService
ClusterManagedServiceIn: *cluster-managed-service

BuildRun: &build-run-model
model: github.com/kloudlite/api/apps/infra/internal/entities.BuildRun
BuildRunIn: *build-run-model
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions apps/infra/internal/app/graph/cluster.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 90 additions & 0 deletions apps/infra/internal/app/graph/clustermanagedservice.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 6 additions & 9 deletions apps/infra/internal/app/graph/common-types.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions apps/infra/internal/app/graph/domainentry.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading