Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + const APIGroupAll + const CustomBuildResource + const DockerBuildResource + const FutureGroupName + const GroupKind + const GroupName + const GroupResource + const JenkinsPipelineBuildResource + const NodeLogResource + const NodeMetricsResource + const NodeSpecResource + const NodeStatsResource + const NonResourceAll + const PolicyName + const ResourceAll + const RestrictedEndpointsResource + const ScopesAllNamespaces + const ScopesKey + const ServiceAccountKind + const ServiceAccountResource + const SourceBuildResource + const SystemGroupKind + const SystemGroupResource + const SystemUserKind + const SystemUserResource + const UserKind + const UserResource + const VerbAll + var AddToScheme = SchemeBuilder.AddToScheme + var ClusterPolicyBindingName = GetPolicyBindingName("") + var DiscoveryRule = PolicyRule + var SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + var SchemeGroupVersion = unversioned.GroupVersion + func BuildSubjects(users, groups []string, ...) []kapi.ObjectReference + func ClusterPolicyBindingToSelectableFields(policyBinding *ClusterPolicyBinding) fields.Set + func ClusterPolicyToSelectableFields(policy *ClusterPolicy) fields.Set + func DeepCopy_api_Action(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ClusterPolicy(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ClusterPolicyBinding(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ClusterPolicyBindingList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ClusterPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ClusterRole(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ClusterRoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ClusterRoleBindingList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ClusterRoleList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_GroupRestriction(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_IsPersonalSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_LocalResourceAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_LocalSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_Policy(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_PolicyBinding(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_PolicyBindingList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_PolicyList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_PolicyRule(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_PolicyRuleBuilder(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ResourceAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ResourceAccessReviewResponse(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_Role(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_RoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_RoleBindingList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_RoleBindingRestriction(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_RoleBindingRestrictionList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_RoleBindingRestrictionSpec(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_RoleList(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_SelfSubjectRulesReview(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_SelfSubjectRulesReviewSpec(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ServiceAccountReference(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_ServiceAccountRestriction(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_SubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_SubjectAccessReviewResponse(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_SubjectRulesReview(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_SubjectRulesReviewSpec(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_SubjectRulesReviewStatus(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_api_UserRestriction(in interface{}, out interface{}, c *conversion.Cloner) error + func GetPolicyBindingName(policyRefNamespace string) string + func Kind(kind string) unversioned.GroupKind + func NormalizeResources(rawResources sets.String) sets.String + func PolicyBindingToSelectableFields(policyBinding *PolicyBinding) fields.Set + func PolicyToSelectableFields(policy *Policy) fields.Set + func RegisterDeepCopies(scheme *runtime.Scheme) error + func Resource(resource string) unversioned.GroupResource + func RoleBindingRestrictionToSelectableFields(rbr *RoleBindingRestriction) fields.Set + func RoleBindingToSelectableFields(roleBinding *RoleBinding) fields.Set + func RoleToSelectableFields(role *Role) fields.Set + func StringSubjectsFor(currentNamespace string, subjects []kapi.ObjectReference) ([]string, []string) + func SubjectsContainAnyGroup(subjects []kapi.ObjectReference, groups []string) bool + func SubjectsContainUser(subjects []kapi.ObjectReference, currentNamespace string, user string) bool + func SubjectsStrings(currentNamespace string, subjects []kapi.ObjectReference) ([]string, []string, []string, []string) + func ToClusterPolicyRef(in kapi.ObjectReference) kapi.ObjectReference + func ToClusterRoleBindingMap(in map[string]*RoleBinding) map[string]*ClusterRoleBinding + func ToClusterRoleMap(in map[string]*Role) map[string]*ClusterRole + func ToClusterRoleRef(in kapi.ObjectReference) kapi.ObjectReference + func ToPolicyRef(in kapi.ObjectReference) kapi.ObjectReference + func ToRoleBindingMap(in map[string]*ClusterRoleBinding) map[string]*RoleBinding + func ToRoleMap(in map[string]*ClusterRole) map[string]*Role + func ToRoleRef(in kapi.ObjectReference) kapi.ObjectReference + type Action struct + Content kruntime.Object + Group string + IsNonResourceURL bool + Namespace string + Path string + Resource string + ResourceName string + Verb string + Version string + type ClusterPolicy struct + LastModified unversioned.Time + Roles ClusterRolesByName + func ToClusterPolicy(in *Policy) *ClusterPolicy + type ClusterPolicyBinding struct + LastModified unversioned.Time + PolicyRef kapi.ObjectReference + RoleBindings ClusterRoleBindingsByName + func ToClusterPolicyBinding(in *PolicyBinding) *ClusterPolicyBinding + type ClusterPolicyBindingList struct + Items []ClusterPolicyBinding + func ToClusterPolicyBindingList(in *PolicyBindingList) *ClusterPolicyBindingList + type ClusterPolicyList struct + Items []ClusterPolicy + func ToClusterPolicyList(in *PolicyList) *ClusterPolicyList + type ClusterRole struct + Rules []PolicyRule + func ToClusterRole(in *Role) *ClusterRole + type ClusterRoleBinding struct + RoleRef kapi.ObjectReference + Subjects []kapi.ObjectReference + func ToClusterRoleBinding(in *RoleBinding) *ClusterRoleBinding + type ClusterRoleBindingList struct + Items []ClusterRoleBinding + func ToClusterRoleBindingList(in *RoleBindingList) *ClusterRoleBindingList + type ClusterRoleBindingsByName map[string]*ClusterRoleBinding + type ClusterRoleList struct + Items []ClusterRole + func ToClusterRoleList(in *RoleList) *ClusterRoleList + type ClusterRolesByName map[string]*ClusterRole + type GroupRestriction struct + Groups []string + Selectors []unversioned.LabelSelector + type IsPersonalSubjectAccessReview struct + type LocalResourceAccessReview struct + type LocalSubjectAccessReview struct + Groups sets.String + Scopes []string + User string + func AddUserToLSAR(user user.Info, lsar *LocalSubjectAccessReview) *LocalSubjectAccessReview + type Policy struct + LastModified unversioned.Time + Roles RolesByName + func ToPolicy(in *ClusterPolicy) *Policy + type PolicyBinding struct + LastModified unversioned.Time + PolicyRef kapi.ObjectReference + RoleBindings RoleBindingsByName + func ToPolicyBinding(in *ClusterPolicyBinding) *PolicyBinding + type PolicyBindingList struct + Items []PolicyBinding + func ToPolicyBindingList(in *ClusterPolicyBindingList) *PolicyBindingList + type PolicyBindingSorter []PolicyBinding + func (s PolicyBindingSorter) Len() int + func (s PolicyBindingSorter) Less(i, j int) bool + func (s PolicyBindingSorter) Swap(i, j int) + type PolicyList struct + Items []Policy + func ToPolicyList(in *ClusterPolicyList) *PolicyList + type PolicyRule struct + APIGroups []string + AttributeRestrictions kruntime.Object + NonResourceURLs sets.String + ResourceNames sets.String + Resources sets.String + Verbs sets.String + func (r PolicyRule) CompactString() string + func (r PolicyRule) String() 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 + type ResourceAccessReview struct + type ResourceAccessReviewResponse struct + EvaluationError string + Groups sets.String + Namespace string + Users sets.String + type Role struct + Rules []PolicyRule + func ToRole(in *ClusterRole) *Role + type RoleBinding struct + RoleRef kapi.ObjectReference + Subjects []kapi.ObjectReference + func SortRoleBindings(roleBindingMap map[string]*RoleBinding, reverse bool) []*RoleBinding + func ToRoleBinding(in *ClusterRoleBinding) *RoleBinding + type RoleBindingList struct + Items []RoleBinding + func ToRoleBindingList(in *ClusterRoleBindingList) *RoleBindingList + type RoleBindingRestriction struct + Spec RoleBindingRestrictionSpec + type RoleBindingRestrictionList struct + Items []RoleBindingRestriction + type RoleBindingRestrictionSpec struct + GroupRestriction *GroupRestriction + ServiceAccountRestriction *ServiceAccountRestriction + UserRestriction *UserRestriction + type RoleBindingSorter []*RoleBinding + func (s RoleBindingSorter) Len() int + func (s RoleBindingSorter) Less(i, j int) bool + func (s RoleBindingSorter) Swap(i, j int) + type RoleBindingsByName map[string]*RoleBinding + type RoleList struct + Items []Role + func ToRoleList(in *ClusterRoleList) *RoleList + type RolesByName map[string]*Role + type SelfSubjectRulesReview struct + Spec SelfSubjectRulesReviewSpec + Status SubjectRulesReviewStatus + type SelfSubjectRulesReviewSpec struct + Scopes []string + type ServiceAccountReference struct + Name string + Namespace string + type ServiceAccountRestriction struct + Namespaces []string + ServiceAccounts []ServiceAccountReference + type SortableRuleSlice []PolicyRule + func (s SortableRuleSlice) Len() int + func (s SortableRuleSlice) Less(i, j int) bool + func (s SortableRuleSlice) Swap(i, j int) + type SubjectAccessReview struct + Groups sets.String + Scopes []string + User string + func AddUserToSAR(user user.Info, sar *SubjectAccessReview) *SubjectAccessReview + type SubjectAccessReviewResponse struct + Allowed bool + EvaluationError string + Namespace string + Reason string + type SubjectRulesReview struct + Spec SubjectRulesReviewSpec + Status SubjectRulesReviewStatus + type SubjectRulesReviewSpec struct + Groups []string + Scopes []string + User string + type SubjectRulesReviewStatus struct + EvaluationError string + Rules []PolicyRule + type UserRestriction struct + Groups []string + Selectors []unversioned.LabelSelector + Users []string v1.5.0-alpha.1 Dec 29, 2016