cli

package
v0.11.14 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientHandler

type ClientHandler struct {
	Config *config.Config
}

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 added in v0.9.9

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

func (*ClientHandler) ImportClients

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

type GroupHandler added in v0.7.0

type GroupHandler struct {
	Config *config.Config
}

func (*GroupHandler) AddMembers added in v0.7.0

func (h *GroupHandler) AddMembers(cmd *cobra.Command, args []string)

func (*GroupHandler) CreateGroup added in v0.7.0

func (h *GroupHandler) CreateGroup(cmd *cobra.Command, args []string)

func (*GroupHandler) DeleteGroup added in v0.7.0

func (h *GroupHandler) DeleteGroup(cmd *cobra.Command, args []string)

func (*GroupHandler) FindGroups added in v0.7.0

func (h *GroupHandler) FindGroups(cmd *cobra.Command, args []string)

func (*GroupHandler) ListGroups added in v0.11.0

func (h *GroupHandler) ListGroups(cmd *cobra.Command, args []string)

func (*GroupHandler) RemoveMembers added in v0.7.0

func (h *GroupHandler) RemoveMembers(cmd *cobra.Command, args []string)

type Handler

type Handler struct {
	Clients   *ClientHandler
	Policies  *PolicyHandler
	Keys      *JWKHandler
	Warden    *IntrospectionHandler
	Token     *TokenHandler
	Groups    *GroupHandler
	Migration *MigrateHandler
}

func NewHandler

func NewHandler(c *config.Config) *Handler

type IntrospectionHandler added in v0.9.14

type IntrospectionHandler struct {
	Config *config.Config
}

func (*IntrospectionHandler) IsAuthorized added in v0.9.14

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

type JWKHandler

type JWKHandler struct {
	Config *config.Config
}

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)

type MigrateHandler added in v0.8.0

type MigrateHandler struct {
	// contains filtered or unexported fields
}

func (*MigrateHandler) MigrateLadon050To060 added in v0.8.0

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

func (*MigrateHandler) MigrateSQL added in v0.8.0

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

type PolicyHandler

type PolicyHandler struct {
	Config *config.Config
}

func (*PolicyHandler) AddActionToPolicy

func (h *PolicyHandler) AddActionToPolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) AddResourceToPolicy

func (h *PolicyHandler) AddResourceToPolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) AddSubjectToPolicy

func (h *PolicyHandler) AddSubjectToPolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) CreatePolicy

func (h *PolicyHandler) CreatePolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) DeletePolicy

func (h *PolicyHandler) DeletePolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) GetPolicy

func (h *PolicyHandler) GetPolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) ImportPolicy added in v0.10.10

func (h *PolicyHandler) ImportPolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) RemoveActionFromPolicy

func (h *PolicyHandler) RemoveActionFromPolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) RemoveResourceFromPolicy

func (h *PolicyHandler) RemoveResourceFromPolicy(cmd *cobra.Command, args []string)

func (*PolicyHandler) RemoveSubjectFromPolicy

func (h *PolicyHandler) RemoveSubjectFromPolicy(cmd *cobra.Command, args []string)

type TokenHandler added in v0.11.10

type TokenHandler struct {
	Config *config.Config
}

func (*TokenHandler) FlushTokens added in v0.11.10

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

func (*TokenHandler) RevokeToken added in v0.11.10

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