cmd

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type DeleteResult added in v0.8.0

type DeleteResult struct {
	ID string `json:"id"`
}

type EnqueueTestResult added in v0.8.0

type EnqueueTestResult struct {
	Successes []string  `json:"successes"`
	Failures  []Failure `json:"failures"`
}

type FailResult added in v0.8.0

type FailResult[T any] struct {
	Message *dynamomq.Message[T] `json:"message"`
}

type Failure added in v0.8.0

type Failure struct {
	ID    string
	Error error
}

type FlagMap added in v0.8.0

type FlagMap struct {
	TableName         FlagSet[string]
	QueueingIndexName FlagSet[string]
	EndpointURL       FlagSet[string]
	ID                FlagSet[string]
}

type FlagSet added in v0.8.0

type FlagSet[T any] struct {
	Name  string
	Usage string
	Value T
}

type Flags

type Flags struct {
	TableName         string
	QueueingIndexName string
	EndpointURL       string

	ID string
}

type GetResult added in v0.8.0

type GetResult struct {
	Message *dynamomq.Message[any] `json:"message"`
}

type Interactive

type Interactive struct {
	TableName string
	Client    dynamomq.Client[any]
	Message   *dynamomq.Message[any]
}

func (*Interactive) Run

func (c *Interactive) Run(ctx context.Context, command string, params []string)

type InvalidResult added in v0.8.0

type InvalidResult struct {
	ID string `json:"id"`
}

type LSResult added in v0.8.0

type LSResult struct {
	Statuses []Status `json:"statuses"`
}

type PurgeResult added in v0.8.0

type PurgeResult struct {
	Successes []string  `json:"successes"`
	Failures  []Failure `json:"failures"`
}

type ReceiveResult added in v0.8.0

type ReceiveResult struct {
	Message *dynamomq.Message[any] `json:"message"`
}

type ResetResult added in v0.8.0

type ResetResult struct {
	Message *dynamomq.Message[any] `json:"message"`
}

type Status added in v0.8.0

type Status struct {
	ID        string             `json:"id"`
	Status    dynamomq.Status    `json:"status"`
	QueueType dynamomq.QueueType `json:"queue_type"`
}

Jump to

Keyboard shortcuts

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