cli

package
v0.2.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: AGPL-3.0 Imports: 19 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"
	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 CmdCancelCreateObject() *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 CmdListGroup added in v0.0.8

func CmdListGroup() *cobra.Command

func CmdListObjects added in v0.0.6

func CmdListObjects() *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 CmdQueryParams

func CmdQueryParams() *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(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

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