Documentation ¶
Index ¶
- type Handler
- type PolicyHandler
- func (h *PolicyHandler) AddActionToPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) AddResourceToPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) AddSubjectToPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) CreatePolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) DeletePolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) GetPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) ImportPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) RemoveActionFromPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) RemoveResourceFromPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) RemoveSubjectFromPolicy(cmd *cobra.Command, args []string)
- type RoleHandler
- func (h *RoleHandler) CreateRole(cmd *cobra.Command, args []string)
- func (h *RoleHandler) DeleteRole(cmd *cobra.Command, args []string)
- func (h *RoleHandler) FindRoles(cmd *cobra.Command, args []string)
- func (h *RoleHandler) GetRole(cmd *cobra.Command, args []string)
- func (h *RoleHandler) ListRoles(cmd *cobra.Command, args []string)
- func (h *RoleHandler) RoleAddMembers(cmd *cobra.Command, args []string)
- func (h *RoleHandler) RoleRemoveMembers(cmd *cobra.Command, args []string)
- type WardenHandler
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) 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)
Click to show internal directories.
Click to hide internal directories.