Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BundleHelper ¶
type BundleHelper struct {
Pkgs []Pkg
CRDs []v1beta1.CustomResourceDefinition
CSVs []yaml.MapSlice
// contains filtered or unexported fields
}
BundleHelper - object that provides logic of fetching OLM bundle from marketplace quay repo
func NewBundleHelper ¶
func NewBundleHelper(repo, namespace string) (*BundleHelper, error)
NewBundleHelper - Ctor
func (*BundleHelper) AddOldManifests ¶
func (bh *BundleHelper) AddOldManifests(outDir string, currentCSVVersion string) error
AddOldManifests - downloads old CRDs and CSVs to outDir with respect to currentCSVVersion
func (*BundleHelper) GetLatestPublishedCSVVersion ¶
func (bh *BundleHelper) GetLatestPublishedCSVVersion() string
GetLatestPublishedCSVVersion - return latest CSV version that exists in quay
func (*BundleHelper) VerifyNotPublishedCSVVersion ¶
func (bh *BundleHelper) VerifyNotPublishedCSVVersion(currentCSVVersion string) bool
VerifyNotPublishedCSVVersion - returns latest CSV version that exists
type Channel ¶
Channel from which OLM bundle is consumed
Source Files
¶
- bundle-helper.go
Click to show internal directories.
Click to hide internal directories.