inventory

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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

	ImageOperationsImpl carvelhelpers.ImageOperationsImpl
}

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
	GroupVersion            string
	Description             string
	InventoryDBFile         string
	DeactivatePluginGroup   bool
	Override                bool

	ImageOperationsImpl carvelhelpers.ImageOperationsImpl
}

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
	InventoryDBFile   string
	DeactivatePlugins bool
	ValidateOnly      bool

	ImageOperationsImpl carvelhelpers.ImageOperationsImpl
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL