status

package
v0.0.0-...-c7d747a Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(ctx context.Context, factory util.Factory,
	invFactory inventory.ClientFactory, loader status.Loader) *cobra.Command

func NewRunner

func NewRunner(ctx context.Context, factory util.Factory,
	invFactory inventory.ClientFactory, loader status.Loader) *status.Runner

Types

type FakeLoader

type FakeLoader struct {
	InvClient *inventory.FakeClient
	// contains filtered or unexported fields
}

func NewFakeLoader

func NewFakeLoader(ctx context.Context, f util.Factory, objs object.ObjMetadataSet) *FakeLoader

func (*FakeLoader) GetInvInfo

func (r *FakeLoader) GetInvInfo(cmd *cobra.Command, args []string) (inventory.Info, error)

type RGInventoryLoader

type RGInventoryLoader struct {
	// contains filtered or unexported fields
}

func NewRGInventoryLoader

func NewRGInventoryLoader(ctx context.Context, factory util.Factory) *RGInventoryLoader

func (*RGInventoryLoader) GetInvInfo

func (rir *RGInventoryLoader) GetInvInfo(cmd *cobra.Command, args []string) (inventory.Info, error)

Jump to

Keyboard shortcuts

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