Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OktetoBuilder ¶
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
Click to show internal directories.
Click to hide internal directories.