Documentation ¶
Index ¶
- Constants
- func FormatSwaggerError(err error) string
- func NewEncryptionKey(cmd *cobra.Command, client *http.Client) (ek encrypta.EncryptionKey, encryptSecret bool, err error)
- func ToSDKFriendlyJSONWebKey(key interface{}, kid, use string) jose.JSONWebKey
- type Handler
- type JanitorHandler
- type MigrateHandler
Constants ¶
View Source
const ( FlagEncryptionPGPKey = "pgp-key" FlagEncryptionPGPKeyURL = "pgp-key-url" FlagEncryptionKeybase = "keybase" )
View Source
const ( Limit = "limit" BatchSize = "batch-size" KeepIfYounger = "keep-if-younger" AccessLifespan = "access-lifespan" RefreshLifespan = "refresh-lifespan" ConsentRequestLifespan = "consent-request-lifespan" OnlyTokens = "tokens" OnlyRequests = "requests" OnlyGrants = "grants" ReadFromEnv = "read-from-env" Config = "config" )
Variables ¶
This section is empty.
Functions ¶
func FormatSwaggerError ¶
func NewEncryptionKey ¶
func NewEncryptionKey(cmd *cobra.Command, client *http.Client) (ek encrypta.EncryptionKey, encryptSecret bool, err error)
NewEncryptionKey for client secret
func ToSDKFriendlyJSONWebKey ¶
func ToSDKFriendlyJSONWebKey(key interface{}, kid, use string) jose.JSONWebKey
Types ¶
type Handler ¶
type Handler struct { Migration *MigrateHandler Janitor *JanitorHandler }
func NewHandler ¶
func NewHandler(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *Handler
type JanitorHandler ¶
type JanitorHandler struct {
// contains filtered or unexported fields
}
func NewJanitorHandler ¶
func NewJanitorHandler(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *JanitorHandler
type MigrateHandler ¶
type MigrateHandler struct {
// contains filtered or unexported fields
}
func (*MigrateHandler) MigrateGen ¶
func (h *MigrateHandler) MigrateGen(cmd *cobra.Command, args []string)
func (*MigrateHandler) MigrateSQL ¶
func (h *MigrateHandler) MigrateSQL(cmd *cobra.Command, args []string) (err error)
func (*MigrateHandler) MigrateStatus ¶ added in v2.2.0
func (h *MigrateHandler) MigrateStatus(cmd *cobra.Command, args []string) error
Click to show internal directories.
Click to hide internal directories.