onetime

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

Package onetime processes subcommand flags for onetime execution in agent for SAP.

Index

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.

func (*LogUsage) Name

func (*LogUsage) Name() string

Name implements the subcommand interface for logusage.

func (*LogUsage) SetFlags

func (l *LogUsage) SetFlags(fs *flag.FlagSet)

SetFlags implements the subcommand interface for logusage.

func (*LogUsage) Synopsis

func (*LogUsage) Synopsis() string

Synopsis implements the subcommand interface for logusage.

func (*LogUsage) Usage

func (*LogUsage) Usage() string

Usage 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

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.

func (*Snapshot) Name

func (*Snapshot) Name() string

Name implements the subcommand interface for snapshot.

func (*Snapshot) SetFlags

func (s *Snapshot) SetFlags(fs *flag.FlagSet)

SetFlags implements the subcommand interface for snapshot.

func (*Snapshot) Synopsis

func (*Snapshot) Synopsis() string

Synopsis implements the subcommand interface for snapshot.

func (*Snapshot) Usage

func (*Snapshot) Usage() string

Usage implements the subcommand interface for snapshot.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL