const ( Known = "known" Current = "current" Deleted = "deleted" Forever = "forever" )
const ( Local = "local" Remote = "remote" )
var ( PollUntilOptions = []string{Known, Current, Deleted, Forever} )
func Command(ctx context.Context, f cmdutil.Factory, invFactory inventory.ClientFactory, loader Loader) *cobra.Command
type InventoryLoader struct { Loader manifestreader.ManifestLoader }
func NewInventoryLoader(loader manifestreader.ManifestLoader) *InventoryLoader
func (ir *InventoryLoader) GetInvInfo(cmd *cobra.Command, args []string) (inventory.Info, error)
type Loader interface { GetInvInfo(cmd *cobra.Command, args []string) (inventory.Info, error) }
Runner captures the parameters for the command and contains the run function.
type Runner struct { Command *cobra.Command PollerFactoryFunc func(cmdutil.Factory) (poller.Poller, error) // contains filtered or unexported fields }
func GetRunner(ctx context.Context, factory cmdutil.Factory, invFactory inventory.ClientFactory, loader Loader) *Runner