v1

package
v0.0.0-...-fa857ea Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OktetoBuilder

type OktetoBuilder struct {
	basic.Builder
}

OktetoBuilder It is a wrapper of basic.Builder to build an image specified by a Dockerfile. a.k.a. Builder v1 It mainly extends the basic.Builder with the ability to expand the image tag with the environment variables and printing the corresponding output when the build finishes.

func NewBuilder

func NewBuilder(builder basic.BuildRunner, ioCtrl *io.Controller) *OktetoBuilder

NewBuilder creates a new builder wrapping basic.Builder to build images directly from a Dockerfile

func NewBuilderFromScratch

func NewBuilderFromScratch(ioCtrl *io.Controller) *OktetoBuilder

NewBuilderFromScratch creates a new okteto builder

func (*OktetoBuilder) Build

func (ob *OktetoBuilder) Build(ctx context.Context, options *types.BuildOptions) error

Build builds the images defined by a Dockerfile

func (*OktetoBuilder) IsV1

func (*OktetoBuilder) IsV1() bool

IsV1 returns true since it is a builder v1

Jump to

Keyboard shortcuts

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