invocation

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Invocation

type Invocation struct {
	ImageName            string
	Image                compute.Computable[oci.ResolvableImage]
	PublicImageID        *oci.ImageID
	SupportedToolVersion int
	Command              []string
	Args                 []string
	Snapshots            []Snapshot
	WorkingDir           string
	NoCache              bool
	Inject               []*schema.Invocation_ValueInjection
}

func Make

func MakeForPlatforms

func MakeForPlatforms(ctx context.Context, pl pkggraph.SealedPackageLoader, env cfg.Context, serverLocRef *pkggraph.Location, with *schema.Invocation, target ...specs.Platform) (*Invocation, error)

type Snapshot

type Snapshot struct {
	Name     string
	Contents fs.FS
}

Jump to

Keyboard shortcuts

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