{"modulePath":"gitlab.com/gitlab-org/gitlab-runner","version":"v12.5.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Constants\n\n```go\nconst (\n\t// The name of the variable used to pass the value of Build failure exit code\n\t// that should be returned from Custom executor driver\n\tBuildFailureExitCodeVariable = \"BUILD_FAILURE_EXIT_CODE\"\n\n\t// The name of the variable used to pass the value of System failure exit code\n\t// that should be returned from Custom executor driver\n\tSystemFailureExitCodeVariable = \"SYSTEM_FAILURE_EXIT_CODE\"\n)\n```\n\n## Types\n\n```go\ntype ConfigExecOutput struct {\n\tDriver *DriverInfo `json:\"driver,omitempty\"`\n\n\tHostname  *string `json:\"hostname,omitempty\"`\n\tBuildsDir *string `json:\"builds_dir,omitempty\"`\n\tCacheDir  *string `json:\"cache_dir,omitempty\"`\n\n\tBuildsDirIsShared *bool `json:\"builds_dir_is_shared,omitempty\"`\n}\n```\nConfigExecOutput defines the output structure of the config\\_exec call.\n\nThis should be used to pass the configuration values from Custom Executor driver to the Runner.\n\n```go\ntype DriverInfo struct {\n\tName    *string `json:\"name,omitempty\"`\n\tVersion *string `json:\"version,omitempty\"`\n}\n```\nDriverInfo wraps the information about Custom Executor driver details like the name or version\n\n","path":"gitlab.com/gitlab-org/gitlab-runner/executors/custom/api","name":"api","synopsis":"","isRedistributable":true}
