oss

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DistList []string // list of dist

Functions

func HandleError

func HandleError(err error)

Types

type Config

type Config struct {
	Dist            string // local package
	Path            string // oss path
	EndPoint        string // oss path
	AccessKeyID     string // access key id
	AccessKeySecret string // access key sectret
	ModName         string // git module name
}

OSS config

type Envfile

type Envfile struct {
	ConfigPkg string   `yaml:"configPkg"`
	CheckList []string `yaml:"checkList"`
}

Envfile

func (*Envfile) ReadYaml

func (c *Envfile) ReadYaml(f string)

type Plugin

type Plugin struct {
	Config Config // Git clone configuration
}

func (Plugin) Exec

func (p Plugin) Exec() error

func (Plugin) Upload

func (p Plugin) Upload()

Jump to

Keyboard shortcuts

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