Versions in this module Expand all Collapse all v1 v1.2.6 Aug 31, 2020 Changes in this version + const CreateRecommendedCommandName + const DeleteRecommendedCommandName + const DescribeRecommendedCommandName + const ExecRecommendedCommandName + const GetRecommendedCommandName + const LinkRecommendedCommandName + const ListRecommendedCommandName + const LocalDirectoryDefaultLocation + const LogRecommendedCommandName + const PushRecommendedCommandName + const PushedCompState + const RecommendedCommandName + const TestRecommendedCommandName + const UnlinkRecommendedCommandName + const UnpushedCompState + const UpdateRecommendedCommandName + const WatchRecommendedCommandName + var ConfigFilePath = filepath.Join(LocalDirectoryDefaultLocation, configFile) + var DevfilePath = filepath.Join(LocalDirectoryDefaultLocation, devFile) + var EnvFilePath = filepath.Join(LocalDirectoryDefaultLocation, envFile) + func AddComponentFlag(cmd *cobra.Command) + func NewCmdComponent(name, fullName string) *cobra.Command + func NewCmdCreate(name, fullName string) *cobra.Command + func NewCmdDelete(name, fullName string) *cobra.Command + func NewCmdDescribe(name, fullName string) *cobra.Command + func NewCmdExec(name, fullName string) *cobra.Command + func NewCmdGet(name, fullName string) *cobra.Command + func NewCmdLink(name, fullName string) *cobra.Command + func NewCmdList(name, fullName string) *cobra.Command + func NewCmdLog(name, fullName string) *cobra.Command + func NewCmdPush(name, fullName string) *cobra.Command + func NewCmdTest(name, fullName string) *cobra.Command + func NewCmdUnlink(name, fullName string) *cobra.Command + func NewCmdUpdate(name, fullName string) *cobra.Command + func NewCmdWatch(name, fullName string) *cobra.Command + type CommonPushOptions struct + EnvSpecificInfo *envinfo.EnvSpecificInfo + func NewCommonPushOptions() *CommonPushOptions + func (cpo *CommonPushOptions) AddContextFlag(cmd *cobra.Command) + func (cpo *CommonPushOptions) InitConfigFromContext() error + func (cpo *CommonPushOptions) InitEnvInfoFromContext() (err error) + func (cpo *CommonPushOptions) Push() (err error) + func (cpo *CommonPushOptions) ResolveProject(prjName string) (err error) + func (cpo *CommonPushOptions) ResolveSrcAndConfigFlags() + func (cpo *CommonPushOptions) SetSourceInfo() (err error) + func (cpo *CommonPushOptions) ValidateComponentCreate() error + type ComponentOptions struct + func (co *ComponentOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + type CreateOptions struct + func NewCreateOptions() *CreateOptions + func (co *CreateOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (co *CreateOptions) Run() (err error) + func (co *CreateOptions) Validate() (err error) + type DeleteOptions struct + EnvSpecificInfo *envinfo.EnvSpecificInfo + func NewDeleteOptions() *DeleteOptions + func (do *DeleteOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (do *DeleteOptions) DevFileRun() (err error) + func (do *DeleteOptions) DevfileComponentDelete() error + func (do *DeleteOptions) Run() (err error) + func (do *DeleteOptions) Validate() (err error) + type DescribeOptions struct + func NewDescribeOptions() *DescribeOptions + func (do *DescribeOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (do *DescribeOptions) Run() (err error) + func (do *DescribeOptions) Validate() (err error) + type DevfileMetadata struct + type ExecOptions struct + func NewExecOptions() *ExecOptions + func (eo *ExecOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (eo *ExecOptions) DevfileComponentExec(command []string) error + func (eo *ExecOptions) Run() (err error) + func (eo *ExecOptions) Validate() (err error) + type GetOptions struct + func NewGetOptions() *GetOptions + func (gto *GetOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (gto *GetOptions) Run() (err error) + func (gto *GetOptions) Validate() (err error) + type LinkOptions struct + func NewLinkOptions() *LinkOptions + func (o *LinkOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (o *LinkOptions) Run() (err error) + func (o *LinkOptions) Validate() (err error) + type ListOptions struct + func NewListOptions() *ListOptions + func (lo *ListOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (lo *ListOptions) Run() (err error) + func (lo *ListOptions) Validate() (err error) + type LogOptions struct + func NewLogOptions() *LogOptions + func (lo *LogOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (lo *LogOptions) Run() (err error) + func (lo *LogOptions) Validate() (err error) + func (lo LogOptions) DevfileComponentLog() error + type PushOptions struct + Devfile parser.DevfileObj + DevfilePath string + func NewPushOptions() *PushOptions + func (po *PushOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (po *PushOptions) CompleteDevfilePath() + func (po *PushOptions) DevfilePush() error + func (po *PushOptions) Run() (err error) + func (po *PushOptions) Validate() (err error) + type TestOptions struct + func NewTestOptions() *TestOptions + func (to *TestOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (to *TestOptions) Run() (err error) + func (to *TestOptions) RunTestCommand() error + func (to *TestOptions) Validate() (err error) + type UnlinkOptions struct + func NewUnlinkOptions() *UnlinkOptions + func (o *UnlinkOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (o *UnlinkOptions) Run() (err error) + func (o *UnlinkOptions) Validate() (err error) + type UpdateOptions struct + func NewUpdateOptions() *UpdateOptions + func (uo *UpdateOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (uo *UpdateOptions) Run() (err error) + func (uo *UpdateOptions) Validate() (err error) + type WatchOptions struct + func NewWatchOptions() *WatchOptions + func (wo *WatchOptions) Complete(name string, cmd *cobra.Command, args []string) (err error) + func (wo *WatchOptions) Run() (err error) + func (wo *WatchOptions) Validate() (err error)