Documentation
¶
Index ¶
- func DefaultAction(action interface{}) interface{}
- func Wrap(f func(*CLIContext) error) func(context2 *cli.Context) error
- type CLIContext
- func (c *CLIContext) ByID(id, typeName string) (*types.NamedResource, error)
- func (c *CLIContext) ClientLookup(typeName string) (clientbase.APIBaseClientInterface, error)
- func (c *CLIContext) LookupFilters(name, typeName string) (map[string]interface{}, bool, error)
- func (c *CLIContext) Store(data map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAction ¶
func DefaultAction(action interface{}) interface{}
Types ¶
type CLIContext ¶
func Lookup ¶
func Lookup(data map[string]interface{}) *CLIContext
func (*CLIContext) ByID ¶
func (c *CLIContext) ByID(id, typeName string) (*types.NamedResource, error)
func (*CLIContext) ClientLookup ¶
func (c *CLIContext) ClientLookup(typeName string) (clientbase.APIBaseClientInterface, error)
func (*CLIContext) LookupFilters ¶
func (c *CLIContext) LookupFilters(name, typeName string) (map[string]interface{}, bool, error)
func (*CLIContext) Store ¶
func (c *CLIContext) Store(data map[string]interface{})
Click to show internal directories.
Click to hide internal directories.