Help us shape the future of Go! Take the 2026 Go Developer Survey

urfave

package
v2.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

View Source
const (
	NetDailerTimeout                 = 30 * time.Second
	HTTPTransportIdleTimeout         = 90 * time.Second
	HTTPTransportTLSHandshakeTimeout = 10 * time.Second
	HTTPTransportMaxIdleConns        = 100
)
View Source
const (
	FlagsBuildCategory      = "Drone Build Flags"
	FlagsRepoCategory       = "Drone Repo Flags"
	FlagsCommitCategory     = "Drone Commit Flags"
	FlagsStageCategory      = "Drone Stage Flags"
	FlagsStepCategory       = "Drone Step Flags"
	FlagsVersioningCategory = "Drone Versioning Flags"
	FlagsSystemCategory     = "Drone System Flags"
	FlagsPluginCategory     = "Plugin Flags"
)

Variables

This section is empty.

Functions

func Flags

func Flags() []cli.Flag

Flags has the cli.Flags for the Drone plugin.

func LoggingFromContext

func LoggingFromContext(ctx *cli.Context)

LoggingFromContext sets the logrus logging level.

func NetworkFromContext

func NetworkFromContext(ctx *cli.Context) drone.Network

NetworkFromContext creates a drone.Network from the cli.Context.

func PipelineFromContext

func PipelineFromContext(ctx *cli.Context) drone.Pipeline

PipelineFromContext creates a drone.Pipeline from the cli.Context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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