Documentation
¶
Overview ¶
Package unpacker would work more like a client library by helping one in unwrapping the assert packed by packer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnPackkerInput ¶
type UnPackkerInput struct { // Name of the packed asset. Name string `json:"name" yaml:"name"` // StubPath refers to path where the client stub is placed. StubPath string `json:"stubpath" yaml:"stubpath"` // TargetPath refers to path where the asset has to be unpacked. TargetPath string `json:"assetpath" yaml:"assetpath"` // CleanStub make sure that the client stub is removed by Unpacker after successful unpacking of asset. CleanStub bool `json:"cleanstub" yaml:"cleanstub"` // Writer to be assigned so that Unpacker can logs its outputs and errors. // AssetBackend for the asset generated. AssetBackend *backend.Store Writer io.Writer // contains filtered or unexported fields }
UnPackkerInput holds the required fields to unpack the asset.
func (*UnPackkerInput) Unpacker ¶
func (i *UnPackkerInput) Unpacker() error
Unpacker unpacks the asset onto specified path.
Click to show internal directories.
Click to hide internal directories.