Documentation
¶
Index ¶
- Constants
- func AddComponentFlag(cmd *cobra.Command)
- func NewCmdComponent() *cobra.Command
- func NewCmdCreate() *cobra.Command
- func NewCmdDelete() *cobra.Command
- func NewCmdDescribe() *cobra.Command
- func NewCmdLink(name, fullName string) *cobra.Command
- func NewCmdList() *cobra.Command
- func NewCmdLog() *cobra.Command
- func NewCmdPush() *cobra.Command
- func NewCmdUnlink(name, fullName string) *cobra.Command
- func NewCmdUpdate() *cobra.Command
- func NewCmdWatch() *cobra.Command
- type LinkOptions
- type UnlinkOptions
Constants ¶
const RecommendedLinkCommandName = "link"
RecommendedCommandName is the recommended link command name
const RecommendedUnlinkCommandName = "unlink"
RecommendedUnlinkCommandName is the recommended unlink command name
Variables ¶
This section is empty.
Functions ¶
func AddComponentFlag ¶ added in v0.0.18
AddComponentFlag adds a `component` flag to the given cobra command Also adds a completion handler to the flag
func NewCmdComponent ¶
NewCmdComponent implements the component odo command
func NewCmdCreate ¶
NewCmdCreate implements the create odo command
func NewCmdDelete ¶
NewCmdDelete implements the delete odo command
func NewCmdDescribe ¶
NewCmdDescribe implements the describe odo command
func NewCmdLink ¶
NewCmdLink implements the link odo command
func NewCmdUnlink ¶ added in v0.0.18
NewCmdUnlink implements the link odo command
func NewCmdUpdate ¶
NewCmdUpdate implements the Update 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
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
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