step

package
v0.0.0-...-e0c43c3 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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clear

type Clear struct {
	// contains filtered or unexported fields
}

func NewClear

func NewClear(project *config.Project) *Clear

func (*Clear) Run

func (c *Clear) Run(_ *context.Context) (err error)

func (*Clear) Runnable

func (c *Clear) Runnable() bool

type Netrc

type Netrc struct {
	// contains filtered or unexported fields
}

func NewNetrc

func NewNetrc(base *drone.Base, credential *config.Credential) *Netrc

func (*Netrc) Run

func (n *Netrc) Run(_ *context.Context) (err error)

func (*Netrc) Runnable

func (n *Netrc) Runnable() bool

type Pull

type Pull struct {
	// contains filtered or unexported fields
}

func NewPull

func NewPull(
	git *command.Git,
	repository *config.Repository, project *config.Project, credential *config.Credential,
	pull *config.Pull,
) *Pull

func (*Pull) Run

func (p *Pull) Run(ctx *context.Context) (err error)

func (*Pull) Runnable

func (p *Pull) Runnable() bool

type Push

type Push struct {
	// contains filtered or unexported fields
}

func NewPush

func NewPush(
	base *drone.Base, git *command.Git,
	repository *config.Repository, project *config.Project, credential *config.Credential,
	push *config.Push,
) *Push

func (*Push) Run

func (p *Push) Run(ctx *context.Context) (err error)

func (*Push) Runnable

func (p *Push) Runnable() bool

type SSH

type SSH struct {
	// contains filtered or unexported fields
}

func NewSSH

func NewSSH(base *drone.Base, credential *config.Credential) *SSH

func (*SSH) Run

func (s *SSH) Run(_ *context.Context) (err error)

func (*SSH) Runnable

func (s *SSH) Runnable() bool

Jump to

Keyboard shortcuts

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