Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BUILT_IN_ENV = []string{
"CI",
"CIRCLECI",
"CIRCLE_BRANCH",
"CIRCLE_BUILD_NUM",
"CIRCLE_BUILD_URL",
"CIRCLE_JOB",
"CIRCLE_NODE_INDEX",
"CIRCLE_NODE_TOTAL",
"CIRCLE_OIDC_TOKEN",
"CIRCLE_PR_NUMBER",
"CIRCLE_PR_REPONAME",
"CIRCLE_PR_USERNAME",
"CIRCLE_PREVIOUS_BUILD_NUM",
"CIRCLE_PROJECT_REPONAME",
"CIRCLE_PROJECT_USERNAME",
"CIRCLE_PULL_REQUEST",
"CIRCLE_PULL_REQUESTS",
"CIRCLE_REPOSITORY_URL",
"CIRCLE_SHA1",
"CIRCLE_TAG",
"CIRCLE_USERNAME",
"CIRCLE_WORKFLOW_ID",
"CIRCLE_WORKFLOW_JOB_ID",
"CIRCLE_WORKFLOW_WORKSPACE_ID",
"CIRCLE_WORKING_DIRECTORY",
}
Functions ¶
This section is empty.
Types ¶
type CompletionHandler ¶
type CompletionHandler struct { Params protocol.CompletionParams Doc yamlparser.YamlDocument DocTag string DocDiff string Items []protocol.CompletionItem Cache *utils.Cache Context *utils.LsContext }
func (*CompletionHandler) GetCompletionItems ¶
func (ch *CompletionHandler) GetCompletionItems()
func (*CompletionHandler) GetOrbInfo ¶
func (ch *CompletionHandler) GetOrbInfo(orb ast.Orb) *ast.OrbInfo
type NamespaceOrbResponse ¶
type OrbCache ¶
type OrbCache struct {
// contains filtered or unexported fields
}
func (*OrbCache) GetOrbsOfRegistry ¶
func (cache *OrbCache) GetOrbsOfRegistry(registry, hostUrl, token, userId string) (*NamespaceOrbResponse, error)
func (*OrbCache) GetVersionsOfOrb ¶
func (cache *OrbCache) GetVersionsOfOrb(orbName, hostUrl, token, userId string) (*OrbGQLData, error)
type OrbGQLData ¶
type OrbGQLData struct { ID string `json:"id"` Name string `json:"name"` Versions []OrbVersion `json:"versions"` }
type OrbVersion ¶
type OrbVersion struct {
Version string `json:"version"`
}
Click to show internal directories.
Click to hide internal directories.