pluginbefore

package
v0.0.0-...-5447720 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadPlugin

func DownloadPlugin(pluginPath string, md5File string, opt *RunOptions) error

func NewCmdPluginBefore

func NewCmdPluginBefore() *cobra.Command

Types

type PluginJSONInput

type PluginJSONInput struct {
	Pipeline    string `json:"pipeline"`
	StageIndex  int    `json:"stage_index"`
	JobIndex    int    `json:"job_index"`
	PluginIndex int    `json:"plugin_index"`
}

type RunOptions

type RunOptions struct {
	Pipeline      string
	StageIndex    int
	JobIndex      int
	PluginIndex   int
	PluginName    string
	PluginMd5     string
	PluginVersion string
	PluginAuthor  string
	PackagePath   string
	InputPath     string
	URL           string
	PluginsBucket string
	AccessKey     string
	SecretKey     string
}

Jump to

Keyboard shortcuts

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