Skip to content
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
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/devsy-org/api
go 1.25.0

require (
github.com/devsy-org/admin-apis v1.2.0
github.com/devsy-org/agentapi v1.0.0
github.com/devsy-org/apiserver v1.2.0
github.com/devsy-org/admin-apis v1.0.0
github.com/devsy-org/agentapi v1.0.1
github.com/devsy-org/apiserver v1.0.0
github.com/ghodss/yaml v1.0.0
google.golang.org/grpc v1.78.0
google.golang.org/protobuf v1.36.11
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/devsy-org/admin-apis v1.2.0 h1:zfOltpdDxoO0FAe15NFb1NRNkmcdfn3QUY3hQ/aEZV4=
github.com/devsy-org/admin-apis v1.2.0/go.mod h1:N2PrbYDtigY4By1yE1c6gfsWE5bIb6zwY9rUGK/9RWI=
github.com/devsy-org/agentapi v1.0.0 h1:CGO6v6JHTywgN0De4m5+BmRn1T07TqmNkEKCkXRb9qs=
github.com/devsy-org/agentapi v1.0.0/go.mod h1:5MB8LyV7zYP/Wn7vN7FeogaZeod2aiu7GuJtEOh9XuA=
github.com/devsy-org/apiserver v1.2.0 h1:orLQQG+6s7noI4DfBYTC7bSstqIh8QZaYF8OyX02L8M=
github.com/devsy-org/apiserver v1.2.0/go.mod h1:2jKuqy8XdH/g4bIjmkj3efQgshN/NjMzm17SkvvSR88=
github.com/devsy-org/admin-apis v1.0.0 h1:PXEIyhecYMBxXF1Si6Q35m4aMmzybQ6WffeParRfjEw=
github.com/devsy-org/admin-apis v1.0.0/go.mod h1:N2PrbYDtigY4By1yE1c6gfsWE5bIb6zwY9rUGK/9RWI=
github.com/devsy-org/agentapi v1.0.1 h1:qdSs162AWvtGwsXrYcM0hJqQ79M0t/HTrZ+/KFeTxCs=
github.com/devsy-org/agentapi v1.0.1/go.mod h1:VmUPw3OdIJ27ONFInfUrHliTyokhQtGmoiGWtmBzDrU=
github.com/devsy-org/apiserver v1.0.0 h1:HBOwk6DeZKQzuDzUTnQ03YkOewYiBfE9r7qn/AcyRU4=
github.com/devsy-org/apiserver v1.0.0/go.mod h1:2jKuqy8XdH/g4bIjmkj3efQgshN/NjMzm17SkvvSR88=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes=
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/management/v1/app_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

// +genclient
// +genclient:nonNamespaced
// +genclient:method=GetCredentials,verb=get,subresource=credentials,result=github.com/devsy-org/api/pkg/apis/management/v1.AppCredentials
// +genclient:method=GetCredentials,verb=get,subresource=credentials,result=github.com/devsy-org/api/pkg/apis/management/v1.AppCredentials //nolint:lll

Check failure on line 10 in pkg/apis/management/v1/app_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 151 characters long, which exceeds the maximum of 120 characters. (lll)
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// App holds the information
Expand Down
8 changes: 4 additions & 4 deletions pkg/apis/management/v1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

// +genclient
// +genclient:nonNamespaced
// +genclient:method=ListAccess,verb=get,subresource=memberaccess,result=github.com/devsy-org/api/pkg/apis/management/v1.ClusterMemberAccess
// +genclient:method=ListMembers,verb=get,subresource=members,result=github.com/devsy-org/api/pkg/apis/management/v1.ClusterMembers
// +genclient:method=GetAgentConfig,verb=get,subresource=agentconfig,result=github.com/devsy-org/api/pkg/apis/management/v1.ClusterAgentConfig
// +genclient:method=GetAccessKey,verb=get,subresource=accesskey,result=github.com/devsy-org/api/pkg/apis/management/v1.ClusterAccessKey
// +genclient:method=ListAccess,verb=get,subresource=memberaccess,result=github.com/devsy-org/api/pkg/apis/management/v1.ClusterMemberAccess //nolint:lll

Check failure on line 11 in pkg/apis/management/v1/cluster_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 153 characters long, which exceeds the maximum of 120 characters. (lll)
// +genclient:method=ListMembers,verb=get,subresource=members,result=github.com/devsy-org/api/pkg/apis/management/v1.ClusterMembers //nolint:lll

Check failure on line 12 in pkg/apis/management/v1/cluster_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 144 characters long, which exceeds the maximum of 120 characters. (lll)
// +genclient:method=GetAgentConfig,verb=get,subresource=agentconfig,result=github.com/devsy-org/api/pkg/apis/management/v1.ClusterAgentConfig //nolint:lll

Check failure on line 13 in pkg/apis/management/v1/cluster_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 155 characters long, which exceeds the maximum of 120 characters. (lll)
// +genclient:method=GetAccessKey,verb=get,subresource=accesskey,result=github.com/devsy-org/api/pkg/apis/management/v1.ClusterAccessKey //nolint:lll

Check failure on line 14 in pkg/apis/management/v1/cluster_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 149 characters long, which exceeds the maximum of 120 characters. (lll)
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// Cluster holds the cluster information
Expand Down
8 changes: 4 additions & 4 deletions pkg/apis/management/v1/devpodworkspaceinstance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

// +genclient
// +genclient:noStatus
// +genclient:method=Up,verb=create,subresource=up,input=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceUp,result=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceUp
// +genclient:method=Stop,verb=create,subresource=stop,input=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceStop,result=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceStop
// +genclient:method=Troubleshoot,verb=get,subresource=troubleshoot,result=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceTroubleshoot
// +genclient:method=Cancel,verb=create,subresource=cancel,input=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceCancel,result=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceCancel
// +genclient:method=Up,verb=create,subresource=up,input=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceUp,result=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceUp //nolint:lll

Check failure on line 12 in pkg/apis/management/v1/devpodworkspaceinstance_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 224 characters long, which exceeds the maximum of 120 characters. (lll)
// +genclient:method=Stop,verb=create,subresource=stop,input=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceStop,result=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceStop //nolint:lll

Check failure on line 13 in pkg/apis/management/v1/devpodworkspaceinstance_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 232 characters long, which exceeds the maximum of 120 characters. (lll)
// +genclient:method=Troubleshoot,verb=get,subresource=troubleshoot,result=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceTroubleshoot //nolint:lll

Check failure on line 14 in pkg/apis/management/v1/devpodworkspaceinstance_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 171 characters long, which exceeds the maximum of 120 characters. (lll)
// +genclient:method=Cancel,verb=create,subresource=cancel,input=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceCancel,result=github.com/devsy-org/api/pkg/apis/management/v1.DevPodWorkspaceInstanceCancel //nolint:lll

Check failure on line 15 in pkg/apis/management/v1/devpodworkspaceinstance_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 240 characters long, which exceeds the maximum of 120 characters. (lll)
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// DevPodWorkspaceInstance holds the DevPodWorkspaceInstance information
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/management/v1/license_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

// +genclient
// +genclient:nonNamespaced
// +genclient:method=LicenseRequest,verb=create,subresource=request,input=github.com/devsy-org/api/pkg/apis/management/v1.LicenseRequest,result=github.com/devsy-org/api/pkg/apis/management/v1.LicenseRequest
// +genclient:method=LicenseRequest,verb=create,subresource=request,input=github.com/devsy-org/api/pkg/apis/management/v1.LicenseRequest,result=github.com/devsy-org/api/pkg/apis/management/v1.LicenseRequest //nolint:lll

Check failure on line 10 in pkg/apis/management/v1/license_types.go

View workflow job for this annotation

GitHub Actions / Lint

The line is 219 characters long, which exceeds the maximum of 120 characters. (lll)
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// License holds the license information
Expand Down
12 changes: 6 additions & 6 deletions pkg/apis/management/v1/project_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (

// +genclient
// +genclient:nonNamespaced
// +genclient:method=ListMembers,verb=get,subresource=members,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMembers
// +genclient:method=ListTemplates,verb=get,subresource=templates,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectTemplates
// +genclient:method=ListClusters,verb=get,subresource=clusters,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectClusters
// +genclient:method=MigrateVirtualClusterInstance,verb=create,subresource=migratevirtualclusterinstance,input=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMigrateVirtualClusterInstance,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMigrateVirtualClusterInstance
// +genclient:method=ImportSpace,verb=create,subresource=importspace,input=github.com/devsy-org/api/pkg/apis/management/v1.ProjectImportSpace,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectImportSpace
// +genclient:method=MigrateSpaceInstance,verb=create,subresource=migratespaceinstance,input=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMigrateSpaceInstance,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMigrateSpaceInstance
// +genclient:method=ListMembers,verb=get,subresource=members,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMembers //nolint:lll
// +genclient:method=ListTemplates,verb=get,subresource=templates,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectTemplates //nolint:lll
// +genclient:method=ListClusters,verb=get,subresource=clusters,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectClusters //nolint:lll
// +genclient:method=MigrateVirtualClusterInstance,verb=create,subresource=migratevirtualclusterinstance,input=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMigrateVirtualClusterInstance,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMigrateVirtualClusterInstance //nolint:lll
// +genclient:method=ImportSpace,verb=create,subresource=importspace,input=github.com/devsy-org/api/pkg/apis/management/v1.ProjectImportSpace,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectImportSpace //nolint:lll
// +genclient:method=MigrateSpaceInstance,verb=create,subresource=migratespaceinstance,input=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMigrateSpaceInstance,result=github.com/devsy-org/api/pkg/apis/management/v1.ProjectMigrateSpaceInstance //nolint:lll
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// Project holds the Project information
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/management/v1/team_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

// +genclient
// +genclient:nonNamespaced
// +genclient:method=ListClusters,verb=get,subresource=clusters,result=github.com/devsy-org/api/pkg/apis/management/v1.TeamClusters
// +genclient:method=ListAccessKeys,verb=get,subresource=accesskeys,result=github.com/devsy-org/api/pkg/apis/management/v1.TeamAccessKeys
// +genclient:method=ListClusters,verb=get,subresource=clusters,result=github.com/devsy-org/api/pkg/apis/management/v1.TeamClusters //nolint:lll
// +genclient:method=ListAccessKeys,verb=get,subresource=accesskeys,result=github.com/devsy-org/api/pkg/apis/management/v1.TeamAccessKeys //nolint:lll
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// Team holds the team information
Expand Down
8 changes: 4 additions & 4 deletions pkg/apis/management/v1/user_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (

// +genclient
// +genclient:nonNamespaced
// +genclient:method=GetProfile,verb=get,subresource=profile,result=github.com/devsy-org/api/pkg/apis/management/v1.UserProfile
// +genclient:method=UpdateProfile,verb=create,subresource=profile,input=github.com/devsy-org/api/pkg/apis/management/v1.UserProfile,result=github.com/devsy-org/api/pkg/apis/management/v1.UserProfile
// +genclient:method=ListClusters,verb=get,subresource=clusters,result=github.com/devsy-org/api/pkg/apis/management/v1.UserClusters
// +genclient:method=ListAccessKeys,verb=get,subresource=accesskeys,result=github.com/devsy-org/api/pkg/apis/management/v1.UserAccessKeys
// +genclient:method=GetProfile,verb=get,subresource=profile,result=github.com/devsy-org/api/pkg/apis/management/v1.UserProfile //nolint:lll
// +genclient:method=UpdateProfile,verb=create,subresource=profile,input=github.com/devsy-org/api/pkg/apis/management/v1.UserProfile,result=github.com/devsy-org/api/pkg/apis/management/v1.UserProfile //nolint:lll
// +genclient:method=ListClusters,verb=get,subresource=clusters,result=github.com/devsy-org/api/pkg/apis/management/v1.UserClusters //nolint:lll
// +genclient:method=ListAccessKeys,verb=get,subresource=accesskeys,result=github.com/devsy-org/api/pkg/apis/management/v1.UserAccessKeys //nolint:lll
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// User holds the user information
Expand Down
10 changes: 5 additions & 5 deletions pkg/apis/management/v1/virtualclusterinstance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (

// +genclient
// +genclient:noStatus
// +genclient:method=GetKubeConfig,verb=create,subresource=kubeconfig,input=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterInstanceKubeConfig,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterInstanceKubeConfig
// +genclient:method=GetAccessKey,verb=get,subresource=accesskey,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterAccessKey
// +genclient:method=GetExternalDatabase,verb=create,subresource=externaldatabase,input=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterExternalDatabase,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterExternalDatabase
// +genclient:method=GetNodeAccessKey,verb=create,subresource=nodeaccesskey,input=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterNodeAccessKey,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterNodeAccessKey
// +genclient:method=GetStandaloneETCDPeers,verb=create,subresource=standalone,input=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterStandalone,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterStandalone
// +genclient:method=GetKubeConfig,verb=create,subresource=kubeconfig,input=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterInstanceKubeConfig,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterInstanceKubeConfig //nolint:lll
// +genclient:method=GetAccessKey,verb=get,subresource=accesskey,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterAccessKey //nolint:lll
// +genclient:method=GetExternalDatabase,verb=create,subresource=externaldatabase,input=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterExternalDatabase,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterExternalDatabase //nolint:lll
// +genclient:method=GetNodeAccessKey,verb=create,subresource=nodeaccesskey,input=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterNodeAccessKey,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterNodeAccessKey //nolint:lll
// +genclient:method=GetStandaloneETCDPeers,verb=create,subresource=standalone,input=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterStandalone,result=github.com/devsy-org/api/pkg/apis/management/v1.VirtualClusterStandalone //nolint:lll
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// VirtualClusterInstance holds the VirtualClusterInstance information
Expand Down
24 changes: 0 additions & 24 deletions pkg/devpod/cloneoptions.go

This file was deleted.

82 changes: 0 additions & 82 deletions pkg/devpod/platformoptions.go

This file was deleted.

Loading
Loading