This commit is contained in:
apple
2025-10-16 16:34:46 +08:00
parent d91c1070c9
commit b08ad6a44f
12 changed files with 86 additions and 3893 deletions

View File

@@ -2,11 +2,12 @@ package api
import (
"errors"
"net/http"
"github.com/labstack/echo/v4"
"gitlab.com/texm/shokku/internal/env"
"gitlab.com/texm/shokku/internal/server/commands"
"gitlab.com/texm/shokku/internal/server/dto"
"net/http"
)
func GetCommandExecutionStatus(e *env.Env, c echo.Context) error {

View File

@@ -1,8 +1,9 @@
package dto
import (
"github.com/texm/dokku-go"
"time"
"github.com/texm/dokku-go"
)
type GetAppOverviewRequest struct {
@@ -266,7 +267,7 @@ type GetAppConfigResponse struct {
}
type SetAppConfigRequest struct {
Name string `json:"name" validate:"appName"`
Name string `json:"name" validate:"appName"`
Config map[string]string `json:"config"`
}

View File

@@ -59,7 +59,7 @@ func SyncUsersToDB(e *env.Env) error {
org := install.GetAccount().GetLogin()
temp_members, response, err = insClient.Organizations.ListMembers(ctx, org, options)
members = append(members, temp_members...)
for response.NextPage != 0 {
options := &gh.ListMembersOptions{
ListOptions: gh.ListOptions{