Documentation ¶
Index ¶
- Variables
- func NewClient() *graphql.Client
- type Error
- type GraphqlError
- type MutationCancelDeployment
- type MutationDeploy
- type MutationLink
- type MutationSetPreference
- type MutationStartDevelopment
- type MutationStopDevelopment
- type MutationUnlink
- type QueryAllPreference
- type QueryBuildTemplate
- type QueryCheckDeployCapability
- type QueryDeployment
- type QueryDeployments
- type QueryPreference
- type QueryProject
- type QueryStsToken
Constants ¶
This section is empty.
Variables ¶
View Source
var Client = NewClient()
Functions ¶
Types ¶
type GraphqlError ¶
type MutationCancelDeployment ¶
type MutationCancelDeployment struct {
CancelDeployment bool `graphql:"cancel(deploymentID:$deploymentID)""`
}
type MutationDeploy ¶
type MutationLink ¶
type MutationLink struct {
Link bool `graphql:"link(projectID:$projectID,hostname:$hostname)"`
}
type MutationSetPreference ¶
type MutationSetPreference struct {
SetPreference bool `graphql:"setPreference(name: $name, value: $value)"`
}
func SetPreference ¶
func SetPreference(name, value string) (m MutationSetPreference, err error)
type MutationStopDevelopment ¶
type MutationStopDevelopment struct {
StopDevelopment bool `graphql:"stopDevelopment(projectID:$projectID)""`
}
type MutationUnlink ¶
type MutationUnlink struct {
Unlink bool `graphql:"unlink(projectID:$projectID,hostname:$hostname)"`
}
type QueryAllPreference ¶
type QueryAllPreference struct { AllPreference struct { Channel string `graphql:"channel"` } }
func GetAllPreference ¶
func GetAllPreference() (q QueryAllPreference, err error)
type QueryBuildTemplate ¶
type QueryBuildTemplate struct { BuildTemplate struct { ContainsStatic bool `graphql:"containsStatic"` ContainsDynamic bool `graphql:"containsDynamic"` RequireCompiling bool `graphql:"requireCompiling"` LocalCompiling bool `graphql:"localCompiling"` CompileCommands []string `graphql:"compileCommands"` DistDir string `graphql:"distDir"` } `graphql:"buildTemplate(type:$type)"` }
type QueryDeployment ¶
type QueryDeployment struct { Deployment struct { TargetFQDN string `graphql:"targetFQDN"` NetworkStage string `graphql:"networkStage"` PackerStage string `graphql:"packerStage"` Status string `graphql:"status"` Done bool `graphql:"done"` ErrorLogs string `graphql:"errorLogs"` } `graphql:"deployment(id:$id)"` }
type QueryDeployments ¶
type QueryDeployments struct { Deployments struct { Edges []struct { Node struct { ID string `graphql:"id"` } `graphql:"node"` } `graphql:"edges"` } `graphql:"deployments(first:$first,projectName:$projectName,orderBy:{direction:DESC,field:UPDATED_AT})"` }
type QueryPreference ¶
type QueryPreference struct {
Preference string `graphql:"preference(name: $name)"`
}
type QueryProject ¶
type QueryStsToken ¶
Click to show internal directories.
Click to hide internal directories.