component

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: Apache-2.0 Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const RecommendedLinkCommandName = "link"

RecommendedCommandName is the recommended link command name

View Source
const RecommendedUnlinkCommandName = "unlink"

RecommendedUnlinkCommandName is the recommended unlink command name

Variables

This section is empty.

Functions

func AddComponentFlag added in v0.0.18

func AddComponentFlag(cmd *cobra.Command)

AddComponentFlag adds a `component` flag to the given cobra command Also adds a completion handler to the flag

func NewCmdComponent

func NewCmdComponent() *cobra.Command

NewCmdComponent implements the component odo command

func NewCmdCreate

func NewCmdCreate() *cobra.Command

NewCmdCreate implements the create odo command

func NewCmdDelete

func NewCmdDelete() *cobra.Command

NewCmdDelete implements the delete odo command

func NewCmdDescribe

func NewCmdDescribe() *cobra.Command

NewCmdDescribe implements the describe odo command

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

NewCmdLink implements the link odo command

func NewCmdList

func NewCmdList() *cobra.Command

NewCmdList implements the list odo command

func NewCmdLog

func NewCmdLog() *cobra.Command

NewCmdLog implements the log odo command

func NewCmdPush

func NewCmdPush() *cobra.Command

NewCmdPush implements the push odo command

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

NewCmdUnlink implements the link odo command

func NewCmdUpdate

func NewCmdUpdate() *cobra.Command

NewCmdUpdate implements the Update odo command

func NewCmdWatch

func NewCmdWatch() *cobra.Command

NewCmdWatch implements the watch odo command

Types

type LinkOptions added in v0.0.18

type LinkOptions struct {
	// contains filtered or unexported fields
}

LinkOptions encapsulates the options for the odo link command

func NewLinkOptions added in v0.0.18

func NewLinkOptions() *LinkOptions

NewLinkOptions creates a new LinkOptions instance

func (*LinkOptions) Complete added in v0.0.18

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

Complete completes LinkOptions after they've been created

func (*LinkOptions) Run added in v0.0.18

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

Run contains the logic for the odo link command

func (*LinkOptions) Validate added in v0.0.18

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

Validate validates the LinkOptions based on completed values

type UnlinkOptions added in v0.0.18

type UnlinkOptions struct {
	// contains filtered or unexported fields
}

UnlinkOptions encapsulates the options for the odo link command

func NewUnlinkOptions added in v0.0.18

func NewUnlinkOptions() *UnlinkOptions

NewUnlinkOptions creates a new UnlinkOptions instance

func (*UnlinkOptions) Complete added in v0.0.18

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

Complete completes UnlinkOptions after they've been created

func (*UnlinkOptions) Run added in v0.0.18

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

Run contains the logic for the odo link command

func (*UnlinkOptions) Validate added in v0.0.18

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

Validate validates the UnlinkOptions based on completed values

Jump to

Keyboard shortcuts

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