Documentation ¶
Index ¶
- type ClusterPolicyAdapter
- type ClusterPolicyBindingAdapter
- type ClusterRoleAdapter
- type ClusterRoleBindingAdapter
- type Policy
- type PolicyAdapter
- type PolicyBinding
- func NewClusterPolicyBindingAdapter(policyBinding *authorizationapi.ClusterPolicyBinding) PolicyBinding
- func NewClusterPolicyBindingAdapters(list *authorizationapi.ClusterPolicyBindingList) []PolicyBinding
- func NewLocalPolicyBindingAdapter(policyBinding *authorizationapi.PolicyBinding) PolicyBinding
- func NewLocalPolicyBindingAdapters(list *authorizationapi.PolicyBindingList) []PolicyBinding
- type PolicyBindingAdapter
- type Role
- type RoleAdapter
- type RoleBinding
- type RoleBindingAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterPolicyAdapter ¶
type ClusterPolicyAdapter struct {
// contains filtered or unexported fields
}
func (ClusterPolicyAdapter) Name ¶
func (a ClusterPolicyAdapter) Name() string
func (ClusterPolicyAdapter) Namespace ¶
func (a ClusterPolicyAdapter) Namespace() string
func (ClusterPolicyAdapter) Roles ¶
func (a ClusterPolicyAdapter) Roles() map[string]Role
type ClusterPolicyBindingAdapter ¶
type ClusterPolicyBindingAdapter struct {
// contains filtered or unexported fields
}
func (ClusterPolicyBindingAdapter) Name ¶
func (a ClusterPolicyBindingAdapter) Name() string
func (ClusterPolicyBindingAdapter) Namespace ¶
func (a ClusterPolicyBindingAdapter) Namespace() string
func (ClusterPolicyBindingAdapter) PolicyRef ¶
func (a ClusterPolicyBindingAdapter) PolicyRef() kapi.ObjectReference
func (ClusterPolicyBindingAdapter) RoleBindings ¶
func (a ClusterPolicyBindingAdapter) RoleBindings() map[string]RoleBinding
type ClusterRoleAdapter ¶
type ClusterRoleAdapter struct {
// contains filtered or unexported fields
}
func (ClusterRoleAdapter) Name ¶
func (a ClusterRoleAdapter) Name() string
func (ClusterRoleAdapter) Namespace ¶
func (a ClusterRoleAdapter) Namespace() string
func (ClusterRoleAdapter) Rules ¶
func (a ClusterRoleAdapter) Rules() []authorizationapi.PolicyRule
type ClusterRoleBindingAdapter ¶
type ClusterRoleBindingAdapter struct {
// contains filtered or unexported fields
}
func (ClusterRoleBindingAdapter) Groups ¶
func (a ClusterRoleBindingAdapter) Groups() sets.String
func (ClusterRoleBindingAdapter) Name ¶
func (a ClusterRoleBindingAdapter) Name() string
func (ClusterRoleBindingAdapter) Namespace ¶
func (a ClusterRoleBindingAdapter) Namespace() string
func (ClusterRoleBindingAdapter) RoleRef ¶
func (a ClusterRoleBindingAdapter) RoleRef() kapi.ObjectReference
func (ClusterRoleBindingAdapter) Users ¶
func (a ClusterRoleBindingAdapter) Users() sets.String
type Policy ¶
func NewClusterPolicyAdapter ¶
func NewClusterPolicyAdapter(policy *authorizationapi.ClusterPolicy) Policy
func NewLocalPolicyAdapter ¶
func NewLocalPolicyAdapter(policy *authorizationapi.Policy) Policy
type PolicyAdapter ¶
type PolicyAdapter struct {
// contains filtered or unexported fields
}
func (PolicyAdapter) Name ¶
func (a PolicyAdapter) Name() string
func (PolicyAdapter) Namespace ¶
func (a PolicyAdapter) Namespace() string
func (PolicyAdapter) Roles ¶
func (a PolicyAdapter) Roles() map[string]Role
type PolicyBinding ¶
type PolicyBinding interface { Name() string Namespace() string PolicyRef() kapi.ObjectReference RoleBindings() map[string]RoleBinding }
func NewClusterPolicyBindingAdapter ¶
func NewClusterPolicyBindingAdapter(policyBinding *authorizationapi.ClusterPolicyBinding) PolicyBinding
func NewClusterPolicyBindingAdapters ¶
func NewClusterPolicyBindingAdapters(list *authorizationapi.ClusterPolicyBindingList) []PolicyBinding
func NewLocalPolicyBindingAdapter ¶
func NewLocalPolicyBindingAdapter(policyBinding *authorizationapi.PolicyBinding) PolicyBinding
func NewLocalPolicyBindingAdapters ¶
func NewLocalPolicyBindingAdapters(list *authorizationapi.PolicyBindingList) []PolicyBinding
type PolicyBindingAdapter ¶
type PolicyBindingAdapter struct {
// contains filtered or unexported fields
}
func (PolicyBindingAdapter) Name ¶
func (a PolicyBindingAdapter) Name() string
func (PolicyBindingAdapter) Namespace ¶
func (a PolicyBindingAdapter) Namespace() string
func (PolicyBindingAdapter) PolicyRef ¶
func (a PolicyBindingAdapter) PolicyRef() kapi.ObjectReference
func (PolicyBindingAdapter) RoleBindings ¶
func (a PolicyBindingAdapter) RoleBindings() map[string]RoleBinding
type Role ¶
type Role interface { Name() string Namespace() string Rules() []authorizationapi.PolicyRule }
func NewClusterRoleAdapter ¶
func NewClusterRoleAdapter(role *authorizationapi.ClusterRole) Role
func NewLocalRoleAdapter ¶
func NewLocalRoleAdapter(role *authorizationapi.Role) Role
type RoleAdapter ¶
type RoleAdapter struct {
// contains filtered or unexported fields
}
func (RoleAdapter) Name ¶
func (a RoleAdapter) Name() string
func (RoleAdapter) Namespace ¶
func (a RoleAdapter) Namespace() string
func (RoleAdapter) Rules ¶
func (a RoleAdapter) Rules() []authorizationapi.PolicyRule
type RoleBinding ¶
type RoleBinding interface { Name() string Namespace() string RoleRef() kapi.ObjectReference Users() sets.String Groups() sets.String }
func NewClusterRoleBindingAdapter ¶
func NewClusterRoleBindingAdapter(roleBinding *authorizationapi.ClusterRoleBinding) RoleBinding
func NewLocalRoleBindingAdapter ¶
func NewLocalRoleBindingAdapter(roleBinding *authorizationapi.RoleBinding) RoleBinding
type RoleBindingAdapter ¶
type RoleBindingAdapter struct {
// contains filtered or unexported fields
}
func (RoleBindingAdapter) Groups ¶
func (a RoleBindingAdapter) Groups() sets.String
func (RoleBindingAdapter) Name ¶
func (a RoleBindingAdapter) Name() string
func (RoleBindingAdapter) Namespace ¶
func (a RoleBindingAdapter) Namespace() string
func (RoleBindingAdapter) RoleRef ¶
func (a RoleBindingAdapter) RoleRef() kapi.ObjectReference
func (RoleBindingAdapter) Users ¶
func (a RoleBindingAdapter) Users() sets.String
Click to show internal directories.
Click to hide internal directories.