...

Package invconfig

import "sigs.k8s.io/cli-utils/test/e2e/invconfig"
Overview
Index

Overview ▾

func CreateInventoryInfo

func CreateInventoryInfo(invConfig InventoryConfig, inventoryName, namespaceName, inventoryID string) inventory.Info

type InventoryConfig

type InventoryConfig struct {
    ClientConfig         *rest.Config
    Strategy             inventory.Strategy
    FactoryFunc          inventoryFactoryFunc
    InvWrapperFunc       invWrapperFunc
    ApplierFactoryFunc   applierFactoryFunc
    DestroyerFactoryFunc destroyerFactoryFunc
    InvSizeVerifyFunc    invSizeVerifyFunc
    InvCountVerifyFunc   invCountVerifyFunc
    InvNotExistsFunc     invNotExistsFunc
}

func NewConfigMapTypeInvConfig

func NewConfigMapTypeInvConfig(cfg *rest.Config) InventoryConfig

func NewCustomTypeInvConfig

func NewCustomTypeInvConfig(cfg *rest.Config) InventoryConfig