Documentation
¶
Index ¶
- Constants
- func Consume(c *cli.Context, cClient ccli.Client)
- func CreateConsumerGroup(c *cli.Context, cClient ccli.Client, cliHelper common.CliHelper)
- func CreateDestination(c *cli.Context, cClient ccli.Client, cliHelper common.CliHelper)
- func DeleteConsumerGroup(c *cli.Context, cClient ccli.Client)
- func DeleteDestination(c *cli.Context, cClient ccli.Client)
- func ExitIfError(err error)
- func GetCClient(c *cli.Context, serviceName string) ccli.Client
- func GetMClient(c *cli.Context, serviceName string) mcli.Client
- func Jsonify(obj thrift.TStruct) string
- func ListConsumerGroups(c *cli.Context, cClient ccli.Client)
- func ListDestinations(c *cli.Context, mClient mcli.Client)
- func MergeDLQForConsumerGroup(c *cli.Context, cClient ccli.Client)
- func Publish(c *cli.Context, cClient ccli.Client)
- func PurgeDLQForConsumerGroup(c *cli.Context, cClient ccli.Client)
- func ReadCgBacklog(c *cli.Context, cClient ccli.Client)
- func ReadConsumerGroup(c *cli.Context, mClient mcli.Client)
- func ReadDestination(c *cli.Context, mClient mcli.Client)
- func ReadDlq(c *cli.Context, mClient mcli.Client)
- func ReadMessage(c *cli.Context, mClient mcli.Client)
- func UnloadConsumerGroup(c *cli.Context, mClient mcli.Client)
- func UpdateConsumerGroup(c *cli.Context, cClient ccli.Client)
- func UpdateDestination(c *cli.Context, cClient ccli.Client, mClient mcli.Client)
- type GlobalOptions
Constants ¶
const ( // DefaultPageSize is the default page size for data base access for command line DefaultPageSize = 1000 // UnknownUUID is the suffix added to a host when the host uuid does not exist in cassandra UnknownUUID = " UNKNOWN_HOST_UUID" // DestinationType is the name for entity type for destination in listEntityOps DestinationType = "DST" // ConsumerGroupType is the name for entity type for consumer group in listEntityOps ConsumerGroupType = "CG" // MinUnconsumedMessagesRetentionForMultiZoneDest is the minimum unconsumed retention allowed MinUnconsumedMessagesRetentionForMultiZoneDest = 3 * 24 * 3600 )
Variables ¶
This section is empty.
Functions ¶
func CreateConsumerGroup ¶
CreateConsumerGroup create consumer group based on cli.Context
func CreateDestination ¶
CreateDestination create destination
func DeleteConsumerGroup ¶
DeleteConsumerGroup delete the consumer group based on Cli.Context
func DeleteDestination ¶
DeleteDestination delete the destination based on Cli.Context
func ExitIfError ¶
func ExitIfError(err error)
ExitIfError exit while err is not nil and print the calling stack also
func GetCClient ¶
GetCClient return a cherami.Client
func GetMClient ¶
GetMClient return a metadata.Client
func ListConsumerGroups ¶
ListConsumerGroups return the consumer groups based on the destination provided
func ListDestinations ¶
ListDestinations return destinations based on the Cli.Context
func MergeDLQForConsumerGroup ¶
MergeDLQForConsumerGroup return the consumer group information
func PurgeDLQForConsumerGroup ¶
PurgeDLQForConsumerGroup return the consumer group information
func ReadCgBacklog ¶
ReadCgBacklog reads the CG back log
func ReadConsumerGroup ¶
ReadConsumerGroup return the consumer group information
func ReadDestination ¶
ReadDestination return the detail for dest, and also consumer group for this dest
func ReadMessage ¶
ReadMessage implement for show msg command line
func UnloadConsumerGroup ¶
UnloadConsumerGroup unloads the CG based on cli.Context
func UpdateConsumerGroup ¶
UpdateConsumerGroup update the consumer group based on cli.Context
Types ¶
type GlobalOptions ¶
type GlobalOptions struct {
// contains filtered or unexported fields
}
GlobalOptions are options shared by most command line