pubsub

package
v0.0.0-...-2c6ab8f Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Topic                 string
	Subscription          string
	TopicProjectID        string
	SubscriptionProjectID string
}

func (Config) Validate

func (c Config) Validate() error

type MoveCmd

type MoveCmd struct {
	Config
	// contains filtered or unexported fields
}

func NewMoveCmd

func NewMoveCmd(ctx context.Context, config Config) (*MoveCmd, error)

func (*MoveCmd) Execute

func (cmd *MoveCmd) Execute(ctx context.Context) error

func (*MoveCmd) StopExecution

func (cmd *MoveCmd) StopExecution() error

Jump to

Keyboard shortcuts

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