namespace

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const MaxBundles = math.MaxInt32

Variables

View Source
var ArgError = cmdutils.Output{
	Desc: "the namespace name is not specified or the namespace name is specified more than one",
	Out:  "[✖]  the namespace name is not specified or the namespace name is specified more than one",
}
View Source
var AuthNotEnable = cmdutils.Output{
	Desc: "the authorization is not enabled",
	Out:  "[✖]  code: 501 reason: Authorization is not enabled",
}
View Source
var NsErrors = []cmdutils.Output{
	{
		Desc: "the namespace name is not in the format of <tenant>/<namespace>",
		Out:  "[✖]  The complete name of namespace is invalid. complete name : <namespace-complete-name>",
	},
	{
		Desc: "the tenant name and(or) namespace name is empty",
		Out:  "[✖]  Invalid tenant or namespace. [<tenant>/<namespace>]",
	},
	{
		Desc: "the tenant name contains unsupported special chars. " +
			"the alphanumeric (a-zA-Z0-9) and the special chars (-=:.%)  is allowed",
		Out: "[✖]  Tenant name include unsupported special chars. tenant : [<namespace>]",
	},
	{
		Desc: "the namespace name contains unsupported special chars. " +
			"the  alphanumeric (a-zA-Z0-9) and the special chars (-=:.%) is allowed",
		Out: "[✖]  Namespace name include unsupported special chars. namespace : [<namespace>]",
	},
}
View Source
var NsNotExistError = cmdutils.Output{
	Desc: "the specified namespace name does not exist",
	Out:  "[✖]  code: 404 reason: Namespace does not exist",
}

Functions

func ClearBacklogCmd

func ClearBacklogCmd(vc *cmdutils.VerbCmd)

func ClearOffloadDeletionLagCmd

func ClearOffloadDeletionLagCmd(vc *cmdutils.VerbCmd)

func Command

func Command(flagGrouping *cmdutils.FlagGrouping) *cobra.Command

func GetCompactionThresholdCmd

func GetCompactionThresholdCmd(vc *cmdutils.VerbCmd)

func GetDispatchRateCmd

func GetDispatchRateCmd(vc *cmdutils.VerbCmd)

func GetMaxConsumersPerSubscriptionCmd

func GetMaxConsumersPerSubscriptionCmd(vc *cmdutils.VerbCmd)

func GetMaxConsumersPerTopicCmd

func GetMaxConsumersPerTopicCmd(vc *cmdutils.VerbCmd)

func GetMaxProducersPerTopicCmd

func GetMaxProducersPerTopicCmd(vc *cmdutils.VerbCmd)

func GetOffloadDeletionLagCmd

func GetOffloadDeletionLagCmd(vc *cmdutils.VerbCmd)

func GetOffloadThresholdCmd

func GetOffloadThresholdCmd(vc *cmdutils.VerbCmd)

func GetPermissionsCmd

func GetPermissionsCmd(vc *cmdutils.VerbCmd)

func GetReplicatorDispatchRateCmd

func GetReplicatorDispatchRateCmd(vc *cmdutils.VerbCmd)

func GetSchemaAutoUpdateStrategyCmd

func GetSchemaAutoUpdateStrategyCmd(vc *cmdutils.VerbCmd)

func GetSchemaValidationEnforcedCmd

func GetSchemaValidationEnforcedCmd(vc *cmdutils.VerbCmd)

func GetSubscribeRateCmd

func GetSubscribeRateCmd(vc *cmdutils.VerbCmd)

func GetSubscriptionDispatchRateCmd

func GetSubscriptionDispatchRateCmd(vc *cmdutils.VerbCmd)

func GrantPermissionsCmd

func GrantPermissionsCmd(vc *cmdutils.VerbCmd)

func GrantSubPermissionsCmd

func GrantSubPermissionsCmd(vc *cmdutils.VerbCmd)

func RevokePermissionsCmd

func RevokePermissionsCmd(vc *cmdutils.VerbCmd)

func RevokeSubPermissionsCmd

func RevokeSubPermissionsCmd(vc *cmdutils.VerbCmd)

func SetCompactionThresholdCmd

func SetCompactionThresholdCmd(vc *cmdutils.VerbCmd)

func SetDispatchRateCmd

func SetDispatchRateCmd(vc *cmdutils.VerbCmd)

func SetEncryptionRequiredCmd

func SetEncryptionRequiredCmd(vc *cmdutils.VerbCmd)

func SetMaxConsumersPerSubscriptionCmd

func SetMaxConsumersPerSubscriptionCmd(vc *cmdutils.VerbCmd)

func SetMaxConsumersPerTopicCmd

func SetMaxConsumersPerTopicCmd(vc *cmdutils.VerbCmd)

func SetMaxProducersPerTopicCmd

func SetMaxProducersPerTopicCmd(vc *cmdutils.VerbCmd)

func SetOffloadDeletionLagCmd

func SetOffloadDeletionLagCmd(vc *cmdutils.VerbCmd)

func SetOffloadThresholdCmd

func SetOffloadThresholdCmd(vc *cmdutils.VerbCmd)

func SetReplicatorDispatchRateCmd

func SetReplicatorDispatchRateCmd(vc *cmdutils.VerbCmd)

func SetSchemaAutoUpdateStrategyCmd

func SetSchemaAutoUpdateStrategyCmd(vc *cmdutils.VerbCmd)

func SetSchemaValidationEnforcedCmd

func SetSchemaValidationEnforcedCmd(vc *cmdutils.VerbCmd)

func SetSubscribeRateCmd

func SetSubscribeRateCmd(vc *cmdutils.VerbCmd)

func SetSubscriptionAuthModeCmd

func SetSubscriptionAuthModeCmd(vc *cmdutils.VerbCmd)

func SetSubscriptionDispatchRateCmd

func SetSubscriptionDispatchRateCmd(vc *cmdutils.VerbCmd)

func TestNamespaceCommands

func TestNamespaceCommands(newVerb func(cmd *cmdutils.VerbCmd), args []string) (out *bytes.Buffer,
	execErr, nameErr, err error)

func UnsubscribeCmd

func UnsubscribeCmd(vc *cmdutils.VerbCmd)

Types

This section is empty.

Jump to

Keyboard shortcuts

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