Documentation ¶
Index ¶
- Constants
- func CmdCancelCreateObject() *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 CmdListGroup() *cobra.Command
- func CmdListObjects() *cobra.Command
- func CmdMirrorBucket() *cobra.Command
- func CmdMirrorGroup() *cobra.Command
- func CmdMirrorObject() *cobra.Command
- func CmdPutPolicy() *cobra.Command
- func CmdQueryParams() *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(queryRoute string) *cobra.Command
- 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" FlagObjectId = "object-id" FlagObjectName = "object-name" FlagGroupId = "group-id" FlagGroupName = "group-name" FlagMemberList = "members" FlagExtra = "extra" )
Variables ¶
This section is empty.
Functions ¶
func CmdCancelCreateObject ¶ added in v0.0.6
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 CmdListGroup ¶ added in v0.0.8
func CmdListObjects ¶ added in v0.0.6
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 CmdQueryParams ¶
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 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.