Documentation ¶
Index ¶
- Variables
- func CancelDeployment(deploymentID string) (cancelDeploymentResult bool, err error)
- func CheckDeployCapability(projectName string) (hashID string, exists bool, err error)
- func Deploy(projectType, projectName, config string, cn bool) (deployment struct{ ... }, err error)
- func GetDeploymentStatus(id string) (deployment struct{ ... }, err error)
- func GetJsonWithPath(url string, path string) (data gjson.Result, err error)
- func GetStsToken(uploadType, projectName string) (data struct{ ... }, err error)
- func GetTemplate(typeArg string) (buildTemplate struct{ ... }, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Graphql = graphql.NewClient("https://api.let.sh.cn/query")
create a client (safe to share across requests)
Functions ¶
func CancelDeployment ¶ added in v0.0.28
func CheckDeployCapability ¶
func GetDeploymentStatus ¶
func GetStsToken ¶
func GetTemplate ¶ added in v0.0.26
func GetTemplate(typeArg string) ( buildTemplate struct { ContainsStatic bool `json:"containsStatic"` ContainsDynamic bool `json:"containsDynamic"` RequireCompiling bool `json:"requireCompiling"` LocalCompiling bool `json:"localCompiling"` CompileCommands []string `json:"compileCommands"` DistDir string `json:"distDir"` }, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.