subscribe

package
v2.31.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubscribeCmd

type SubscribeCmd struct {
	*subcommand.SubCommand

	Token            string
	Subscription     string
	Consumer         string
	Subscriber       string
	ActionTypes      []string
	ExpiresInMinutes int64
	Duration         time.Time
	// contains filtered or unexported fields
}

SubscribeCmd command

func NewSubscribeCmd

func NewSubscribeCmd(f *cmdutil.Factory) *SubscribeCmd

NewSubscribeCmd creates a command to subscribe to notifications from a subscription

func (*SubscribeCmd) RunE

func (n *SubscribeCmd) RunE(cmd *cobra.Command, args []string) error

RunE executes the command

Jump to

Keyboard shortcuts

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