binary

package
v0.0.120 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBinaryInvocationField

func ParseBinaryInvocationField(ctx context.Context, env *schema.Environment, pl parsing.EarlyPackageLoader, pkg *pkggraph.Package, binaryName string, cuePath string, v *fncue.CueV) (*schema.Invocation, error)

func ParseBinaryInvocationForBinaryRef

func ParseBinaryInvocationForBinaryRef(ctx context.Context, owner schema.PackageName, binRef *schema.PackageRef, v *fncue.CueV) (*schema.Invocation, error)

func ParseImage

Parses "image"/"imageFrom"/<string> fields. If needed, generates a binary with the given name and adds it to the package. Returns nil if neither of the fields is present.

Types

type ParseImageOpts

type ParseImageOpts struct {
	Required bool
}

Jump to

Keyboard shortcuts

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