Documentation ¶
Index ¶
- Constants
- func ApkBuild() *cobra.Command
- func Build() *cobra.Command
- func BuildCmd(ctx context.Context, archs []apko_types.Architecture, ...) 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 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 SignIndex() *cobra.Command
- func SignIndexCmd(ctx context.Context, signingKey string, indexFile string) error
- func UpdateCache() *cobra.Command
- type KeygenContext
- type KeygenOption
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, base_opts ...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 PackageVersion ¶ added in v0.3.0
func PythonBuild ¶ added in v0.3.0
PythonBuild is the top-level `convert python` cobra command
func SignIndexCmd ¶
func UpdateCache ¶ added in v0.2.0
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.