token

package
v6.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagRegId           = "registry-id"
	FlagTokenId         = "token-id"
	FlagAllTokens       = "all-tokens"
	FlagName            = "name"
	FlagExpiryDate      = "expiry-date"
	FlagTimeUntilExpiry = "expiry-time"
	FlagStatus          = "status"
)

Variables

View Source
var (
	AllTokenCols = []string{"TokenId", "DisplayName", "ExpiryDate", "CredentialsUsername", "CredentialsPassword", "Status"}
)

Functions

func CmdDeleteToken

func CmdDeleteToken(c *core.CommandConfig) error

func CmdGetToken

func CmdGetToken(c *core.CommandConfig) error

func CmdListToken

func CmdListToken(c *core.CommandConfig) error

func CmdPatchToken

func CmdPatchToken(c *core.CommandConfig) error

func CmdPostToken

func CmdPostToken(c *core.CommandConfig) error

func CmdPutToken

func CmdPutToken(c *core.CommandConfig) error

func ParseExpiryTime

func ParseExpiryTime(expiryTime string) (time.Duration, error)

func PreCmdDeleteToken

func PreCmdDeleteToken(c *core.PreCommandConfig) error

func PreCmdGetToken

func PreCmdGetToken(c *core.PreCommandConfig) error

func PreCmdListToken

func PreCmdListToken(c *core.PreCommandConfig) error

func PreCmdPatchToken

func PreCmdPatchToken(c *core.PreCommandConfig) error

func PreCmdPostToken

func PreCmdPostToken(c *core.PreCommandConfig) error

func PreCmdPutToken

func PreCmdPutToken(c *core.PreCommandConfig) error

func TokenCmd

func TokenCmd() *core.Command

func TokenDeleteCmd

func TokenDeleteCmd() *core.Command

func TokenGetCmd

func TokenGetCmd() *core.Command

func TokenListCmd

func TokenListCmd() *core.Command

func TokenPostCmd

func TokenPostCmd() *core.Command

func TokenReplaceCmd

func TokenReplaceCmd() *core.Command

func TokenUpdateCmd

func TokenUpdateCmd() *core.Command

func TokensIds

func TokensIds(regId string) []string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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