build

package
v0.8.7-229-g4a2f8726 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, opts *BuildOptions, args ...string) error

func NewCmd

func NewCmd() *cobra.Command

Types

type BuildOptions

type BuildOptions struct {
	Auth        *config.AuthConfig    `noattribute:"true"`
	Composefile string                `noattribute:"true"`
	Client      kraftcloud.KraftCloud `noattribute:"true"`
	Metro       string                `noattribute:"true"`
	Project     *compose.Project      `noattribute:"true"`
	Push        bool                  `long:"push" usage:"Push the built service images"`
	Runtimes    []string              `long:"runtime" usage:"Alternative runtime to use when packaging a service"`
	Token       string                `noattribute:"true"`
}

func (*BuildOptions) Pre

func (opts *BuildOptions) Pre(cmd *cobra.Command, args []string) error

func (*BuildOptions) Run

func (opts *BuildOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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