Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeProvider ¶
type FakeProvider struct { InvClient *inventory.FakeInventoryClient // contains filtered or unexported fields }
func NewFakeProvider ¶
func NewFakeProvider(f util.Factory, objs []object.ObjMetadata) *FakeProvider
func (*FakeProvider) Factory ¶
func (f *FakeProvider) Factory() util.Factory
func (*FakeProvider) InventoryClient ¶
func (f *FakeProvider) InventoryClient() (inventory.InventoryClient, error)
func (*FakeProvider) ToRESTMapper ¶
func (f *FakeProvider) ToRESTMapper() (meta.RESTMapper, error)
type InventoryProvider ¶
type InventoryProvider struct {
// contains filtered or unexported fields
}
InventoryProvider implements the Provider interface.
func NewProvider ¶
func NewProvider(f util.Factory) *InventoryProvider
NewProvider returns a Provider that implements a ConfigMap inventory object.
func (*InventoryProvider) Factory ¶
func (f *InventoryProvider) Factory() util.Factory
Factory returns the kubectl factory.
func (*InventoryProvider) InventoryClient ¶
func (f *InventoryProvider) InventoryClient() (inventory.InventoryClient, error)
InventoryClient returns an InventoryClient created with the stored factory and InventoryFactoryFunc values, or an error if one occurred.
Click to show internal directories.
Click to hide internal directories.