client

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 9 Imported by: 9

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