package outline
import "github.com/moby/buildkit/frontend/subrequests/outline"
Index ¶
- Constants
- Variables
- func PrintOutline(dt []byte, w io.Writer) error
- type Arg
- type CacheMount
- type Outline
- type SSH
- type Secret
Constants ¶
const RequestSubrequestsOutline = "frontend.outline"
Variables ¶
var SubrequestsOutlineDefinition = subrequests.Request{ Name: RequestSubrequestsOutline, Version: "1.0.0", Type: subrequests.TypeRPC, Description: "List all parameters current build target supports", Opts: []subrequests.Named{ { Name: "target", Description: "Target build stage", }, }, Metadata: []subrequests.Named{ {Name: "result.json"}, {Name: "result.txt"}, }, }
Functions ¶
func PrintOutline ¶
Types ¶
type Arg ¶
type Arg struct { Name string `json:"name"` Description string `json:"description,omitempty"` Value string `json:"value,omitempty"` Location *pb.Location `json:"location,omitempty"` }
type CacheMount ¶
type Outline ¶
type Outline struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Args []Arg `json:"args,omitempty"` Secrets []Secret `json:"secrets,omitempty"` SSH []SSH `json:"ssh,omitempty"` Cache []CacheMount `json:"cache,omitempty"` Sources [][]byte `json:"sources,omitempty"` }
func (Outline) ToResult ¶
type SSH ¶
type SSH struct { Name string `json:"name"` Required bool `json:"required,omitempty"` Location *pb.Location `json:"location,omitempty"` }
type Secret ¶
type Secret struct { Name string `json:"name"` Required bool `json:"required,omitempty"` Location *pb.Location `json:"location,omitempty"` }
Source Files ¶
- Version
- v0.12.2
- Published
- Aug 23, 2023
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 27 seconds ago –
Tools for package owners.