build

package
v0.0.0-...-452f2e9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// TTYFormat is the default format for the output
	TTYFormat outputFormat = "tty"
)

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, ioCtrl *io.Controller, at, insights buildTrackerInterface, k8slogger *io.K8sLogger) *cobra.Command

Build build and optionally push a Docker image

Types

type Builder

type Builder interface {
	Build(ctx context.Context, options *types.BuildOptions) error
	IsV1() bool
}

Builder is the interface to build any image

type Command

type Command struct {
	GetManifest func(path string, fs afero.Fs) (*model.Manifest, error)

	Builder  buildCmd.OktetoBuilderInterface
	Registry registryInterface
	// contains filtered or unexported fields
}

Command defines the build command

func NewBuildCommand

func NewBuildCommand(ioCtrl *io.Controller, analyticsTracker, insights buildTrackerInterface, okCtx *okteto.ContextStateless, k8slogger *io.K8sLogger) *Command

NewBuildCommand creates a struct to run all build methods

Directories

Path Synopsis
v2

Jump to

Keyboard shortcuts

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