Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArkBaseAction ¶
type ArkBaseAction struct {
// contains filtered or unexported fields
}
ArkBaseAction is a struct that implements the ArkAction interface as a base action.
func NewArkBaseAction ¶
func NewArkBaseAction() *ArkBaseAction
NewArkBaseAction creates a new instance of ArkBaseAction.
func (*ArkBaseAction) CommonActionsConfiguration ¶
func (a *ArkBaseAction) CommonActionsConfiguration(cmd *cobra.Command)
CommonActionsConfiguration sets up common flags for the command line interface.
func (*ArkBaseAction) CommonActionsExecution ¶
func (a *ArkBaseAction) CommonActionsExecution(cmd *cobra.Command, args []string)
CommonActionsExecution executes common actions based on the command line flags.
type ArkBaseExecAction ¶
type ArkBaseExecAction struct {
*ArkBaseAction
// contains filtered or unexported fields
}
ArkBaseExecAction is a struct that implements the ArkExecAction interface as a base action.
func NewArkBaseExecAction ¶
func NewArkBaseExecAction(execAction *ArkExecAction, name string, profilesLoader *profiles.ProfileLoader) *ArkBaseExecAction
NewArkBaseExecAction creates a new instance of ArkBaseExecAction.
func (*ArkBaseExecAction) DefineAction ¶
func (a *ArkBaseExecAction) DefineAction(cmd *cobra.Command)
DefineAction defines the CLI `exec` action, and adds the exec action function.
type ArkCacheAction ¶
type ArkCacheAction struct {
*ArkBaseAction
}
ArkCacheAction is a struct that implements the ArkAction interface for cache management.
func NewArkCacheAction ¶
func NewArkCacheAction() *ArkCacheAction
NewArkCacheAction Creates a new instance of ArkCacheAction
func (*ArkCacheAction) DefineAction ¶
func (a *ArkCacheAction) DefineAction(cmd *cobra.Command)
DefineAction Defines the CLI `cache` action, and adds the clear cache function
type ArkConfigureAction ¶
type ArkConfigureAction struct {
*ArkBaseAction
// contains filtered or unexported fields
}
ArkConfigureAction is a struct that implements the ArkAction interface for configuring the CLI profiles.
func NewArkConfigureAction ¶
func NewArkConfigureAction(profilesLoader *profiles.ProfileLoader) *ArkConfigureAction
NewArkConfigureAction Creates a new instance of ArkConfigureAction
func (*ArkConfigureAction) DefineAction ¶
func (a *ArkConfigureAction) DefineAction(cmd *cobra.Command)
DefineAction Defines the CLI `configure` action, and adds the clear cache function
type ArkExecAction ¶
type ArkExecAction interface {
DefineExecAction(cmd *cobra.Command) error
RunExecAction(api *cli.ArkCLIAPI, cmd *cobra.Command, execCmd *cobra.Command, args []string) error
}
ArkExecAction is an interface that defines the structure for executing actions in the Ark SDK.
type ArkLoginAction ¶
type ArkLoginAction struct {
*ArkBaseAction
// contains filtered or unexported fields
}
ArkLoginAction is a struct that implements the ArkAction interface for login action.
func NewArkLoginAction ¶
func NewArkLoginAction(profilesLoader *profiles.ProfileLoader) *ArkLoginAction
NewArkLoginAction creates a new instance of ArkLoginAction.
func (*ArkLoginAction) DefineAction ¶
func (a *ArkLoginAction) DefineAction(cmd *cobra.Command)
DefineAction defines the CLI `login` action, and adds the login function.
type ArkProfilesAction ¶
type ArkProfilesAction struct {
*ArkBaseAction
// contains filtered or unexported fields
}
ArkProfilesAction is a struct that implements the ArkAction interface for managing profiles.
func NewArkProfilesAction ¶
func NewArkProfilesAction(profilesLoader *profiles.ProfileLoader) *ArkProfilesAction
NewArkProfilesAction creates a new instance of ArkProfilesAction.
func (*ArkProfilesAction) DefineAction ¶
func (a *ArkProfilesAction) DefineAction(cmd *cobra.Command)
DefineAction Defines the CLI `profile` action, and adds actions for managing multiple profiles.
type ArkServiceExecAction ¶
type ArkServiceExecAction struct {
ArkExecAction
*ArkBaseExecAction
}
ArkServiceExecAction is a struct that implements the ArkExecAction interface for executing service actions.
func NewArkServiceExecAction ¶
func NewArkServiceExecAction(profilesLoader *profiles.ProfileLoader) *ArkServiceExecAction
NewArkServiceExecAction creates a new instance of ArkServiceExecAction.
func (*ArkServiceExecAction) DefineExecAction ¶
func (s *ArkServiceExecAction) DefineExecAction(cmd *cobra.Command) error
DefineExecAction defines the exec action for the ArkServiceExecAction.