Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + const ADDONS_RESTART_WAITTING_DELAY + const Optional + const PAGE_SIZE + const PROJECT_DEPLOYMENT_ACTION_START + const PROJECT_DEPLOYMENT_ACTION_STOP + const RUNTIME_STOP_WAITTING_DELAY + const Required + var CLONE = command.Command + var CONFIG = command.Command + var CONFIGDELETE = command.Command + var CONFIGGET = command.Command + var CONFIGSET = command.Command + var CONFIGUPDATE = command.Command + var EXT = command.Command + var EXTENSIONSPULL = command.Command + var EXTENSIONSPUSH = command.Command + var EXTENSIONSRETAG = command.Command + var Gorm = command.Command + var GormGen = command.Command + var Gw = command.Command + var GwCreate = command.Command + var GwDebugAuth = command.Command + var GwDel = command.Command + var GwDump = command.Command + var GwGc = command.Command + var GwLs = command.Command + var ISSUE = command.Command + var ISSUECLOSE = command.Command + var ISSUEFIX = command.Command + var ISSUETOPEN = command.Command + var MR = command.Command + var MRCOMPARE = command.Command + var MRCREATE = command.Command + var MROPEN = command.Command + var Migrate = command.Command + var MigrateMkPyPkg = command.Command + var MigratePy = command.Command + var MigrateRecord = command.Command + var MigrationLint = command.Command + var PIPELINERUN = command.Command + var PROJECTCREATE = command.Command + var PROJECTDEPLOYMENT = command.Command + var PROJECTDEPLOYMENTSTART = command.Command + var PROJECTDEPLOYMENTSTOP = command.Command + var PUSH = command.Command + var VERSION = command.Command + var VIEW = command.Command + func BranchCompletion(ctx *cobra.Command, args []string, toComplete string, filename, branch string, ...) []string + func Clone(ctx *command.Context, ustr string, cloneApps bool) error + func CloseIssueCompletion(ctx *cobra.Command, args []string, toComplete string, issueID int, ...) []string + func Doc(en, zh string, required bool) string + func FilenameCompletion(ctx *cobra.Command, args []string, toComplete string, filename, branch string, ...) []string + func FixIssueCompletion(ctx *cobra.Command, args []string, toComplete string, issueID int, ...) []string + func GenSHA256HashCode(stringMessage string) string + func GetProjectAddonsRoutingKeysForStopOrStart(ctx *command.Context, params PDParameters) ([]string, error) + func GetProjectApplicationIds(ctx *command.Context, params PDParameters) ([]string, error) + func GetProjectApplicationRuntimesIDsForStopOrStart(ctx *command.Context, params PDParameters, applicationId string) ([]string, error) + func GwDelPreCheck(input string, output *string, cluster, kongAdmin string, deleteFromErda bool) error + func HepaHostFromOpenapi(ctx *command.Context, hepa string) error + func HmacGenAuthorization(ak, signature, digest string) string + func HmacGenDate() (string, error) + func HmacGenDigest(data []byte) (string, error) + func HmacGenSignature(signingString, sk string) (string, error) + func HmacGenSigningString(date, method, requestLine, digest string) string + func IssueClose(ctx *command.Context, issueID int, manHour string) error + func IssueCompletion(ctx *cobra.Command, args []string, toComplete string, issueID int) []string + func IssueFix(ctx *command.Context, issueID int, application, branch, baseBranch string) error + func IssueOpen(ctx *command.Context, issueID int) error + func MrCompare(ctx *command.Context, application, from, to string) error + func MrCreate(ctx *command.Context, application, from, to, title, desc string, ...) error + func MrCreateApplicationCompletion(ctx *cobra.Command, args []string, toComplete string, ...) []string + func MrCreateBranchCompletion(ctx *cobra.Command, args []string, toComplete string, ...) []string + func MrCreateIssueCompletion(ctx *cobra.Command, args []string, toComplete string, ...) []string + func MrOpen(ctx *command.Context, mrID int, application string) error + func MyIssueList(ctx *command.Context, noHeaders, requirement, task, bug bool, pageSize int) error + func OpenIssueCompletion(ctx *cobra.Command, args []string, toComplete string, issueID int) []string + func PipelineRun(ctx *command.Context, filename, branch string, watch bool) error + func PipelineView(ctx *command.Context, branch string, pipelineID uint64, watch bool) (err error) + func ProjectCreate(ctx *command.Context, org, project, desc, pkg string, envs []string, ...) error + func Push(ctx *command.Context, urlstr string, applications []string, configfile string, ...) error + func RmSandbox(name string) error + func RunExtensions(ctx *command.Context, all bool) error + func RunExtensionsPull(ctx *command.Context, extension string, dir string) error + func RunExtensionsPush(ctx *command.Context, force bool, all bool, dir, registry string) error + func RunExtensionsReTag(ctx *command.Context, dir string, registry string, output string) error + func RunFeaturesDelete(ctx *command.Context, org, project, workspace string) error + func RunFeaturesGet(ctx *command.Context, org, project, workspace string) error + func RunFeaturesSet(ctx *command.Context, feature, org, project, workspace string) error + func RunFeaturesUpdate(ctx *command.Context, feature, org, project, workspace string) error + func RunGormGen(ctx *command.Context, filename, output string) error + func RunGwCreate(ctx *command.Context, scene string, orgName string, projectID int, env string, ...) error + func RunGwDebugAuth(ctx *command.Context, auth, ak, sk, contentType, data, method, uri string, ...) error + func RunGwDel(ctx *command.Context, pkgID, input, orgName string) error + func RunGwDump(ctx *command.Context, pkgId, output, orgName string) error + func RunGwGc(context *command.Context, input, output, cluster, kongAdmin string, ...) error + func RunGwLs(context *command.Context, invalidOnly bool, cluster, output, hepa string) error + func RunMigrate(ctx *command.Context, host string, port int, ...) error + func RunMigrateLint(ctx *command.Context, input, filename string) (err error) + func RunMigrateMkPy(ctx *command.Context, workdir, module, name string, tables []string) error + func RunMigrateMkPyPkg(ctx *command.Context, host string, port int, ...) (err error) + func RunMigrateRecord(ctx *command.Context, host string, port int, ...) error + func RunStartProjectInWorkspace(ctx *command.Context, org, project, workspace string) error + func RunStopProjectInWorkspace(ctx *command.Context, org, project, workspace string) error + func RunVersion(ctx *command.Context) error + func SQLTypeToGoType(name string, tp byte) string + func Sha512(s string) string + func StandardMigrateLint(ctx *command.Context, input, filename string) (err error) + func StartProjectWorkspaceAddons(ctx *command.Context, addonIds []string, params PDParameters) error + func StartProjectWorkspaceRuntimes(ctx *command.Context, runtimeIds []string, params PDParameters) error + func StartSandbox(exposePort int, name string) error + func StopProjectWorkspaceAddons(ctx *command.Context, addonIds []string, params PDParameters) error + func StopProjectWorkspaceRuntimes(ctx *command.Context, runtimeIds []string, params PDParameters) error + func StopSandbox(name string) error + func TableNameToStructName(name string) string + type DockerAuth struct + Auth string + type DockerConfig struct + Auths map[string]DockerAuth + type ExtensionInfo struct + Dice map[string]interface{} + DiceErr error + Path string + Spec apistructs.Spec + SpecErr error + func GetExtMetas(dir string) []ExtensionInfo + type Field struct + Column string + Name string + Tag string + Type string + type GetApplicationRuntimesDataEleExtra struct + ApplicationID uint64 + BuildID uint64 + Workspace string + type GetApplicationRuntimesResponse struct + Data []*bundle.GetApplicationRuntimesDataEle + type InvalidEndpoints struct + Data InvalidEndpointsData + Success bool + type InvalidEndpointsData struct + List []InvalidEndpointsItem + Total int + TotalInnerAddrIsInvalid int + TotalProjectIsInvalid int + TotalRuntimeIsInvalid int + type InvalidEndpointsItem struct + ClusterName string + InnerHostname string + InvalidReason string + KongRouteID string + KongServiceID string + PackageApiID string + PackageID string + ProjectID string + RouteDeleting string + RuntimeID string + ServiceDeleting string + Type string + type ListPackageAPIsResponse struct + Data ListPackageAPIsResponseData + Success bool + type ListPackageAPIsResponseData struct + List []ListPackageAPIsResponseItem + Total int + type ListPackageAPIsResponseItem struct + AllowPassAuth bool + ApiId string + ApiPath string + CreateAt string + Description string + DiceApp string + DiceService string + Hosts interface{} + Mutable bool + Origin string + RedirectAddr string + RedirectApp string + RedirectPath string + RedirectRuntimeId string + RedirectRuntimeName string + RedirectService string + RedirectType string + type PDParameters struct + type Package struct + License string + Package string + Source string + type Table struct + Fields []Field + SName string + TableName string + func Stmt2Struct(stmt *ast.CreateTableStmt) *Table