Versions in this module Expand all Collapse all v1 v1.5.0 Oct 23, 2016 Changes in this version + const APIGroupAll + const GroupKind + const GroupName + const NonResourceAll + const ResourceAll + const ServiceAccountKind + const UserAll + const UserKind + const VerbAll + var AddToScheme = SchemeBuilder.AddToScheme + var SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + var SchemeGroupVersion = unversioned.GroupVersion + func APIGroupMatches(rule PolicyRule, requestedGroup string) bool + func DeepCopy_rbac_ClusterRole(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_ClusterRoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_ClusterRoleBindingList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_ClusterRoleList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_PolicyRule(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_Role(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_RoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_RoleBindingList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_RoleList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_RoleRef(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_rbac_Subject(in interface{}, out interface{}, c *conversion.Cloner) error + func Kind(kind string) unversioned.GroupKind + func NonResourceURLMatches(rule PolicyRule, requestedURL string) bool + func RegisterDeepCopies(scheme *runtime.Scheme) error + func Resource(resource string) unversioned.GroupResource + func ResourceMatches(rule PolicyRule, requestedResource string) bool + func ResourceNameMatches(rule PolicyRule, requestedName string) bool + func RoleRefGroupKind(roleRef RoleRef) unversioned.GroupKind + func VerbMatches(rule PolicyRule, requestedVerb string) bool + type ClusterRole struct + Rules []PolicyRule + type ClusterRoleBinding struct + RoleRef RoleRef + Subjects []Subject + type ClusterRoleBindingList struct + Items []ClusterRoleBinding + type ClusterRoleList struct + Items []ClusterRole + type PolicyRule struct + APIGroups []string + AttributeRestrictions runtime.Object + NonResourceURLs []string + ResourceNames []string + Resources []string + Verbs []string + type PolicyRuleBuilder struct + PolicyRule PolicyRule + func NewRule(verbs ...string) *PolicyRuleBuilder + func (r *PolicyRuleBuilder) Groups(groups ...string) *PolicyRuleBuilder + func (r *PolicyRuleBuilder) Names(names ...string) *PolicyRuleBuilder + func (r *PolicyRuleBuilder) Resources(resources ...string) *PolicyRuleBuilder + func (r *PolicyRuleBuilder) Rule() (PolicyRule, error) + func (r *PolicyRuleBuilder) RuleOrDie() PolicyRule + func (r *PolicyRuleBuilder) URLs(urls ...string) *PolicyRuleBuilder + type Role struct + Rules []PolicyRule + type RoleBinding struct + RoleRef RoleRef + Subjects []Subject + type RoleBindingList struct + Items []RoleBinding + type RoleList struct + Items []Role + type RoleRef struct + APIGroup string + Kind string + Name string + type Subject struct + APIVersion string + Kind string + Name string + Namespace string