commands

package
v0.0.0-...-9063a3c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CiDumpMetaCommand

type CiDumpMetaCommand struct {
	Ui       cli.Ui
	Verbose  bool
	MetaFile string
}

func (*CiDumpMetaCommand) Help

func (c *CiDumpMetaCommand) Help() string

func (*CiDumpMetaCommand) Run

func (c *CiDumpMetaCommand) Run(args []string) int

func (*CiDumpMetaCommand) Synopsis

func (c *CiDumpMetaCommand) Synopsis() string

type CiDumpRevisionCommand

type CiDumpRevisionCommand struct {
	Ui           cli.Ui
	Verbose      bool
	RevisionFile string
	Reference    string
}

func (*CiDumpRevisionCommand) Help

func (c *CiDumpRevisionCommand) Help() string

func (*CiDumpRevisionCommand) Run

func (c *CiDumpRevisionCommand) Run(args []string) int

func (*CiDumpRevisionCommand) Synopsis

func (c *CiDumpRevisionCommand) Synopsis() string

type DumpReadmeCommand

type DumpReadmeCommand struct {
	Ui       cli.Ui
	Verbose  bool
	Commands map[string]cli.CommandFactory
}

func (*DumpReadmeCommand) Help

func (c *DumpReadmeCommand) Help() string

func (*DumpReadmeCommand) Run

func (c *DumpReadmeCommand) Run(args []string) int

func (*DumpReadmeCommand) Synopsis

func (c *DumpReadmeCommand) Synopsis() string

type Meta

type Meta struct {
	Build   *MetaBuild   `json:"build"`
	Project *MetaProject `json:"project"`
	Server  *MetaServer  `json:"server"`
}

type MetaBuild

type MetaBuild struct {
	Id      string `json:"id"`
	Ref     string `json:"ref"`
	RefName string `json:"ref_name"`
	Tag     string `json:"tag"`
	Stage   string `json:"stage"`
	JobName string `json:"job_name"`
}

type MetaProject

type MetaProject struct {
	Id  string `json:"id"`
	Dir string `json:"dir"`
}

type MetaServer

type MetaServer struct {
	Name     string `json:"name"`
	Revision string `json:"revision"`
	Version  string `json:"version"`
}

type ProjectBuildArtifactCommand

type ProjectBuildArtifactCommand struct {
	Ui            cli.Ui
	Verbose       bool
	ExtractPath   string
	ArtifactsFile string
	BuildId       string
	Job           string
	Ref           string
	Project       string
}

func (*ProjectBuildArtifactCommand) Help

func (*ProjectBuildArtifactCommand) Run

func (c *ProjectBuildArtifactCommand) Run(args []string) int

func (*ProjectBuildArtifactCommand) Synopsis

func (c *ProjectBuildArtifactCommand) Synopsis() string

type ProjectBuildsListCommand

type ProjectBuildsListCommand struct {
	Ui      cli.Ui
	Verbose bool
}

func (*ProjectBuildsListCommand) Help

func (c *ProjectBuildsListCommand) Help() string

func (*ProjectBuildsListCommand) Run

func (c *ProjectBuildsListCommand) Run(args []string) int

func (*ProjectBuildsListCommand) Synopsis

func (c *ProjectBuildsListCommand) Synopsis() string

type ProjectsListCommand

type ProjectsListCommand struct {
	Ui      cli.Ui
	Verbose bool
}

func (*ProjectsListCommand) Help

func (c *ProjectsListCommand) Help() string

func (*ProjectsListCommand) Run

func (c *ProjectsListCommand) Run(args []string) int

func (*ProjectsListCommand) Synopsis

func (c *ProjectsListCommand) Synopsis() string

type S3ArchiveCommand

type S3ArchiveCommand struct {
	Ui           cli.Ui
	Verbose      bool
	Ref          string
	RefName      string
	Job          string
	Project      string
	IncludePaths helper.Paths
	IgnorePaths  helper.Paths
	IgnoreCVS    bool
	TagMatcher   string

	// s3 settings
	AwsRegion   string
	AwsEndPoint string
	AwsProfile  string
	AwsBucket   string
}

func (*S3ArchiveCommand) Help

func (c *S3ArchiveCommand) Help() string

func (*S3ArchiveCommand) Run

func (c *S3ArchiveCommand) Run(args []string) int

func (*S3ArchiveCommand) Synopsis

func (c *S3ArchiveCommand) Synopsis() string

type S3ExtractCommand

type S3ExtractCommand struct {
	Ui          cli.Ui
	Verbose     bool
	Ref         string
	RefName     string
	Job         string
	Project     string
	ExtractPath string
	TagMatcher  string

	// s3 settings
	AwsRegion   string
	AwsEndPoint string
	AwsProfile  string
	AwsBucket   string
}

func (*S3ExtractCommand) Help

func (c *S3ExtractCommand) Help() string

func (*S3ExtractCommand) Run

func (c *S3ExtractCommand) Run(args []string) int

func (*S3ExtractCommand) Synopsis

func (c *S3ExtractCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	Ui       cli.Ui
	Extended bool
	Version  string
	RefLog   string
}

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

func (c *VersionCommand) Run(args []string) int

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Jump to

Keyboard shortcuts

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