Documentation ¶
Index ¶
- Constants
- func Consume(c *cli.Context, serviceName string)
- func CreateConsumerGroup(c *cli.Context, cliHelper common.CliHelper, serviceName string)
- func CreateConsumerGroupSecure(c *cli.Context, cliHelper common.CliHelper, serviceName string, ...)
- func CreateDestination(c *cli.Context, cliHelper common.CliHelper, serviceName string)
- func CreateDestinationSecure(c *cli.Context, cliHelper common.CliHelper, serviceName string, ...)
- func DeleteConsumerGroup(c *cli.Context, serviceName string)
- func DeleteConsumerGroupSecure(c *cli.Context, serviceName string, authProvider ccli.AuthProvider)
- func DeleteDestination(c *cli.Context, serviceName string)
- func DeleteDestinationSecure(c *cli.Context, serviceName string, authProvider ccli.AuthProvider)
- func ExitIfError(err error)
- func GetCClient(c *cli.Context, serviceName string) ccli.Client
- func GetCClientSecure(c *cli.Context, serviceName string, authProvider ccli.AuthProvider) ccli.Client
- func GetConsumerGroupState(c *cli.Context)
- func GetDestinationState(c *cli.Context)
- func GetMClient(c *cli.Context, serviceName string) mcli.Client
- func Jsonify(obj thrift.TStruct) string
- func ListAllConsumerGroups(c *cli.Context)
- func ListAllLoadedDestinations(c *cli.Context)
- func ListConsumerGroups(c *cli.Context, serviceName string)
- func ListDestinations(c *cli.Context, serviceName string)
- func MergeDLQForConsumerGroup(c *cli.Context, serviceName string)
- func Publish(c *cli.Context, serviceName string)
- func PurgeDLQForConsumerGroup(c *cli.Context, serviceName string)
- func ReadCgBacklog(c *cli.Context, serviceName string)
- func ReadConsumerGroup(c *cli.Context, serviceName string)
- func ReadDestination(c *cli.Context, serviceName string)
- func ReadDlq(c *cli.Context, serviceName string)
- func ReadMessage(c *cli.Context, serviceName string)
- func SealConsistencyCheck(c *cli.Context, mClient mcli.Client)
- func StoreGetAddressFromTimestamp(c *cli.Context, mClient mcli.Client)
- func StoreIsExtentSealed(c *cli.Context, mClient mcli.Client)
- func StoreListExtents(c *cli.Context, mClient mcli.Client)
- func StorePurgeMessages(c *cli.Context, mClient mcli.Client)
- func StoreSealExtent(c *cli.Context, mClient mcli.Client)
- func UnloadConsumerGroup(c *cli.Context, mClient mcli.Client)
- func UnloadDestination(c *cli.Context, mClient mcli.Client)
- func UpdateConsumerGroup(c *cli.Context, cliHelper common.CliHelper, serviceName string)
- func UpdateConsumerGroupSecure(c *cli.Context, cliHelper common.CliHelper, serviceName string, ...)
- func UpdateDestination(c *cli.Context, cliHelper common.CliHelper, serviceName string)
- func UpdateDestinationSecure(c *cli.Context, cliHelper common.CliHelper, serviceName string, ...)
- 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" // DefaultUnconsumedMessagesRetention is the default value for unconsumed messages retention DefaultUnconsumedMessagesRetention = 3 * 24 * 3600 // 3 days // DefaultConsumedMessagesRetention is the default value for consumed messages retention DefaultConsumedMessagesRetention = 1 * 24 * 3600 // 1 day // MinUnconsumedMessagesRetentionForMultiZoneDest is the minimum unconsumed retention allowed MinUnconsumedMessagesRetentionForMultiZoneDest = 3 * 24 * 3600 // MinConsumedMessagesRetention is the minimum consumed retention MinConsumedMessagesRetention = 180 // MaxConsumedMessagesRetention is the maximum consumed retention MaxConsumedMessagesRetention = 7 * 24 * 3600 // MinUnconsumedMessagesRetention is the minimum unconsumed retention MinUnconsumedMessagesRetention = 180 // MaxUnconsumedMessagesRetention is the maximum unconsumed retention MaxUnconsumedMessagesRetention = 7 * 24 * 3600 // DefaultLockTimeoutSeconds is the default value for lock timeout seconds DefaultLockTimeoutSeconds = 60 // MinLockTimeoutSeconds is the minimum lock timeout seconds MinLockTimeoutSeconds = 10 // MaxLockTimeoutSeconds is the maximum lock timeout seconds MaxLockTimeoutSeconds = 3600 // DefaultMaxDeliveryCount is the default value for max delivery count DefaultMaxDeliveryCount = 10 // MinMaxDeliveryCount is the minimum value for max delivery count MinMaxDeliveryCount = 1 // MaxMaxDeliveryCount is the maximum value for max delivery count MaxMaxDeliveryCount = 1000 // DefaultSkipOlderMessageSeconds is the default value for skipping older message DefaultSkipOlderMessageSeconds = 0 // MinSkipOlderMessageSeconds is the minimum value for skipping older message MinSkipOlderMessageSeconds = 1800 // MaxSkipOlderMessageSeconds is the maximum value for skipping older message MaxSkipOlderMessageSeconds = 2 * 24 * 3600 // DefaultDelayMessageSeconds is the default value for delaying message DefaultDelayMessageSeconds = 0 // MinDelayMessageSeconds is the minimum value for delaying message MinDelayMessageSeconds = 0 // MaxDelayMessageSeconds is the maximum value for delaying message MaxDelayMessageSeconds = 2 * 24 * 3600 )
Variables ¶
This section is empty.
Functions ¶
func CreateConsumerGroup ¶
CreateConsumerGroup creates consumer group based on cli.Context
func CreateConsumerGroupSecure ¶ added in v1.26.0
func CreateConsumerGroupSecure( c *cli.Context, cliHelper common.CliHelper, serviceName string, authProvider ccli.AuthProvider, )
CreateConsumerGroupSecure creates consumer group based on cli.Context
func CreateDestination ¶
CreateDestination creates destination
func CreateDestinationSecure ¶ added in v1.26.0
func CreateDestinationSecure( c *cli.Context, cliHelper common.CliHelper, serviceName string, authProvider ccli.AuthProvider, )
CreateDestinationSecure creates destination with security enabled
func DeleteConsumerGroup ¶
DeleteConsumerGroup deletes the consumer group
func DeleteConsumerGroupSecure ¶ added in v1.26.0
func DeleteConsumerGroupSecure(c *cli.Context, serviceName string, authProvider ccli.AuthProvider)
DeleteConsumerGroupSecure deletes the consumer group with security enabled
func DeleteDestination ¶
DeleteDestination deletes the destination
func DeleteDestinationSecure ¶ added in v1.26.0
func DeleteDestinationSecure(c *cli.Context, serviceName string, authProvider ccli.AuthProvider)
DeleteDestinationSecure deletes the destination with security enabled
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 GetCClientSecure ¶ added in v1.26.0
func GetCClientSecure(c *cli.Context, serviceName string, authProvider ccli.AuthProvider) ccli.Client
GetCClientSecure return a cherami.Client with security enabled
func GetConsumerGroupState ¶ added in v1.26.0
GetConsumerGroupState unloads the CG based on cli.Context
func GetDestinationState ¶ added in v1.26.0
GetDestinationState unloads the Destination based on cli.Context
func GetMClient ¶
GetMClient return a metadata.Client
func ListAllConsumerGroups ¶ added in v1.26.0
ListAllConsumerGroups lists all loaded CGs in memory of the outputhost
func ListAllLoadedDestinations ¶ added in v1.26.0
ListAllLoadedDestinations lists all loaded Destinations in memory of the inputhost
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 SealConsistencyCheck ¶ added in v1.26.0
SealConsistencyCheck implement for show msg command line
func StoreGetAddressFromTimestamp ¶ added in v1.26.0
StoreGetAddressFromTimestamp sends a GetAddressFromTimestamp request to the specified store
func StoreIsExtentSealed ¶ added in v1.26.0
StoreIsExtentSealed checks if an extent is sealed on the specified store
func StoreListExtents ¶ added in v1.26.0
StoreListExtents sends a request to the specified store to get a list of extents
func StorePurgeMessages ¶ added in v1.26.0
StorePurgeMessages sends a purge command for an extent to the specified store.
func StoreSealExtent ¶ added in v1.26.0
StoreSealExtent sends a SealExtent request for an extent on a storehost
func UnloadConsumerGroup ¶
UnloadConsumerGroup unloads the CG based on cli.Context
func UnloadDestination ¶ added in v1.26.0
UnloadDestination unloads the Destination based on cli.Context
func UpdateConsumerGroup ¶
UpdateConsumerGroup updates the consumer group
func UpdateConsumerGroupSecure ¶ added in v1.26.0
func UpdateConsumerGroupSecure( c *cli.Context, cliHelper common.CliHelper, serviceName string, authProvider ccli.AuthProvider, )
UpdateConsumerGroupSecure updates the consumer group with security enabled
func UpdateDestination ¶
UpdateDestination updates destination
func UpdateDestinationSecure ¶ added in v1.26.0
func UpdateDestinationSecure( c *cli.Context, cliHelper common.CliHelper, serviceName string, authProvider ccli.AuthProvider, )
UpdateDestinationSecure updates destination with security enabled
Types ¶
type GlobalOptions ¶
type GlobalOptions struct {
// contains filtered or unexported fields
}
GlobalOptions are options shared by most command line