Documentation ¶
Overview ¶
Package artifact provides the core artifact storage for goreleaser
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct { Name string Path string Goos string Goarch string Goarm string Type Type Extra map[string]string }
Artifact represents an artifact and its relevant info
type Artifacts ¶
type Artifacts struct {
// contains filtered or unexported fields
}
Artifacts is a list of artifacts
func (*Artifacts) Filter ¶
Filter filters the artifact list, returning a new instance. There are some pre-defined filters but anything of the Type Filter is accepted. You can compose filters by using the And and Or filters.
func (Artifacts) GroupByPlatform ¶
GroupByPlatform groups the artifacts by their platform
type Filter ¶
Filter defines an artifact filter which can be used within the Filter function
type Type ¶
type Type int
Type defines the type of an artifact
const ( // UploadableArchive a tar.gz/zip archive to be uploaded UploadableArchive Type = iota // UploadableBinary is a binary file to be uploaded UploadableBinary // Binary is a binary (output of a gobuild) Binary // LinuxPackage is a linux package generated by nfpm or snapcraft LinuxPackage // PublishableDockerImage is a Docker image yet to be published PublishableDockerImage // DockerImage is a published Docker image DockerImage // Checksum is a checksums file Checksum // Signature is a signature file Signature )
Click to show internal directories.
Click to hide internal directories.