devhost

package
v0.0.365 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const DevHostFilename = "devhost.textpb"

Variables

View Source
var HasRuntime func(string) bool

Functions

func Delete

func Delete(ctx context.Context, root *parsing.Root) error

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 HostOnlyFiles

func HostOnlyFiles() []string

func MakeConfiguration

func MakeConfiguration(messages ...proto.Message) (*schema.DevHost_ConfigureEnvironment, error)

func Prepare

func Prepare(ctx context.Context, root *parsing.Root) error

func RewriteWith

func RewriteWith(ctx context.Context, fsys fnfs.ReadWriteFS, filename string, devhost *schema.DevHost) error

func Update

func Update(devHost *schema.DevHost, confs ...*schema.DevHost_ConfigureEnvironment) (*schema.DevHost, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL