Documentation ¶
Overview ¶
Package inventory implements inventory specific init and update functionalities
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 InventoryPluginGroupUpdateOptions ¶ added in v0.0.11
type InventoryPluginGroupUpdateOptions struct { Repository string InventoryImageTag string PluginGroupManifestFile string Publisher string Vendor string GroupName string DeactivatePluginGroup bool Override bool ImgpkgOptions imgpkg.ImgpkgWrapper }
InventoryPluginGroupUpdateOptions defines options for updating plugin-group to the inventory database
func (*InventoryPluginGroupUpdateOptions) PluginGroupAdd ¶ added in v0.0.11
func (ipuo *InventoryPluginGroupUpdateOptions) PluginGroupAdd() error
PluginGroupAdd add plugin-group 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 (*InventoryPluginGroupUpdateOptions) UpdatePluginGroupActivationState ¶ added in v0.0.11
func (ipuo *InventoryPluginGroupUpdateOptions) UpdatePluginGroupActivationState() error
UpdatePluginGroupActivationState updates plugin-group 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
type InventoryPluginUpdateOptions ¶
type InventoryPluginUpdateOptions struct { Repository string InventoryImageTag string ManifestFile string Publisher string Vendor string DeactivatePlugins bool ValidateOnly 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