cmd

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OstorClient string = "xxclient"
)

Variables

This section is empty.

Functions

func CreateKey

func CreateKey(cCtx *cli.Context) error

func CreateUser added in v0.2.0

func CreateUser(cCtx *cli.Context) error

func DeleteUser added in v0.7.0

func DeleteUser(cCtx *cli.Context) error

func ListBuckets

func ListBuckets(cCtx *cli.Context) error

func LockUser added in v0.4.1

func LockUser(cCtx *cli.Context) error

func RevokeKey

func RevokeKey(cCtx *cli.Context) error

func RotateKey added in v0.6.0

func RotateKey(cCtx *cli.Context) error

func ShowStats added in v0.2.0

func ShowStats(cCtx *cli.Context) error

show stats is really expensive, it will (attempt to) crawl the entire `?ostor-usage` endpoint and look up individual entries when returned, so for n pages returned from `?ostor-usage`, it will make n * number of items returned requests to `?ostor-usage&obj=FOO`

func ShowUser

func ShowUser(cCtx *cli.Context) error

func UnlockUser added in v0.4.1

func UnlockUser(cCtx *cli.Context) error

func UserLimits added in v0.5.0

func UserLimits(cCtx *cli.Context) error

func Users

func Users(cCtx *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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