cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const BuiltinPipelineDir = "/usr/share/melange/pipelines"

Variables

This section is empty.

Functions

func Build

func Build() *cobra.Command

func BuildCmd

func BuildCmd(ctx context.Context, archs []apko_types.Architecture, base_opts ...build.Option) error

func Bump added in v0.2.0

func Bump() *cobra.Command

func Index added in v0.2.0

func Index() *cobra.Command

func IndexCmd added in v0.2.0

func IndexCmd(ctx context.Context, opts ...index.Option) error

func Keygen

func Keygen() *cobra.Command

func KeygenCmd

func KeygenCmd(ctx context.Context, opts ...KeygenOption) error

func New

func New() *cobra.Command

func SignIndex

func SignIndex() *cobra.Command

func SignIndexCmd

func SignIndexCmd(ctx context.Context, signingKey string, indexFile string) error

func UpdateCache added in v0.2.0

func UpdateCache() *cobra.Command

Types

type KeygenContext

type KeygenContext struct {
	KeyName string
	BitSize int
}

func (*KeygenContext) GenerateKeypair

func (kc *KeygenContext) GenerateKeypair() (*rsa.PrivateKey, *rsa.PublicKey, error)

type KeygenOption

type KeygenOption func(*KeygenContext) error

Jump to

Keyboard shortcuts

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