Documentation ¶
Index ¶
- func Execute()
- func ParseInput(input string) (command string, params []string)
- func ResetSystemInfo[T any](m *dynamomq.Message[T], now time.Time)
- type CommandFactory
- func (f CommandFactory) CreatReceiveCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateDLQCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateDeleteCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateEnqueueTestCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateFailCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateGetCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateInvalidCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateLSCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreatePurgeCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateQueueStatCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateRedriveCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateResetCommand(flgs *Flags) *cobra.Command
- func (f CommandFactory) CreateRootCommand(flgs *Flags) *cobra.Command
- type EnqueueTestResult
- type Failure
- type FlagMap
- type FlagSet
- type Flags
- type Interactive
- type LSResult
- type PurgeResult
- type Status
- type SystemInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseInput ¶ added in v0.10.1
Types ¶
type CommandFactory ¶ added in v0.10.1
type CommandFactory struct { CreateDynamoMQClient func(ctx context.Context, flags *Flags) (dynamomq.Client[any], aws.Config, error) Stdin io.Reader }
func (CommandFactory) CreatReceiveCommand ¶ added in v0.10.1
func (f CommandFactory) CreatReceiveCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateDLQCommand ¶ added in v0.10.1
func (f CommandFactory) CreateDLQCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateDeleteCommand ¶ added in v0.10.1
func (f CommandFactory) CreateDeleteCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateEnqueueTestCommand ¶ added in v0.10.1
func (f CommandFactory) CreateEnqueueTestCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateFailCommand ¶ added in v0.10.1
func (f CommandFactory) CreateFailCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateGetCommand ¶ added in v0.10.1
func (f CommandFactory) CreateGetCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateInvalidCommand ¶ added in v0.10.1
func (f CommandFactory) CreateInvalidCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateLSCommand ¶ added in v0.10.1
func (f CommandFactory) CreateLSCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreatePurgeCommand ¶ added in v0.10.1
func (f CommandFactory) CreatePurgeCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateQueueStatCommand ¶ added in v0.10.1
func (f CommandFactory) CreateQueueStatCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateRedriveCommand ¶ added in v0.10.1
func (f CommandFactory) CreateRedriveCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateResetCommand ¶ added in v0.10.1
func (f CommandFactory) CreateResetCommand(flgs *Flags) *cobra.Command
func (CommandFactory) CreateRootCommand ¶ added in v0.10.1
func (f CommandFactory) CreateRootCommand(flgs *Flags) *cobra.Command
type EnqueueTestResult ¶ added in v0.8.0
type EnqueueTestResult struct {
Successes []string `json:"successes"`
}
type Interactive ¶
type PurgeResult ¶ added in v0.8.0
type SystemInfo ¶ added in v0.10.1
type SystemInfo struct { ID string `json:"id"` Status dynamomq.Status `json:"status"` ReceiveCount int `json:"receive_count"` QueueType dynamomq.QueueType `json:"queue_type"` Version int `json:"version"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` SentAt string `json:"sent_at"` ReceivedAt string `json:"received_at"` InvisibleUntilAt string `json:"invisible_until_at"` }
func GetSystemInfo ¶ added in v0.10.1
func GetSystemInfo[T any](m *dynamomq.Message[T]) *SystemInfo
Click to show internal directories.
Click to hide internal directories.