commands

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: Apache-2.0 Imports: 40 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = New()
View Source
var Version string

Version is provided by govvv at compile-time

Functions

func AddKubeCommands

func AddKubeCommands(topLevel *cobra.Command)

AddKubeCommands augments our CLI surface with a passthru delete command, and an apply command that realizes the promise of ko, as outlined here:

https://github.com/google/go-containerregistry/issues/80

func New added in v0.9.0

func New() *cobra.Command

func NewBuilder added in v0.9.0

func NewBuilder(ctx context.Context, bo *options.BuildOptions) (build.Interface, error)

NewBuilder creates a ko builder

func NewPublisher added in v0.9.0

func NewPublisher(po *options.PublishOptions) (publish.Interface, error)

NewPublisher creates a ko publisher

func PublishImages added in v0.9.0

func PublishImages(ctx context.Context, importpaths []string, pub publish.Interface, b build.Interface) (map[string]name.Reference, error)

PublishImages publishes images

func ResolveFilesToWriter added in v0.12.0

func ResolveFilesToWriter(
	ctx context.Context,
	builder *build.Caching,
	publisher publish.Interface,
	fo *options.FilenameOptions,
	so *options.SelectorOptions,
	out io.WriteCloser) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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