Documentation ¶
Index ¶
- Constants
- Variables
- func Delete(ctx context.Context, root *parsing.Root) error
- func FormatPlatform(platform specs.Platform) string
- func FormatPlatforms(platforms []specs.Platform) []string
- func HostOnlyFiles() []string
- func MakeConfiguration(messages ...proto.Message) (*schema.DevHost_ConfigureEnvironment, error)
- func ParsePlatform(str string) (specs.Platform, error)
- func PlatformToProto(s specs.Platform) *schema.Platform
- func Prepare(ctx context.Context, root *parsing.Root) error
- func ProtoToPlatform(p *schema.Platform) specs.Platform
- func RewriteWith(ctx context.Context, fsys fnfs.ReadWriteFS, filename string, ...) error
- func RuntimePlatform() specs.Platform
- func Update(devHost *schema.DevHost, confs ...*schema.DevHost_ConfigureEnvironment) (*schema.DevHost, bool)
Constants ¶
View Source
const DevHostFilename = "devhost.textpb"
Variables ¶
View Source
var HasRuntime func(string) bool
Functions ¶
func Delete ¶
Delete deletes the devhost filename. We gracefully handle the case where the file does not exist and return errors only if we fail to remove a valid file.
func FormatPlatform ¶
func FormatPlatforms ¶
func HostOnlyFiles ¶
func HostOnlyFiles() []string
func MakeConfiguration ¶
func MakeConfiguration(messages ...proto.Message) (*schema.DevHost_ConfigureEnvironment, error)
func RewriteWith ¶
func RuntimePlatform ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.