Documentation
¶
Index ¶
- Constants
- func BuildFile(fileName string, b Bundle, imageReference string) (reference.NamedTagged, ocispec.Descriptor, error)
- func BuildWriter(w io.Writer, b Bundle, imageReference string) (reference.NamedTagged, ocispec.Descriptor, error)
- func ReadSpec(specReader io.Reader) (*specsv1.Bundle, error)
- func ReadSpecFile(specFileName string) (*specsv1.Bundle, error)
- func StringFromBundleTemplate(tmplStr string) func(b Bundle) (string, error)
- type BuildResult
- type Bundle
Constants ¶
View Source
const (
MediaTypeOLMOperatorFrameworkRegistryV1 = "olm.operatorframework.io/registry+v1"
)
Variables ¶
This section is empty.
Functions ¶
func BuildFile ¶
func BuildFile(fileName string, b Bundle, imageReference string) (reference.NamedTagged, ocispec.Descriptor, error)
func BuildWriter ¶
func BuildWriter(w io.Writer, b Bundle, imageReference string) (reference.NamedTagged, ocispec.Descriptor, error)
BuildWriter writes a bundle to a writer
Types ¶
type BuildResult ¶ added in v0.0.6
type BuildResult struct { FilePath string `json:"filePath"` Repository string `json:"imageRepository"` Tag string `json:"imageTag"` Descriptor ocispec.Descriptor `json:"imageDescriptor"` PackageName string `json:"bundlePackageName"` Version semver.Version `json:"bundleVersion"` }
func BuildFromSpecFile ¶
Click to show internal directories.
Click to hide internal directories.