get

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Application application
	Application uint = iota

	// Widgets ? model & table & flow
	Widgets

	// Table table widget
	Table

	// Form form widget
	Form

	// Model model model
	Model

	// Flow data flow
	Flow
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	Name   string
	Team   string
	Type   uint
	Remote string
	Origin string
	Temp   string
	Tag    string
	From   string
}

Package package

func New

func New(repo string) (*Package, error)

New create a package via name

func (*Package) Download

func (pkg *Package) Download() error

Download a package from remote

func (*Package) GithubURL

func (pkg *Package) GithubURL() string

GithubURL github package url

func (*Package) InfraURL

func (pkg *Package) InfraURL() string

InfraURL infra package url

func (*Package) Unpack

func (pkg *Package) Unpack(dest string) (*app.DSL, error)

Unpack a package to current dir

func (*Package) Validate

func (pkg *Package) Validate() error

Validate a package files

Jump to

Keyboard shortcuts

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