Documentation ¶
Overview ¶
Package publish Docker manifest and images publisher.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTargetedArchitectures ¶ added in v0.2.0
func GetTargetedArchitectures(targets []string) (map[string]ArchDescriptor, error)
GetTargetedArchitectures Gets architecture descriptors.
Types ¶
type ArchDescriptor ¶ added in v0.2.0
type ArchDescriptor struct { OS string `json:"os"` GoARCH string `json:"go_arch"` GoARM string `json:"go_arm,omitempty"` Variant string `json:"variant,omitempty"` }
ArchDescriptor An architecture descriptor for an architecture.
type DockerPub ¶
type DockerPub struct {
// contains filtered or unexported fields
}
DockerPub Docker images builder and publisher.
func NewDockerPub ¶
func NewDockerPub(imageName string, versions []string, baseRuntimeImage string, targets map[string]ArchDescriptor, dockerfileTemplate string) (*DockerPub, error)
NewDockerPub Creates a new DockerPub.
type ManifestPub ¶
type ManifestPub struct {
// contains filtered or unexported fields
}
ManifestPub Manifest builder and publisher.
func NewManifestPub ¶
func NewManifestPub(imageName, version string, targets map[string]ArchDescriptor) (*ManifestPub, error)
NewManifestPub Creates a new ManifestPub.
func (ManifestPub) Execute ¶
func (m ManifestPub) Execute(dryRun bool) error
Execute Executes commands.
Click to show internal directories.
Click to hide internal directories.