Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TTYFormat is the default format for the output
TTYFormat outputFormat = "tty"
)
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.