client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2018 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Policies *PolicyHandler
	Roles    *RoleHandler
	Warden   *WardenHandler
}

func NewHandler

func NewHandler() *Handler

type PolicyHandler

type PolicyHandler struct{}

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

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 RoleHandler

type RoleHandler struct {
}

func (*RoleHandler) CreateRole

func (h *RoleHandler) CreateRole(cmd *cobra.Command, args []string)

func (*RoleHandler) DeleteRole

func (h *RoleHandler) DeleteRole(cmd *cobra.Command, args []string)

func (*RoleHandler) FindRoles

func (h *RoleHandler) FindRoles(cmd *cobra.Command, args []string)

func (*RoleHandler) GetRole

func (h *RoleHandler) GetRole(cmd *cobra.Command, args []string)

func (*RoleHandler) ListRoles

func (h *RoleHandler) ListRoles(cmd *cobra.Command, args []string)

func (*RoleHandler) RoleAddMembers

func (h *RoleHandler) RoleAddMembers(cmd *cobra.Command, args []string)

func (*RoleHandler) RoleRemoveMembers

func (h *RoleHandler) RoleRemoveMembers(cmd *cobra.Command, args []string)

type WardenHandler

type WardenHandler struct{}

func (*WardenHandler) IsOAuth2AccessTokenAuthorized

func (h *WardenHandler) IsOAuth2AccessTokenAuthorized(cmd *cobra.Command, args []string)

func (*WardenHandler) IsSubjectAuthorized

func (h *WardenHandler) IsSubjectAuthorized(cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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