Documentation ¶
Index ¶
- Constants
- Variables
- func CmdDeleteToken(c *core.CommandConfig) error
- func CmdGetToken(c *core.CommandConfig) error
- func CmdListToken(c *core.CommandConfig) error
- func CmdPatchToken(c *core.CommandConfig) error
- func CmdPostToken(c *core.CommandConfig) error
- func CmdPutToken(c *core.CommandConfig) error
- func ParseExpiryTime(expiryTime string) (time.Duration, error)
- func PreCmdDeleteToken(c *core.PreCommandConfig) error
- func PreCmdGetToken(c *core.PreCommandConfig) error
- func PreCmdListToken(c *core.PreCommandConfig) error
- func PreCmdPatchToken(c *core.PreCommandConfig) error
- func PreCmdPostToken(c *core.PreCommandConfig) error
- func PreCmdPutToken(c *core.PreCommandConfig) error
- func TokenCmd() *core.Command
- func TokenDeleteCmd() *core.Command
- func TokenGetCmd() *core.Command
- func TokenListCmd() *core.Command
- func TokenPostCmd() *core.Command
- func TokenReplaceCmd() *core.Command
- func TokenUpdateCmd() *core.Command
- func TokensIds(regId string) []string
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 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 TokenDeleteCmd ¶
func TokenGetCmd ¶
func TokenListCmd ¶
func TokenPostCmd ¶
func TokenReplaceCmd ¶
func TokenUpdateCmd ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.