Documentation
¶
Index ¶
- type Manager
- func (m *Manager) CalculateChecksum(pkgPath string) (string, error)
- func (m *Manager) GetManifest(ctx context.Context, pkgPath string) (*types.Manifest, error)
- func (m *Manager) Pack(ctx context.Context, appDir string) (string, error)
- func (m *Manager) Unpack(ctx context.Context, pkgPath string, destDir string) (*types.Manifest, error)
- func (m *Manager) Verify(ctx context.Context, pkgPath string, signature []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct{}
Manager implements package management
func (*Manager) CalculateChecksum ¶
CalculateChecksum calculates SHA-256 checksum of a package
func (*Manager) GetManifest ¶
GetManifest reads and parses a manifest from a package
Click to show internal directories.
Click to hide internal directories.