internal

package
v0.0.0-...-51f5568 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin() drone.Plugin

Types

type Plugin

type Plugin struct {
	drone.Base
	config.Upload
	config.Server `validate:"omitempty,required_without=Servers"`

	// 服务器列表
	Servers []*config.Server `default:"${SERVERS}" validate:"omitempty,required_without=Server"`
	// 上传文件列表
	Uploads []*config.Upload `default:"${UPLOADS}"`
}

func (*Plugin) Config

func (p *Plugin) Config() drone.Config

func (*Plugin) Fields

func (p *Plugin) Fields() gox.Fields[any]

func (*Plugin) Setup

func (p *Plugin) Setup() (err error)

func (*Plugin) Steps

func (p *Plugin) Steps() drone.Steps

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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