env_printer_plugin

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EnvPluginResultShareHost = "PLUGIN_RESULT_SHARE_HOST"
)

Variables

This section is empty.

Functions

func CommonFlag

func CommonFlag() []cli.Flag

CommonFlag Other modules also have flags

func Flag

func Flag() []cli.Flag

Flag set flag at here

func HideFlag

func HideFlag() []cli.Flag

HideFlag set env_printer_plugin hide flag at here

Types

type Config

type Config struct {
	EnvPrintKeys   []string
	PaddingLeftMax int

	Debug bool

	TimeoutSecond uint
}

Config env_printer_plugin private config

type Plugin

type Plugin struct {
	Name    string
	Version string
	Drone   drone_info.Drone
	Config  Config
}

Plugin env_printer_plugin all config

func BindCliFlag

func BindCliFlag(c *cli.Context, cliVersion, cliName string, drone drone_info.Drone) Plugin

func (*Plugin) CleanResultEnv

func (p *Plugin) CleanResultEnv() error

func (*Plugin) Exec

func (p *Plugin) Exec() error

Jump to

Keyboard shortcuts

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