Documentation ¶
Overview ¶
Package inventory implements inventory specific init and update functionalities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InventoryInitOptions ¶
type InventoryInitOptions struct { Repository string InventoryImageTag string Override bool ImgpkgOptions imgpkg.ImgpkgWrapper }
InventoryInitOptions defines options for inventory init
func (*InventoryInitOptions) InitializeInventory ¶
func (iio *InventoryInitOptions) InitializeInventory() error
InitializeInventory initializes the repository with the empty inventory database
type InventoryPluginUpdateOptions ¶
type InventoryPluginUpdateOptions struct { Repository string InventoryImageTag string ManifestFile string Publisher string Vendor string DeactivatePlugins bool ImgpkgOptions imgpkg.ImgpkgWrapper }
InventoryPluginUpdateOptions defines options for inserting plugin to the inventory database
func (*InventoryPluginUpdateOptions) PluginAdd ¶
func (ipuo *InventoryPluginUpdateOptions) PluginAdd() error
PluginAdd add plugin entry to the inventory database by downloading the database from the repository, updating it locally and publishing the inventory database as OCI image on the remote repository
func (*InventoryPluginUpdateOptions) UpdatePluginActivationState ¶
func (ipuo *InventoryPluginUpdateOptions) UpdatePluginActivationState() error
UpdatePluginActivationState updates plugin entry in the inventory database by downloading the database from the repository, updating it locally and publishing the inventory database as OCI image on the remote repository