command

package
v0.0.0-...-ac6d1fc Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOGS_FOLDER           string = "travis-logs"
	LOGS_FILENAME_PATTERN        = "job-%d.log"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InCommand

type InCommand struct {
	TravisClient      *travis.Client
	Request           model.InRequest
	DestinationFolder string
	Messager          *messager.ResourceMessager
}

func (*InCommand) DownloadLogs

func (c *InCommand) DownloadLogs(ctx context.Context, build *travis.Build) error

func (*InCommand) GetBuildInfo

func (c *InCommand) GetBuildInfo(ctx context.Context) (*travis.Build, error)

func (*InCommand) SendResponse

func (c *InCommand) SendResponse(build *travis.Build)

func (*InCommand) WriteInBuildInfoFile

func (c *InCommand) WriteInBuildInfoFile(build *travis.Build) error

func (*InCommand) WriteInCommitRefFile

func (c *InCommand) WriteInCommitRefFile(build *travis.Build) error

Jump to

Keyboard shortcuts

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