Documentation ¶
Index ¶
- Constants
- func ApkBuild() *cobra.Command
- func Build() *cobra.Command
- func BuildCmd(ctx context.Context, archs []apko_types.Architecture, baseOpts ...build.Option) error
- func Bump() *cobra.Command
- func Completion() *cobra.Command
- func Convert() *cobra.Command
- func GemBuild() *cobra.Command
- func Index() *cobra.Command
- func IndexCmd(ctx context.Context, opts ...index.Option) error
- func Keygen() *cobra.Command
- func KeygenCmd(ctx context.Context, opts ...KeygenOption) error
- func Lint() *cobra.Command
- func New() *cobra.Command
- func PackageVersion() *cobra.Command
- func PythonBuild() *cobra.Command
- func Query() *cobra.Command
- func QueryCmd(ctx context.Context, configFile, pattern string) error
- func Sign() *cobra.Command
- func SignIndex() *cobra.Command
- func Test() *cobra.Command
- func TestCmd(ctx context.Context, archs []apko_types.Architecture, ...) error
- func UpdateCache() *cobra.Command
- type KeygenContext
- type KeygenOption
- type LintOpts
Constants ¶
View Source
const BuiltinPipelineDir = "/usr/share/melange/pipelines"
Variables ¶
This section is empty.
Functions ¶
func BuildCmd ¶
func BuildCmd(ctx context.Context, archs []apko_types.Architecture, baseOpts ...build.Option) error
func Completion ¶ added in v0.3.0
func GemBuild ¶ added in v0.3.0
GemBuild is the top-level `convert gem` cobra command
TODO: add a --version flag to switch the version of the gem
func Index ¶ added in v0.2.0
Index is a constructor for a cobra.Command which wraps the IndexCmd function.
func IndexCmd ¶ added in v0.2.0
IndexCmd is the backend implementation of the "melange index" command.
func PackageVersion ¶ added in v0.3.0
func PythonBuild ¶ added in v0.3.0
PythonBuild is the top-level `convert python` cobra command
func SignIndex ¶
SignIndex is a constructor that returns a cobra.Command which wraps the SignIndexCmd() function.
func TestCmd ¶ added in v0.5.4
func TestCmd(ctx context.Context, archs []apko_types.Architecture, baseOpts ...build.TestOption) error
func UpdateCache ¶ added in v0.2.0
UpdateCache is a constructor for a cobra.Command which provides the "melange update-cache" command.
Types ¶
type KeygenContext ¶
func (*KeygenContext) GenerateKeypair ¶
func (kc *KeygenContext) GenerateKeypair() (*rsa.PrivateKey, *rsa.PublicKey, error)
type KeygenOption ¶
type KeygenOption func(*KeygenContext) error
Click to show internal directories.
Click to hide internal directories.