cli

package
v1.9.0-pre.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 34 Imported by: 34

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Remote

func Remote(cmd *cobra.Command) string

func RemoteURI

func RemoteURI(cmd *cobra.Command) *url.URL

Types

type ClientHandler

type ClientHandler struct{}

func (*ClientHandler) CreateClient

func (h *ClientHandler) CreateClient(cmd *cobra.Command, args []string)

func (*ClientHandler) DeleteClient

func (h *ClientHandler) DeleteClient(cmd *cobra.Command, args []string)

func (*ClientHandler) GetClient

func (h *ClientHandler) GetClient(cmd *cobra.Command, args []string)

func (*ClientHandler) ImportClients

func (h *ClientHandler) ImportClients(cmd *cobra.Command, args []string)

func (*ClientHandler) ListClients

func (h *ClientHandler) ListClients(cmd *cobra.Command, args []string)

func (*ClientHandler) UpdateClient added in v1.8.0

func (h *ClientHandler) UpdateClient(cmd *cobra.Command, args []string)

type Handler

type Handler struct {
	Clients       *ClientHandler
	Keys          *JWKHandler
	Introspection *IntrospectionHandler
	Token         *TokenHandler
	Migration     *MigrateHandler
}

func NewHandler

func NewHandler() *Handler

type IntrospectionHandler

type IntrospectionHandler struct{}

func (*IntrospectionHandler) Introspect

func (h *IntrospectionHandler) Introspect(cmd *cobra.Command, args []string)

type JWKHandler

type JWKHandler struct{}

func (*JWKHandler) CreateKeys

func (h *JWKHandler) CreateKeys(cmd *cobra.Command, args []string)

func (*JWKHandler) DeleteKeys

func (h *JWKHandler) DeleteKeys(cmd *cobra.Command, args []string)

func (*JWKHandler) GetKeys

func (h *JWKHandler) GetKeys(cmd *cobra.Command, args []string)

func (*JWKHandler) ImportKeys

func (h *JWKHandler) ImportKeys(cmd *cobra.Command, args []string)

type MigrateHandler

type MigrateHandler struct{}

func (*MigrateHandler) MigrateSQL

func (h *MigrateHandler) MigrateSQL(cmd *cobra.Command, args []string)

type TokenHandler

type TokenHandler struct{}

func (*TokenHandler) DeleteToken added in v1.8.0

func (h *TokenHandler) DeleteToken(cmd *cobra.Command, args []string)

func (*TokenHandler) FlushTokens

func (h *TokenHandler) FlushTokens(cmd *cobra.Command, args []string)

func (*TokenHandler) RevokeToken

func (h *TokenHandler) RevokeToken(cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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