# Functions
Create build command to build bundle manifests image.
BuildFunc is used to build bundle container image from a list of manifests that exist in local directory and it also generates Dockerfile annotations.yaml which contains media type, package name and channels information if the file doesn't exist locally.
CopyYamlOutput takes the generated annotations yaml and writes it to disk.
No description provided by the author
GenerateAnnotations builds annotations.yaml with mediatype, manifests & metadata directories in bundle image, package name, channels and default channels information.
GenerateDockerfile builds Dockerfile with mediatype, manifests & metadata directories in bundle image, package name, channels and default channels information in LABEL section.
GenerateFunc builds annotations.yaml with mediatype, manifests & metadata directories in bundle image, package name, channels and default channels information and then writes the file to `/metadata` directory.
GetMediaType determines mediatype from files (yaml) in given directory Currently able to detect helm chart, registry+v1 (CSV) and plain k8s resources such as CRD.
IsChartDir validates a chart directory.
IsSupported checks if the object kind is OLM-supported and if it is namespaced.
No description provided by the author
No description provided by the author
NewImageValidator is a constructor that returns an ImageValidator.
No description provided by the author
ValidateAnnotations validates existing annotations.yaml against generated annotations.yaml to ensure existing annotations.yaml contains expected values.
WriteFile writes `fileName` file with `content` into a `directory` Note: Will overwrite the existing `fileName` file if it exists.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
BundleExporter exports the manifests of a bundle image into a directory.
Dependency describes a chart upon which another chart depends.
Maintainer describes a Chart maintainer.
No description provided by the author
Metadata for a Chart file.
ValidationError is an imlementation of the Error type that defines a list of errors when validating the bundle.
# Interfaces
BundleImageValidator provides a toolset for pulling and then validating bundle container images.
# Type aliases
Namespaced indicates whether the resource is namespace scoped (true) or cluster-scoped (false).