wallepack

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithJarPath added in v0.0.4

func WithJarPath(path string) func(*Packer)

Types

type Packer

type Packer struct {
	// contains filtered or unexported fields
}

Packer using the CMD command to call jar, so need java environment.

func NewPacker

func NewPacker(opts ...func(*Packer)) (*Packer, error)

func (*Packer) BatchChannels

func (w *Packer) BatchChannels(ctx context.Context, channels []string, baseApkPath string) (string, error)

func (*Packer) BatchChannelsWithExtra

func (w *Packer) BatchChannelsWithExtra(ctx context.Context, channels []string, baseApkPath string, extra map[string]string) (string, error)

func (*Packer) PutChannel

func (w *Packer) PutChannel(ctx context.Context, channel string, baseApkPath, newApkPath string) (string, error)

func (*Packer) PutChannelWithExtra

func (w *Packer) PutChannelWithExtra(ctx context.Context, channel string, baseApkPath, newApkPath string, extra map[string]string) (string, error)

func (*Packer) PutExtra

func (w *Packer) PutExtra(ctx context.Context, baseApkPath, newApkPath string, extra map[string]string) (string, error)

func (*Packer) ShowApk

func (w *Packer) ShowApk(ctx context.Context, apkPath string) (map[string]string, error)

func (*Packer) ShowDir

func (w *Packer) ShowDir(ctx context.Context, dir string) (string, error)

Jump to

Keyboard shortcuts

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