Documentation ¶
Index ¶
Constants ¶
const RecommendedCommandName = "env"
RecommendedCommandName is the recommended env command name
Variables ¶
This section is empty.
Functions ¶
func NewCmdUnset ¶
NewCmdUnset implements the environment unset odo command
func NewCmdView ¶
NewCmdView implements the env view odo command
Types ¶
type SetOptions ¶
type SetOptions struct {
// contains filtered or unexported fields
}
SetOptions encapsulates the options for the command
func NewSetOptions ¶
func NewSetOptions() *SetOptions
NewSetOptions creates a new SetOptions instance
func (*SetOptions) Run ¶
func (o *SetOptions) Run() (err error)
Run contains the logic for the command
func (*SetOptions) Validate ¶
func (o *SetOptions) Validate() (err error)
Validate validates the SetOptions based on completed values
type UnsetOptions ¶
type UnsetOptions struct {
// contains filtered or unexported fields
}
UnsetOptions encapsulates the options for the command
func NewUnsetOptions ¶
func NewUnsetOptions() *UnsetOptions
NewUnsetOptions creates a new UnsetOptions instance
func (*UnsetOptions) Run ¶
func (o *UnsetOptions) Run() (err error)
Run contains the logic for the command
func (*UnsetOptions) Validate ¶
func (o *UnsetOptions) Validate() (err error)
Validate validates the UnsetOptions based on completed values
type ViewOptions ¶
type ViewOptions struct {
// contains filtered or unexported fields
}
ViewOptions encapsulates the options for the command
func NewViewOptions ¶
func NewViewOptions() *ViewOptions
NewViewOptions creates a new ViewOptions instance
func (*ViewOptions) Run ¶
func (o *ViewOptions) Run() (err error)
Run contains the logic for the command
func (*ViewOptions) Validate ¶
func (o *ViewOptions) Validate() (err error)
Validate validates the ViewOptions based on completed values