cli

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagVisibility           = "visibility"
	FlagPaymentAccount       = "payment-account"
	FlagPrimarySP            = "primary-sp"
	FlagExpectChecksums      = "expect-checksums"
	FlagRedundancyType       = "redundancy-type"
	FlagApproveSignature     = "approve-signature"
	FlagApproveTimeoutHeight = "approve-timeout-height"
	FlagChargedReadQuota     = "charged-read-quota"
	FlagBucketId             = "bucket-id"
	FlagBucketName           = "bucket-name"
	FlagDestChainId          = "dest-chain-id"
	FlagObjectId             = "object-id"
	FlagObjectName           = "object-name"
	FlagGroupId              = "group-id"
	FlagGroupName            = "group-name"
	FlagExtra                = "extra"
	FlagTags                 = "tags"
)

Variables

This section is empty.

Functions

func CmdCancelCreateObject added in v0.0.6

func CmdCancelCreateObject() *cobra.Command

func CmdCancelMigrateBucket added in v0.2.3

func CmdCancelMigrateBucket() *cobra.Command

func CmdCopyObject

func CmdCopyObject() *cobra.Command

func CmdCreateBucket

func CmdCreateBucket() *cobra.Command

CmdCreateBucket returns a CLI command handler for creating a MsgCreateBucket transaction.

func CmdCreateGroup

func CmdCreateGroup() *cobra.Command

func CmdCreateObject

func CmdCreateObject() *cobra.Command

func CmdDeleteBucket

func CmdDeleteBucket() *cobra.Command

func CmdDeleteGroup

func CmdDeleteGroup() *cobra.Command

func CmdDeleteObject

func CmdDeleteObject() *cobra.Command

func CmdDeletePolicy added in v0.0.7

func CmdDeletePolicy() *cobra.Command

func CmdDiscontinueBucket added in v0.1.2

func CmdDiscontinueBucket() *cobra.Command

func CmdDiscontinueObject added in v0.1.2

func CmdDiscontinueObject() *cobra.Command

func CmdHeadBucket added in v0.0.6

func CmdHeadBucket() *cobra.Command

func CmdHeadGroup added in v0.0.8

func CmdHeadGroup() *cobra.Command

func CmdHeadGroupMember added in v0.0.8

func CmdHeadGroupMember() *cobra.Command

func CmdHeadObject added in v0.0.6

func CmdHeadObject() *cobra.Command

func CmdLeaveGroup

func CmdLeaveGroup() *cobra.Command

func CmdListBuckets added in v0.0.6

func CmdListBuckets() *cobra.Command

func CmdListGroups added in v0.2.4

func CmdListGroups() *cobra.Command

func CmdListObjects added in v0.0.6

func CmdListObjects() *cobra.Command

func CmdMigrateBucket added in v1.1.0

func CmdMigrateBucket() *cobra.Command

func CmdMirrorBucket added in v0.0.9

func CmdMirrorBucket() *cobra.Command

func CmdMirrorGroup added in v0.0.9

func CmdMirrorGroup() *cobra.Command

func CmdMirrorObject added in v0.0.9

func CmdMirrorObject() *cobra.Command

func CmdPutPolicy added in v0.0.7

func CmdPutPolicy() *cobra.Command

func CmdQueryAccountPolicy added in v1.1.0

func CmdQueryAccountPolicy() *cobra.Command

func CmdQueryGroupPolicy added in v1.1.0

func CmdQueryGroupPolicy() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdRenewGroupMember added in v0.2.4

func CmdRenewGroupMember() *cobra.Command

func CmdSetTag added in v1.2.0

func CmdSetTag() *cobra.Command

func CmdUpdateBucketInfo added in v0.0.6

func CmdUpdateBucketInfo() *cobra.Command

func CmdUpdateGroupExtra added in v0.2.2

func CmdUpdateGroupExtra() *cobra.Command

func CmdUpdateGroupMember

func CmdUpdateGroupMember() *cobra.Command

func CmdUpdateObjectInfo added in v0.1.2

func CmdUpdateObjectInfo() *cobra.Command

func CmdVerifyPermission added in v0.0.7

func CmdVerifyPermission() *cobra.Command

func FlagSetApproval added in v0.1.2

func FlagSetApproval() *flag.FlagSet

func FlagSetVisibility added in v0.0.10

func FlagSetVisibility() *flag.FlagSet

FlagSetVisibility Returns the flagSet for set visibility related operations.

func GetActionType added in v0.1.2

func GetActionType(str string) (permissiontypes.ActionType, error)

func GetPaymentAccountField added in v0.0.6

func GetPaymentAccountField(kr keyring.Keyring, paymentAcc string) (sdk.AccAddress, string, keyring.KeyType, error)

GetPaymentAccountField returns a from account address, account name and keyring type, given either an address or key name.

func GetPrimarySPField added in v0.0.6

func GetPrimarySPField(kr keyring.Keyring, primarySP string) (sdk.AccAddress, string, keyring.KeyType, error)

GetPrimarySPField returns a from account address, account name and keyring type, given either an address or key name.

func GetPrincipal added in v0.1.2

func GetPrincipal(str string) (permissiontypes.Principal, error)

func GetPrincipalType added in v0.1.2

func GetPrincipalType(str string) (permissiontypes.PrincipalType, error)

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTags added in v1.2.0

func GetTags(str string) *storagetypes.ResourceTags

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func GetVisibilityType added in v0.0.10

func GetVisibilityType(str string) (storagetypes.VisibilityType, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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