git

package
v1.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	Enable bool     // Git check enable
	List   []string // check package list
	Commit string   // providers the commit sha for the current build
}

Check package

type Config

type Config struct {
	Url   string // Git repo url
	Out   string // Export package
	Token string // Gitlab Personal Access Token
}

Git config

type Envfile added in v1.0.0

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

func (*Envfile) WriteYaml added in v1.0.0

func (c *Envfile) WriteYaml()

type Plugin

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

Plugin defines the Docker plugin parameters.

func (Plugin) Exec

func (p Plugin) Exec() error

Exec executes the plugin step

Jump to

Keyboard shortcuts

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