Documentation ¶
Index ¶
- Constants
- func CmdCancelCreateObject() *cobra.Command
- func CmdCancelMigrateBucket() *cobra.Command
- func CmdCopyObject() *cobra.Command
- func CmdCreateBucket() *cobra.Command
- func CmdCreateGroup() *cobra.Command
- func CmdCreateObject() *cobra.Command
- func CmdDeleteBucket() *cobra.Command
- func CmdDeleteGroup() *cobra.Command
- func CmdDeleteObject() *cobra.Command
- func CmdDeletePolicy() *cobra.Command
- func CmdDiscontinueBucket() *cobra.Command
- func CmdDiscontinueObject() *cobra.Command
- func CmdHeadBucket() *cobra.Command
- func CmdHeadGroup() *cobra.Command
- func CmdHeadGroupMember() *cobra.Command
- func CmdHeadObject() *cobra.Command
- func CmdLeaveGroup() *cobra.Command
- func CmdListBuckets() *cobra.Command
- func CmdListGroups() *cobra.Command
- func CmdListObjects() *cobra.Command
- func CmdMigrateBucket() *cobra.Command
- func CmdMirrorBucket() *cobra.Command
- func CmdMirrorGroup() *cobra.Command
- func CmdMirrorObject() *cobra.Command
- func CmdPutPolicy() *cobra.Command
- func CmdQueryAccountPolicy() *cobra.Command
- func CmdQueryGroupPolicy() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdRenewGroupMember() *cobra.Command
- func CmdSetTag() *cobra.Command
- func CmdUpdateBucketInfo() *cobra.Command
- func CmdUpdateGroupExtra() *cobra.Command
- func CmdUpdateGroupMember() *cobra.Command
- func CmdUpdateObjectInfo() *cobra.Command
- func CmdVerifyPermission() *cobra.Command
- func FlagSetApproval() *flag.FlagSet
- func FlagSetVisibility() *flag.FlagSet
- func GetActionType(str string) (permissiontypes.ActionType, error)
- func GetPaymentAccountField(kr keyring.Keyring, paymentAcc string) (sdk.AccAddress, string, keyring.KeyType, error)
- func GetPrimarySPField(kr keyring.Keyring, primarySP string) (sdk.AccAddress, string, keyring.KeyType, error)
- func GetPrincipal(str string) (permissiontypes.Principal, error)
- func GetPrincipalType(str string) (permissiontypes.PrincipalType, error)
- func GetQueryCmd() *cobra.Command
- func GetTags(str string) *storagetypes.ResourceTags
- func GetTxCmd() *cobra.Command
- func GetVisibilityType(str string) (storagetypes.VisibilityType, error)
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 CmdCancelMigrateBucket ¶ added in v0.2.3
func CmdCopyObject ¶
func CmdCreateBucket ¶
CmdCreateBucket returns a CLI command handler for creating a MsgCreateBucket transaction.
func CmdCreateGroup ¶
func CmdCreateObject ¶
func CmdDeleteBucket ¶
func CmdDeleteGroup ¶
func CmdDeleteObject ¶
func CmdDeletePolicy ¶ added in v0.0.7
func CmdDiscontinueBucket ¶ added in v0.1.2
func CmdDiscontinueObject ¶ added in v0.1.2
func CmdHeadBucket ¶ added in v0.0.6
func CmdHeadGroup ¶ added in v0.0.8
func CmdHeadGroupMember ¶ added in v0.0.8
func CmdHeadObject ¶ added in v0.0.6
func CmdLeaveGroup ¶
func CmdListBuckets ¶ added in v0.0.6
func CmdListGroups ¶ added in v0.2.4
func CmdListObjects ¶ added in v0.0.6
func CmdMigrateBucket ¶ added in v1.1.0
func CmdMirrorBucket ¶ added in v0.0.9
func CmdMirrorGroup ¶ added in v0.0.9
func CmdMirrorObject ¶ added in v0.0.9
func CmdPutPolicy ¶ added in v0.0.7
func CmdQueryAccountPolicy ¶ added in v1.1.0
func CmdQueryGroupPolicy ¶ added in v1.1.0
func CmdQueryParams ¶
func CmdRenewGroupMember ¶ added in v0.2.4
func CmdUpdateBucketInfo ¶ added in v0.0.6
func CmdUpdateGroupExtra ¶ added in v0.2.2
func CmdUpdateGroupMember ¶
func CmdUpdateObjectInfo ¶ added in v0.1.2
func CmdVerifyPermission ¶ added in v0.0.7
func FlagSetApproval ¶ added in v0.1.2
func FlagSetVisibility ¶ added in v0.0.10
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 ¶
GetQueryCmd returns the cli query commands for this module
func GetTags ¶ added in v1.2.0
func GetTags(str string) *storagetypes.ResourceTags
func GetVisibilityType ¶ added in v0.0.10
func GetVisibilityType(str string) (storagetypes.VisibilityType, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.