Documentation ¶
Index ¶
- type Manifest
- func (o *Manifest) ExtractLayersOCI(fromPath, toPath, label string, oci *v1alpha3.OCISchema) error
- func (o *Manifest) GetImageIndex(dir string) (*v1alpha3.OCISchema, error)
- func (o *Manifest) GetImageManifest(file string) (*v1alpha3.OCISchema, error)
- func (o *Manifest) GetOperatorConfig(file string) (*v1alpha3.OperatorConfigSchema, error)
- func (o *Manifest) GetRelatedImagesFromCatalog(filePath, label string) (map[string][]v1alpha3.RelatedImage, error)
- func (o *Manifest) GetRelatedImagesFromCatalogByFilter(filePath, label string, op v1alpha2.Operator, ...) (map[string][]v1alpha3.RelatedImage, error)
- func (o *Manifest) GetReleaseSchema(filePath string) ([]v1alpha3.RelatedImage, error)
- type ManifestInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest struct {
Log clog.PluggableLoggerInterface
}
func (*Manifest) ExtractLayersOCI ¶
ExtractLayersOCI
func (*Manifest) GetImageIndex ¶
GetImageIndex - used to get the oci index.json
func (*Manifest) GetImageManifest ¶
GetImageManifest used to ge the manifest in the oci blobs/sha254 directory - found in index.json
func (*Manifest) GetOperatorConfig ¶
func (o *Manifest) GetOperatorConfig(file string) (*v1alpha3.OperatorConfigSchema, error)
GetOperatorConfig used to parse the operator json
func (*Manifest) GetRelatedImagesFromCatalog ¶
func (o *Manifest) GetRelatedImagesFromCatalog(filePath, label string) (map[string][]v1alpha3.RelatedImage, error)
operatorImageExtractDir + "/" + label GetRelatedImagesFromCatalog
func (*Manifest) GetRelatedImagesFromCatalogByFilter ¶
func (o *Manifest) GetRelatedImagesFromCatalogByFilter(filePath, label string, op v1alpha2.Operator, mp map[string]v1alpha3.ISCPackage) (map[string][]v1alpha3.RelatedImage, error)
GetRelatedImagesFromCatalogByFilter
func (*Manifest) GetReleaseSchema ¶
func (o *Manifest) GetReleaseSchema(filePath string) ([]v1alpha3.RelatedImage, error)
GetReleaseSchema
type ManifestInterface ¶
type ManifestInterface interface { GetImageIndex(dir string) (*v1alpha3.OCISchema, error) GetImageManifest(file string) (*v1alpha3.OCISchema, error) GetOperatorConfig(file string) (*v1alpha3.OperatorConfigSchema, error) GetRelatedImagesFromCatalog(filePath, label string) (map[string][]v1alpha3.RelatedImage, error) GetRelatedImagesFromCatalogByFilter(filePath, label string, op v1alpha2.Operator, mp map[string]v1alpha3.ISCPackage) (map[string][]v1alpha3.RelatedImage, error) ExtractLayersOCI(filePath, toPath, label string, oci *v1alpha3.OCISchema) error GetReleaseSchema(filePath string) ([]v1alpha3.RelatedImage, error) }
func New ¶
func New(log clog.PluggableLoggerInterface) ManifestInterface
Click to show internal directories.
Click to hide internal directories.