list

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const RecommendedCommandName = "list"

RecommendedCommandName is the recommended command name

Variables

This section is empty.

Functions

func NewCmdCatalogList

func NewCmdCatalogList(name, fullName string) *cobra.Command

NewCmdCatalogList implements the odo catalog list command

func NewCmdCatalogListComponents

func NewCmdCatalogListComponents(name, fullName string) *cobra.Command

NewCmdCatalogListComponents implements the odo catalog list components command

func NewCmdCatalogListServices

func NewCmdCatalogListServices(name, fullName string) *cobra.Command

NewCmdCatalogListServices implements the odo catalog list services command

Types

type ListComponentsOptions

type ListComponentsOptions struct {

	// generic context options common to all commands
	*genericclioptions.Context
	// contains filtered or unexported fields
}

ListComponentsOptions encapsulates the options for the odo catalog list components command

func NewListComponentsOptions

func NewListComponentsOptions() *ListComponentsOptions

NewListComponentsOptions creates a new ListComponentsOptions instance

func (*ListComponentsOptions) Complete

func (o *ListComponentsOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

Complete completes ListComponentsOptions after they've been created

func (*ListComponentsOptions) Run

func (o *ListComponentsOptions) Run() (err error)

Run contains the logic for the command associated with ListComponentsOptions

func (*ListComponentsOptions) Validate

func (o *ListComponentsOptions) Validate() (err error)

Validate validates the ListComponentsOptions based on completed values

type ListServicesOptions

type ListServicesOptions struct {

	// generic context options common to all commands
	*genericclioptions.Context
	// contains filtered or unexported fields
}

ListServicesOptions encapsulates the options for the odo catalog list services command

func NewListServicesOptions

func NewListServicesOptions() *ListServicesOptions

NewListServicesOptions creates a new ListServicesOptions instance

func (*ListServicesOptions) Complete

func (o *ListServicesOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

Complete completes ListServicesOptions after they've been created

func (*ListServicesOptions) Run

func (o *ListServicesOptions) Run() (err error)

Run contains the logic for the command associated with ListServicesOptions

func (*ListServicesOptions) Validate

func (o *ListServicesOptions) Validate() (err error)

Validate validates the ListServicesOptions based on completed values

Jump to

Keyboard shortcuts

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