Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache string
View Source
var Container string
View Source
var Directory string
View Source
var ErrNotImplementedYet = errors.New("not implemented yet")
ErrNotImplementedYet is used to stub out API fields that aren't implemented yet.
View Source
var ErrServicesDisabled = fmt.Errorf("services are disabled; unset %s to enable", engine.ServicesDNSEnvName)
View Source
var File string
View Source
var Git string
View Source
var HTTP string
View Source
var Host string
View Source
var Platform string
View Source
var Project string
View Source
var Query string
View Source
var Secret string
View Source
var Socket string
Functions ¶
func New ¶
func New(params InitializeArgs) (router.ExecutableSchema, error)
Types ¶
type EnvVariable ¶
type ExposedPort ¶ added in v0.3.13
type ExposedPort struct {
Port int `json:"port"`
Protocol string `json:"protocol"`
Description *string `json:"description,omitempty"`
}
NB(vito): we have to use a different type with a regular string Protocol field so that the enum mapping works.
type InitializeArgs ¶
type InitializeArgs struct {
Router *router.Router
Workdir string
Gateway *core.GatewayClient
BKClient *bkclient.Client
SolveOpts bkclient.SolveOpt
SolveCh chan *bkclient.SolveStatus
OCIStore content.Store
Platform specs.Platform
DisableHostRW bool
Auth *auth.RegistryAuthProvider
Secrets *secret.Store
// TODO(vito): remove when stable
EnableServices bool
}
Click to show internal directories.
Click to hide internal directories.