Documentation ¶
Index ¶
- type ApiLogic
- type PkgLogic
- func (t *PkgLogic) FormatKey(app, pkgName string) string
- func (t *PkgLogic) FormatPkgDir(app string) string
- func (t *PkgLogic) FormatPkgPath(app, pkgName string) string
- func (t *PkgLogic) FormatVersionPackageName() string
- func (t *PkgLogic) Option(opt *option.Option) *PkgLogic
- func (t *PkgLogic) Pull() error
- func (t *PkgLogic) Push() error
- func (t *PkgLogic) Tar(buildId int64, files []string, excludes []string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiLogic ¶
type ApiLogic struct {
// contains filtered or unexported fields
}
func NewApiLogic ¶
func NewApiLogic() *ApiLogic
func (*ApiLogic) UpdateBuildInfo ¶
update build info from nvwa-agent
type PkgLogic ¶
type PkgLogic struct {
// contains filtered or unexported fields
}
func NewPkgLogic ¶
func NewPkgLogic() *PkgLogic
func (*PkgLogic) FormatPkgDir ¶
format target host's package dir
func (*PkgLogic) FormatPkgPath ¶
format target host's package path
func (*PkgLogic) FormatVersionPackageName ¶
format tar version package name
Click to show internal directories.
Click to hide internal directories.