constant

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NameCliPluginStepsTransferFilePath
	//  @Description: Steps transfer file path
	//  @Usage: Steps transfer file path
	//  @Default: wd_steps_transfer.DefaultKitStepsFileName as `.woodpecker_kit.steps.transfer`
	//  @EnvKey: WOODPECKER_KIT_STEPS_TRANSFER_FILE_PATH
	NameCliPluginStepsTransferFilePath = "settings.woodpecker-kit-steps-transfer-file-path"

	// EnvKeyPluginStepsTransferFilePath
	//  @Description: Steps transfer file path
	//  @Usage: Steps transfer file path
	//  @Default: wd_steps_transfer.DefaultKitStepsFileName as `.woodpecker_kit.steps.transfer`
	EnvKeyPluginStepsTransferFilePath = "PLUGIN_WOODPECKER_KIT_STEPS_TRANSFER_FILE_PATH"

	// NameCliPluginStepsTransferDisableOut
	//  @Description: Steps transfer write disable out
	//  @Usage: Steps transfer write
	NameCliPluginStepsTransferDisableOut = "settings.woodpecker-kit-steps-transfer-disable-out"

	// EnvKeyPluginStepsTransferDisableOut
	//  @Description: Steps transfer write disable out
	EnvKeyPluginStepsTransferDisableOut = "PLUGIN_WOODPECKER_KIT_STEPS_TRANSFER_DISABLE_OUT"
)
View Source
const (
	VersionSupportMinimum = "1.0.0"
	VersionSupportMaximum = "2.0.0"
)

Variables

This section is empty.

Functions

func CommonFlag

func CommonFlag() []cli.Flag

CommonFlag Other modules also have flags

func HideCommonGlobalFlag

func HideCommonGlobalFlag() []cli.Flag

func PlatformFlags

func PlatformFlags() []cli.Flag

PlatformFlags

@Description: PlatformFlags for all subcommand

Types

type PlatformConfig

type PlatformConfig struct {
	Windows bool
	Linux   bool
	MacOS   bool
}

func BindPlatformConfig

func BindPlatformConfig(c *cli.Context) *PlatformConfig

BindPlatformConfig

@Description: BindPlatformConfig for all subcommand

Jump to

Keyboard shortcuts

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