artifacts

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifacts

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

func New

func New(p primeable) *Artifacts

func (*Artifacts) Run

func (b *Artifacts) Run(params *Params) (rerr error)

type Configurable

type Configurable interface {
	GetString(key string) string
	GetBool(key string) bool
}

type Download

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

func NewDownload

func NewDownload(prime primeable) *Download

func (*Download) Run

func (d *Download) Run(params *DownloadParams) (rerr error)

type DownloadParams

type DownloadParams struct {
	BuildID   string
	OutputDir string
	Namespace *project.Namespaced
	CommitID  string
	Target    string
}

type Params

type Params struct {
	All       bool
	Namespace *project.Namespaced
	CommitID  string
	Target    string
	Full      bool
}

type StructuredOutput

type StructuredOutput struct {
	BuildComplete      bool                  `json:"build_completed"`
	HasFailedArtifacts bool                  `json:"has_failed_artifacts"`
	Platforms          []*structuredPlatform `json:"platforms"`
}

func (*StructuredOutput) MarshalStructured

func (o *StructuredOutput) MarshalStructured(output.Format) interface{}

Jump to

Keyboard shortcuts

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