Documentation ¶
Overview ¶
Package onetime contains the one time executable commands that can be used by any agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVersionCommand ¶
func NewVersionCommand(integration *cpb.Integration) *cobra.Command
NewVersionCommand returns a new version command.
func NewWinServiceCommand ¶
func NewWinServiceCommand(ctx context.Context, integration *cpb.Integration, daemon *cobra.Command) *cobra.Command
NewWinServiceCommand returns a new winservice command.
Types ¶
type Version ¶
type Version struct {
Integration *cpb.Integration
}
Version has args for version subcommands.
type Winservice ¶
type Winservice struct { Integration *cpb.Integration Service winsvc.Service Daemon *cobra.Command // contains filtered or unexported fields }
Winservice has args for winservice subcommands.
func (*Winservice) Execute ¶
func (w *Winservice) Execute(cmd *cobra.Command, args []string) error
Execute implements the subcommand interface for winservice.
Click to show internal directories.
Click to hide internal directories.