Versions in this module Expand all Collapse all v0 v0.8.1 Dec 12, 2025 v0.8.0 Dec 2, 2025 Changes in this version + func IsAuthenticationError(err error) bool + func ParseRegistryURL(registryURL string) (registryBase, repoName, tag string, err error) + func ValidateCliVersion(cliVersion, constraint string) error + type Artifact interface + Bundle func() error + GetTemplateData func(ociRef string) (map[string][]byte, error) + Pull func(ociRefs []string) (map[string][]byte, error) + Push func(registryBase string, repoName string, tag string) error + Write func(outputPath string, tag string) (string, error) + type ArtifactBuilder struct + func NewArtifactBuilder(rt *runtime.Runtime) *ArtifactBuilder + func (a *ArtifactBuilder) Bundle() error + func (a *ArtifactBuilder) GetTemplateData(blueprintRef string) (map[string][]byte, error) + func (a *ArtifactBuilder) Pull(ociRefs []string) (map[string][]byte, error) + func (a *ArtifactBuilder) Push(registryBase string, repoName string, tag string) error + func (a *ArtifactBuilder) Write(outputPath string, tag string) (string, error) + type BlueprintMetadata struct + Author string + Builder BuilderInfo + CliVersion string + Description string + Git GitProvenance + Homepage string + License string + Name string + Tags []string + Timestamp string + Version string + type BlueprintMetadataInput struct + Author string + CliVersion string + Description string + Homepage string + License string + Name string + Tags []string + Version string + type BuilderInfo struct + Email string + User string + type FileInfo struct + Content []byte + Mode os.FileMode + type GitProvenance struct + CommitSHA string + RemoteURL string + Tag string + type MockArtifact struct + BundleFunc func() error + GetTemplateDataFunc func(ociRef string) (map[string][]byte, error) + PullFunc func(ociRefs []string) (map[string][]byte, error) + PushFunc func(registryBase string, repoName string, tag string) error + WriteFunc func(outputPath string, tag string) (string, error) + func NewMockArtifact() *MockArtifact + func (m *MockArtifact) Bundle() error + func (m *MockArtifact) GetTemplateData(ociRef string) (map[string][]byte, error) + func (m *MockArtifact) Pull(ociRefs []string) (map[string][]byte, error) + func (m *MockArtifact) Push(registryBase string, repoName string, tag string) error + func (m *MockArtifact) Write(outputPath string, tag string) (string, error) + type OCIArtifactInfo struct + Name string + Tag string + URL string + func ParseOCIReference(ociRef string) (*OCIArtifactInfo, error) + type PathProcessor struct + Handler func(relPath string, data []byte, mode os.FileMode) error + Pattern string + type Shims struct + Annotations func(img v1.Image, anns map[string]string) v1.Image + AppendLayers func(base v1.Image, layers ...v1.Layer) (v1.Image, error) + ConfigFile func(img v1.Image, cfg *v1.ConfigFile) (v1.Image, error) + ConfigMediaType func(img v1.Image, mt types.MediaType) v1.Image + Create func(name string) (io.WriteCloser, error) + EmptyImage func() v1.Image + FilepathRel func(basepath, targpath string) (string, error) + ImageLayers func(img v1.Image) ([]v1.Layer, error) + LayerUncompressed func(layer v1.Layer) (io.ReadCloser, error) + MediaType func(img v1.Image, mt types.MediaType) v1.Image + NewGzipWriter func(w io.Writer) *gzip.Writer + NewTarWriter func(w io.Writer) TarWriter + ParseReference func(ref string, opts ...name.Option) (name.Reference, error) + ReadAll func(reader io.Reader) ([]byte, error) + ReadFile func(name string) ([]byte, error) + RemoteGet func(ref name.Reference, options ...remote.Option) (*remote.Descriptor, error) + RemoteImage func(ref name.Reference, options ...remote.Option) (v1.Image, error) + RemoteWrite func(ref name.Reference, img v1.Image, options ...remote.Option) error + RemoteWriteLayer func(repo name.Repository, layer v1.Layer, options ...remote.Option) error + Stat func(name string) (os.FileInfo, error) + Walk func(root string, walkFn filepath.WalkFunc) error + YamlMarshal func(data any) ([]byte, error) + YamlUnmarshal func(data []byte, v any) error + func NewShims() *Shims + type TarWriter interface + Close func() error + Write func(b []byte) (int, error) + WriteHeader func(hdr *tar.Header) error