Documentation ¶
Overview ¶
Package onetime processes subcommand flags for onetime execution in agent for SAP.
Index ¶
- type Key
- type LogUsage
- type MaintenanceMode
- type MigrateHANAMonitoring
- func (m *MigrateHANAMonitoring) Execute(ctx context.Context, f *flag.FlagSet, args ...any) subcommands.ExitStatus
- func (*MigrateHANAMonitoring) Name() string
- func (*MigrateHANAMonitoring) SetFlags(f *flag.FlagSet)
- func (*MigrateHANAMonitoring) Synopsis() string
- func (*MigrateHANAMonitoring) Usage() string
- type RemoteValidation
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { URI string `json:"uri"` Key string `json:"key"` KeyType string `json:"key-type"` }
Key defines the contents of each entry in the encryption key file. Reference: https://cloud.google.com/compute/docs/disks/customer-supplied-encryption#key_file
type LogUsage ¶
type LogUsage struct {
// contains filtered or unexported fields
}
LogUsage has args for logusage subcommands.
func (*LogUsage) Execute ¶
func (l *LogUsage) Execute(ctx context.Context, f *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements the subcommand interface for logusage.
type MaintenanceMode ¶
type MaintenanceMode struct {
// contains filtered or unexported fields
}
MaintenanceMode has args for maintenance subcommands.
func (*MaintenanceMode) Execute ¶
func (m *MaintenanceMode) Execute(ctx context.Context, f *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements the subcommand interface for maintenance.
func (*MaintenanceMode) Name ¶
func (*MaintenanceMode) Name() string
Name implements the subcommand interface for maintenance.
func (*MaintenanceMode) SetFlags ¶
func (m *MaintenanceMode) SetFlags(fs *flag.FlagSet)
SetFlags implements the subcommand interface for maintenance.
func (*MaintenanceMode) Synopsis ¶
func (*MaintenanceMode) Synopsis() string
Synopsis implements the subcommand interface for maintenance.
func (*MaintenanceMode) Usage ¶
func (*MaintenanceMode) Usage() string
Usage implements the subcommand interface for maintenance.
type MigrateHANAMonitoring ¶
type MigrateHANAMonitoring struct{}
MigrateHANAMonitoring is a struct which implements subcommands interface.
func (*MigrateHANAMonitoring) Execute ¶
func (m *MigrateHANAMonitoring) Execute(ctx context.Context, f *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements the subcommand interface for Migrating HANA Monitoring Agent.
func (*MigrateHANAMonitoring) Name ¶
func (*MigrateHANAMonitoring) Name() string
Name implements the subcommand interface for migrating HANA Monitoring Agent.
func (*MigrateHANAMonitoring) SetFlags ¶
func (*MigrateHANAMonitoring) SetFlags(f *flag.FlagSet)
SetFlags implements the subcommand interface for migrating hana monitoring agent.
func (*MigrateHANAMonitoring) Synopsis ¶
func (*MigrateHANAMonitoring) Synopsis() string
Synopsis implements the subcommand interface for migrating HANA Monitoring Agent.
func (*MigrateHANAMonitoring) Usage ¶
func (*MigrateHANAMonitoring) Usage() string
Usage implements the subcommand interface for migrating hana monitoring agent.
type RemoteValidation ¶
type RemoteValidation struct {
// contains filtered or unexported fields
}
RemoteValidation has args for remote subcommands.
func (*RemoteValidation) Execute ¶
func (r *RemoteValidation) Execute(ctx context.Context, f *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements the subcommand interface for remote.
func (*RemoteValidation) Name ¶
func (*RemoteValidation) Name() string
Name implements the subcommand interface for remote.
func (*RemoteValidation) SetFlags ¶
func (r *RemoteValidation) SetFlags(fs *flag.FlagSet)
SetFlags implements the subcommand interface for remote.
func (*RemoteValidation) Synopsis ¶
func (*RemoteValidation) Synopsis() string
Synopsis implements the subcommand interface for remote.
func (*RemoteValidation) Usage ¶
func (*RemoteValidation) Usage() string
Usage implements the subcommand interface for remote.
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
Snapshot has args for snapshot subcommands.
func (*Snapshot) Execute ¶
func (s *Snapshot) Execute(ctx context.Context, f *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements the subcommand interface for snapshot.