Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle interface {
GetCRDs() (*PackageCRDs, error)
}
Bundle is an abstraction of the collection of files that makes up a package. It is anything we can retrieve the PackageCRDs from.
func NewBundle ¶
NewBundle creates the implementation of the bundle based on the path. The expectation is the bundle is always local . The path can be relative or absolute location of the bundle.
func NewBundleFromReader ¶
NewBundleFromReader is a bundle from a reader. This should only be used when a file cache isn't used.
type PackageCRDs ¶
type PackageCRDs struct { Operator *v1alpha1.Operator OperatorVersion *v1alpha1.OperatorVersion Instance *v1alpha1.Instance }
PackageCRDs is collection of CRDs that are used when installing operator during installation, package format is converted to this structure
Click to show internal directories.
Click to hide internal directories.