v1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/origin/pkg/authorization/api/v1/generated.proto

It has these top-level messages:
	Action
	ClusterPolicy
	ClusterPolicyBinding
	ClusterPolicyBindingList
	ClusterPolicyList
	ClusterRole
	ClusterRoleBinding
	ClusterRoleBindingList
	ClusterRoleList
	GroupRestriction
	IsPersonalSubjectAccessReview
	LocalResourceAccessReview
	LocalSubjectAccessReview
	NamedClusterRole
	NamedClusterRoleBinding
	NamedRole
	NamedRoleBinding
	OptionalNames
	OptionalScopes
	Policy
	PolicyBinding
	PolicyBindingList
	PolicyList
	PolicyRule
	ResourceAccessReview
	ResourceAccessReviewResponse
	Role
	RoleBinding
	RoleBindingList
	RoleBindingRestriction
	RoleBindingRestrictionList
	RoleBindingRestrictionSpec
	RoleList
	SelfSubjectRulesReview
	SelfSubjectRulesReviewSpec
	ServiceAccountReference
	ServiceAccountRestriction
	SubjectAccessReview
	SubjectAccessReviewResponse
	SubjectRulesReview
	SubjectRulesReviewSpec
	SubjectRulesReviewStatus
	UserRestriction

Index

Constants

View Source
const GroupName = ""

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs, addDefaultingFuncs)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_api_Action_To_v1_Action added in v1.3.0

func Convert_api_Action_To_v1_Action(in *api.Action, out *Action, s conversion.Scope) error

func Convert_api_ClusterPolicyBindingList_To_v1_ClusterPolicyBindingList added in v1.3.0

func Convert_api_ClusterPolicyBindingList_To_v1_ClusterPolicyBindingList(in *api.ClusterPolicyBindingList, out *ClusterPolicyBindingList, s conversion.Scope) error

func Convert_api_ClusterPolicyBinding_To_v1_ClusterPolicyBinding added in v1.3.0

func Convert_api_ClusterPolicyBinding_To_v1_ClusterPolicyBinding(in *api.ClusterPolicyBinding, out *ClusterPolicyBinding, s conversion.Scope) error

func Convert_api_ClusterPolicyList_To_v1_ClusterPolicyList added in v1.3.0

func Convert_api_ClusterPolicyList_To_v1_ClusterPolicyList(in *api.ClusterPolicyList, out *ClusterPolicyList, s conversion.Scope) error

func Convert_api_ClusterPolicy_To_v1_ClusterPolicy added in v1.3.0

func Convert_api_ClusterPolicy_To_v1_ClusterPolicy(in *api.ClusterPolicy, out *ClusterPolicy, s conversion.Scope) error

func Convert_api_ClusterRoleBindingList_To_v1_ClusterRoleBindingList added in v1.3.0

func Convert_api_ClusterRoleBindingList_To_v1_ClusterRoleBindingList(in *api.ClusterRoleBindingList, out *ClusterRoleBindingList, s conversion.Scope) error

func Convert_api_ClusterRoleBinding_To_v1_ClusterRoleBinding added in v1.3.0

func Convert_api_ClusterRoleBinding_To_v1_ClusterRoleBinding(in *newer.ClusterRoleBinding, out *ClusterRoleBinding, s conversion.Scope) error

func Convert_api_ClusterRoleBindingsByName_To_v1_NamedClusterRoleBindings added in v1.3.0

func Convert_api_ClusterRoleBindingsByName_To_v1_NamedClusterRoleBindings(in *newer.ClusterRoleBindingsByName, out *NamedClusterRoleBindings, s conversion.Scope) error

func Convert_api_ClusterRoleList_To_v1_ClusterRoleList added in v1.3.0

func Convert_api_ClusterRoleList_To_v1_ClusterRoleList(in *api.ClusterRoleList, out *ClusterRoleList, s conversion.Scope) error

func Convert_api_ClusterRole_To_v1_ClusterRole added in v1.3.0

func Convert_api_ClusterRole_To_v1_ClusterRole(in *api.ClusterRole, out *ClusterRole, s conversion.Scope) error

func Convert_api_ClusterRolesByName_To_v1_NamedClusterRoles added in v1.3.0

func Convert_api_ClusterRolesByName_To_v1_NamedClusterRoles(in *newer.ClusterRolesByName, out *NamedClusterRoles, s conversion.Scope) error

func Convert_api_GroupRestriction_To_v1_GroupRestriction added in v1.4.0

func Convert_api_GroupRestriction_To_v1_GroupRestriction(in *api.GroupRestriction, out *GroupRestriction, s conversion.Scope) error

func Convert_api_IsPersonalSubjectAccessReview_To_v1_IsPersonalSubjectAccessReview added in v1.3.0

func Convert_api_IsPersonalSubjectAccessReview_To_v1_IsPersonalSubjectAccessReview(in *api.IsPersonalSubjectAccessReview, out *IsPersonalSubjectAccessReview, s conversion.Scope) error

func Convert_api_LocalResourceAccessReview_To_v1_LocalResourceAccessReview added in v1.3.0

func Convert_api_LocalResourceAccessReview_To_v1_LocalResourceAccessReview(in *api.LocalResourceAccessReview, out *LocalResourceAccessReview, s conversion.Scope) error

func Convert_api_LocalSubjectAccessReview_To_v1_LocalSubjectAccessReview added in v1.3.0

func Convert_api_LocalSubjectAccessReview_To_v1_LocalSubjectAccessReview(in *newer.LocalSubjectAccessReview, out *LocalSubjectAccessReview, s conversion.Scope) error

func Convert_api_PolicyBindingList_To_v1_PolicyBindingList added in v1.3.0

func Convert_api_PolicyBindingList_To_v1_PolicyBindingList(in *api.PolicyBindingList, out *PolicyBindingList, s conversion.Scope) error

func Convert_api_PolicyBinding_To_v1_PolicyBinding added in v1.3.0

func Convert_api_PolicyBinding_To_v1_PolicyBinding(in *api.PolicyBinding, out *PolicyBinding, s conversion.Scope) error

func Convert_api_PolicyList_To_v1_PolicyList added in v1.3.0

func Convert_api_PolicyList_To_v1_PolicyList(in *api.PolicyList, out *PolicyList, s conversion.Scope) error

func Convert_api_PolicyRule_To_v1_PolicyRule added in v1.3.0

func Convert_api_PolicyRule_To_v1_PolicyRule(in *newer.PolicyRule, out *PolicyRule, s conversion.Scope) error

func Convert_api_Policy_To_v1_Policy added in v1.3.0

func Convert_api_Policy_To_v1_Policy(in *api.Policy, out *Policy, s conversion.Scope) error

func Convert_api_ResourceAccessReviewResponse_To_v1_ResourceAccessReviewResponse added in v1.3.0

func Convert_api_ResourceAccessReviewResponse_To_v1_ResourceAccessReviewResponse(in *newer.ResourceAccessReviewResponse, out *ResourceAccessReviewResponse, s conversion.Scope) error

func Convert_api_ResourceAccessReview_To_v1_ResourceAccessReview added in v1.3.0

func Convert_api_ResourceAccessReview_To_v1_ResourceAccessReview(in *api.ResourceAccessReview, out *ResourceAccessReview, s conversion.Scope) error

func Convert_api_RoleBindingList_To_v1_RoleBindingList added in v1.3.0

func Convert_api_RoleBindingList_To_v1_RoleBindingList(in *api.RoleBindingList, out *RoleBindingList, s conversion.Scope) error

func Convert_api_RoleBindingRestrictionList_To_v1_RoleBindingRestrictionList added in v1.4.0

func Convert_api_RoleBindingRestrictionList_To_v1_RoleBindingRestrictionList(in *api.RoleBindingRestrictionList, out *RoleBindingRestrictionList, s conversion.Scope) error

func Convert_api_RoleBindingRestrictionSpec_To_v1_RoleBindingRestrictionSpec added in v1.4.0

func Convert_api_RoleBindingRestrictionSpec_To_v1_RoleBindingRestrictionSpec(in *api.RoleBindingRestrictionSpec, out *RoleBindingRestrictionSpec, s conversion.Scope) error

func Convert_api_RoleBindingRestriction_To_v1_RoleBindingRestriction added in v1.4.0

func Convert_api_RoleBindingRestriction_To_v1_RoleBindingRestriction(in *api.RoleBindingRestriction, out *RoleBindingRestriction, s conversion.Scope) error

func Convert_api_RoleBinding_To_v1_RoleBinding added in v1.3.0

func Convert_api_RoleBinding_To_v1_RoleBinding(in *newer.RoleBinding, out *RoleBinding, s conversion.Scope) error

func Convert_api_RoleBindingsByName_To_v1_NamedRoleBindings added in v1.3.0

func Convert_api_RoleBindingsByName_To_v1_NamedRoleBindings(in *newer.RoleBindingsByName, out *NamedRoleBindings, s conversion.Scope) error

func Convert_api_RoleList_To_v1_RoleList added in v1.3.0

func Convert_api_RoleList_To_v1_RoleList(in *api.RoleList, out *RoleList, s conversion.Scope) error

func Convert_api_Role_To_v1_Role added in v1.3.0

func Convert_api_Role_To_v1_Role(in *api.Role, out *Role, s conversion.Scope) error

func Convert_api_RolesByName_To_v1_NamedRoles added in v1.3.0

func Convert_api_RolesByName_To_v1_NamedRoles(in *newer.RolesByName, out *NamedRoles, s conversion.Scope) error

func Convert_api_SelfSubjectRulesReviewSpec_To_v1_SelfSubjectRulesReviewSpec added in v1.3.0

func Convert_api_SelfSubjectRulesReviewSpec_To_v1_SelfSubjectRulesReviewSpec(in *api.SelfSubjectRulesReviewSpec, out *SelfSubjectRulesReviewSpec, s conversion.Scope) error

func Convert_api_SelfSubjectRulesReview_To_v1_SelfSubjectRulesReview added in v1.3.0

func Convert_api_SelfSubjectRulesReview_To_v1_SelfSubjectRulesReview(in *api.SelfSubjectRulesReview, out *SelfSubjectRulesReview, s conversion.Scope) error

func Convert_api_ServiceAccountReference_To_v1_ServiceAccountReference added in v1.4.0

func Convert_api_ServiceAccountReference_To_v1_ServiceAccountReference(in *api.ServiceAccountReference, out *ServiceAccountReference, s conversion.Scope) error

func Convert_api_ServiceAccountRestriction_To_v1_ServiceAccountRestriction added in v1.4.0

func Convert_api_ServiceAccountRestriction_To_v1_ServiceAccountRestriction(in *api.ServiceAccountRestriction, out *ServiceAccountRestriction, s conversion.Scope) error

func Convert_api_SubjectAccessReviewResponse_To_v1_SubjectAccessReviewResponse added in v1.3.0

func Convert_api_SubjectAccessReviewResponse_To_v1_SubjectAccessReviewResponse(in *api.SubjectAccessReviewResponse, out *SubjectAccessReviewResponse, s conversion.Scope) error

func Convert_api_SubjectAccessReview_To_v1_SubjectAccessReview added in v1.3.0

func Convert_api_SubjectAccessReview_To_v1_SubjectAccessReview(in *newer.SubjectAccessReview, out *SubjectAccessReview, s conversion.Scope) error

func Convert_api_SubjectRulesReviewSpec_To_v1_SubjectRulesReviewSpec added in v1.4.0

func Convert_api_SubjectRulesReviewSpec_To_v1_SubjectRulesReviewSpec(in *api.SubjectRulesReviewSpec, out *SubjectRulesReviewSpec, s conversion.Scope) error

func Convert_api_SubjectRulesReviewStatus_To_v1_SubjectRulesReviewStatus added in v1.3.0

func Convert_api_SubjectRulesReviewStatus_To_v1_SubjectRulesReviewStatus(in *api.SubjectRulesReviewStatus, out *SubjectRulesReviewStatus, s conversion.Scope) error

func Convert_api_SubjectRulesReview_To_v1_SubjectRulesReview added in v1.4.0

func Convert_api_SubjectRulesReview_To_v1_SubjectRulesReview(in *api.SubjectRulesReview, out *SubjectRulesReview, s conversion.Scope) error

func Convert_api_UserRestriction_To_v1_UserRestriction added in v1.4.0

func Convert_api_UserRestriction_To_v1_UserRestriction(in *api.UserRestriction, out *UserRestriction, s conversion.Scope) error

func Convert_v1_Action_To_api_Action added in v1.3.0

func Convert_v1_Action_To_api_Action(in *Action, out *api.Action, s conversion.Scope) error

func Convert_v1_ClusterPolicyBindingList_To_api_ClusterPolicyBindingList added in v1.3.0

func Convert_v1_ClusterPolicyBindingList_To_api_ClusterPolicyBindingList(in *ClusterPolicyBindingList, out *api.ClusterPolicyBindingList, s conversion.Scope) error

func Convert_v1_ClusterPolicyBinding_To_api_ClusterPolicyBinding added in v1.3.0

func Convert_v1_ClusterPolicyBinding_To_api_ClusterPolicyBinding(in *ClusterPolicyBinding, out *newer.ClusterPolicyBinding, s conversion.Scope) error

func Convert_v1_ClusterPolicyList_To_api_ClusterPolicyList added in v1.3.0

func Convert_v1_ClusterPolicyList_To_api_ClusterPolicyList(in *ClusterPolicyList, out *api.ClusterPolicyList, s conversion.Scope) error

func Convert_v1_ClusterPolicy_To_api_ClusterPolicy added in v1.3.0

func Convert_v1_ClusterPolicy_To_api_ClusterPolicy(in *ClusterPolicy, out *newer.ClusterPolicy, s conversion.Scope) error

and now the globals

func Convert_v1_ClusterRoleBindingList_To_api_ClusterRoleBindingList added in v1.3.0

func Convert_v1_ClusterRoleBindingList_To_api_ClusterRoleBindingList(in *ClusterRoleBindingList, out *api.ClusterRoleBindingList, s conversion.Scope) error

func Convert_v1_ClusterRoleBinding_To_api_ClusterRoleBinding added in v1.3.0

func Convert_v1_ClusterRoleBinding_To_api_ClusterRoleBinding(in *ClusterRoleBinding, out *newer.ClusterRoleBinding, s conversion.Scope) error

func Convert_v1_ClusterRoleList_To_api_ClusterRoleList added in v1.3.0

func Convert_v1_ClusterRoleList_To_api_ClusterRoleList(in *ClusterRoleList, out *api.ClusterRoleList, s conversion.Scope) error

func Convert_v1_ClusterRole_To_api_ClusterRole added in v1.3.0

func Convert_v1_ClusterRole_To_api_ClusterRole(in *ClusterRole, out *api.ClusterRole, s conversion.Scope) error

func Convert_v1_GroupRestriction_To_api_GroupRestriction added in v1.4.0

func Convert_v1_GroupRestriction_To_api_GroupRestriction(in *GroupRestriction, out *api.GroupRestriction, s conversion.Scope) error

func Convert_v1_IsPersonalSubjectAccessReview_To_api_IsPersonalSubjectAccessReview added in v1.3.0

func Convert_v1_IsPersonalSubjectAccessReview_To_api_IsPersonalSubjectAccessReview(in *IsPersonalSubjectAccessReview, out *api.IsPersonalSubjectAccessReview, s conversion.Scope) error

func Convert_v1_LocalResourceAccessReview_To_api_LocalResourceAccessReview added in v1.3.0

func Convert_v1_LocalResourceAccessReview_To_api_LocalResourceAccessReview(in *LocalResourceAccessReview, out *api.LocalResourceAccessReview, s conversion.Scope) error

func Convert_v1_LocalSubjectAccessReview_To_api_LocalSubjectAccessReview added in v1.3.0

func Convert_v1_LocalSubjectAccessReview_To_api_LocalSubjectAccessReview(in *LocalSubjectAccessReview, out *newer.LocalSubjectAccessReview, s conversion.Scope) error

func Convert_v1_NamedClusterRoleBindings_To_api_ClusterRoleBindingsByName added in v1.3.0

func Convert_v1_NamedClusterRoleBindings_To_api_ClusterRoleBindingsByName(in *NamedClusterRoleBindings, out *newer.ClusterRoleBindingsByName, s conversion.Scope) error

func Convert_v1_NamedClusterRoles_To_api_ClusterRolesByName added in v1.3.0

func Convert_v1_NamedClusterRoles_To_api_ClusterRolesByName(in *NamedClusterRoles, out *newer.ClusterRolesByName, s conversion.Scope) error

func Convert_v1_NamedRoleBindings_To_api_RoleBindingsByName added in v1.3.0

func Convert_v1_NamedRoleBindings_To_api_RoleBindingsByName(in *NamedRoleBindings, out *newer.RoleBindingsByName, s conversion.Scope) error

func Convert_v1_NamedRoles_To_api_RolesByName added in v1.3.0

func Convert_v1_NamedRoles_To_api_RolesByName(in *NamedRoles, out *newer.RolesByName, s conversion.Scope) error

func Convert_v1_PolicyBindingList_To_api_PolicyBindingList added in v1.3.0

func Convert_v1_PolicyBindingList_To_api_PolicyBindingList(in *PolicyBindingList, out *api.PolicyBindingList, s conversion.Scope) error

func Convert_v1_PolicyBinding_To_api_PolicyBinding added in v1.3.0

func Convert_v1_PolicyBinding_To_api_PolicyBinding(in *PolicyBinding, out *newer.PolicyBinding, s conversion.Scope) error

func Convert_v1_PolicyList_To_api_PolicyList added in v1.3.0

func Convert_v1_PolicyList_To_api_PolicyList(in *PolicyList, out *api.PolicyList, s conversion.Scope) error

func Convert_v1_PolicyRule_To_api_PolicyRule added in v1.3.0

func Convert_v1_PolicyRule_To_api_PolicyRule(in *PolicyRule, out *newer.PolicyRule, s conversion.Scope) error

func Convert_v1_Policy_To_api_Policy added in v1.3.0

func Convert_v1_Policy_To_api_Policy(in *Policy, out *newer.Policy, s conversion.Scope) error

func Convert_v1_ResourceAccessReviewResponse_To_api_ResourceAccessReviewResponse added in v1.3.0

func Convert_v1_ResourceAccessReviewResponse_To_api_ResourceAccessReviewResponse(in *ResourceAccessReviewResponse, out *newer.ResourceAccessReviewResponse, s conversion.Scope) error

func Convert_v1_ResourceAccessReview_To_api_ResourceAccessReview added in v1.3.0

func Convert_v1_ResourceAccessReview_To_api_ResourceAccessReview(in *ResourceAccessReview, out *api.ResourceAccessReview, s conversion.Scope) error

func Convert_v1_RoleBindingList_To_api_RoleBindingList added in v1.3.0

func Convert_v1_RoleBindingList_To_api_RoleBindingList(in *RoleBindingList, out *api.RoleBindingList, s conversion.Scope) error

func Convert_v1_RoleBindingRestrictionList_To_api_RoleBindingRestrictionList added in v1.4.0

func Convert_v1_RoleBindingRestrictionList_To_api_RoleBindingRestrictionList(in *RoleBindingRestrictionList, out *api.RoleBindingRestrictionList, s conversion.Scope) error

func Convert_v1_RoleBindingRestrictionSpec_To_api_RoleBindingRestrictionSpec added in v1.4.0

func Convert_v1_RoleBindingRestrictionSpec_To_api_RoleBindingRestrictionSpec(in *RoleBindingRestrictionSpec, out *api.RoleBindingRestrictionSpec, s conversion.Scope) error

func Convert_v1_RoleBindingRestriction_To_api_RoleBindingRestriction added in v1.4.0

func Convert_v1_RoleBindingRestriction_To_api_RoleBindingRestriction(in *RoleBindingRestriction, out *api.RoleBindingRestriction, s conversion.Scope) error

func Convert_v1_RoleBinding_To_api_RoleBinding added in v1.3.0

func Convert_v1_RoleBinding_To_api_RoleBinding(in *RoleBinding, out *newer.RoleBinding, s conversion.Scope) error

func Convert_v1_RoleList_To_api_RoleList added in v1.3.0

func Convert_v1_RoleList_To_api_RoleList(in *RoleList, out *api.RoleList, s conversion.Scope) error

func Convert_v1_Role_To_api_Role added in v1.3.0

func Convert_v1_Role_To_api_Role(in *Role, out *api.Role, s conversion.Scope) error

func Convert_v1_SelfSubjectRulesReviewSpec_To_api_SelfSubjectRulesReviewSpec added in v1.3.0

func Convert_v1_SelfSubjectRulesReviewSpec_To_api_SelfSubjectRulesReviewSpec(in *SelfSubjectRulesReviewSpec, out *api.SelfSubjectRulesReviewSpec, s conversion.Scope) error

func Convert_v1_SelfSubjectRulesReview_To_api_SelfSubjectRulesReview added in v1.3.0

func Convert_v1_SelfSubjectRulesReview_To_api_SelfSubjectRulesReview(in *SelfSubjectRulesReview, out *api.SelfSubjectRulesReview, s conversion.Scope) error

func Convert_v1_ServiceAccountReference_To_api_ServiceAccountReference added in v1.4.0

func Convert_v1_ServiceAccountReference_To_api_ServiceAccountReference(in *ServiceAccountReference, out *api.ServiceAccountReference, s conversion.Scope) error

func Convert_v1_ServiceAccountRestriction_To_api_ServiceAccountRestriction added in v1.4.0

func Convert_v1_ServiceAccountRestriction_To_api_ServiceAccountRestriction(in *ServiceAccountRestriction, out *api.ServiceAccountRestriction, s conversion.Scope) error

func Convert_v1_SubjectAccessReviewResponse_To_api_SubjectAccessReviewResponse added in v1.3.0

func Convert_v1_SubjectAccessReviewResponse_To_api_SubjectAccessReviewResponse(in *SubjectAccessReviewResponse, out *api.SubjectAccessReviewResponse, s conversion.Scope) error

func Convert_v1_SubjectAccessReview_To_api_SubjectAccessReview added in v1.3.0

func Convert_v1_SubjectAccessReview_To_api_SubjectAccessReview(in *SubjectAccessReview, out *newer.SubjectAccessReview, s conversion.Scope) error

func Convert_v1_SubjectRulesReviewSpec_To_api_SubjectRulesReviewSpec added in v1.4.0

func Convert_v1_SubjectRulesReviewSpec_To_api_SubjectRulesReviewSpec(in *SubjectRulesReviewSpec, out *api.SubjectRulesReviewSpec, s conversion.Scope) error

func Convert_v1_SubjectRulesReviewStatus_To_api_SubjectRulesReviewStatus added in v1.3.0

func Convert_v1_SubjectRulesReviewStatus_To_api_SubjectRulesReviewStatus(in *SubjectRulesReviewStatus, out *api.SubjectRulesReviewStatus, s conversion.Scope) error

func Convert_v1_SubjectRulesReview_To_api_SubjectRulesReview added in v1.4.0

func Convert_v1_SubjectRulesReview_To_api_SubjectRulesReview(in *SubjectRulesReview, out *api.SubjectRulesReview, s conversion.Scope) error

func Convert_v1_UserRestriction_To_api_UserRestriction added in v1.4.0

func Convert_v1_UserRestriction_To_api_UserRestriction(in *UserRestriction, out *api.UserRestriction, s conversion.Scope) error

func DeepCopy_v1_Action added in v1.3.0

func DeepCopy_v1_Action(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterPolicy added in v1.3.0

func DeepCopy_v1_ClusterPolicy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterPolicyBinding added in v1.3.0

func DeepCopy_v1_ClusterPolicyBinding(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterPolicyBindingList added in v1.3.0

func DeepCopy_v1_ClusterPolicyBindingList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterPolicyList added in v1.3.0

func DeepCopy_v1_ClusterPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterRole added in v1.3.0

func DeepCopy_v1_ClusterRole(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterRoleBinding added in v1.3.0

func DeepCopy_v1_ClusterRoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterRoleBindingList added in v1.3.0

func DeepCopy_v1_ClusterRoleBindingList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterRoleList added in v1.3.0

func DeepCopy_v1_ClusterRoleList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_GroupRestriction added in v1.4.0

func DeepCopy_v1_GroupRestriction(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_IsPersonalSubjectAccessReview added in v1.3.0

func DeepCopy_v1_IsPersonalSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_LocalResourceAccessReview added in v1.3.0

func DeepCopy_v1_LocalResourceAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_LocalSubjectAccessReview added in v1.3.0

func DeepCopy_v1_LocalSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_NamedClusterRole added in v1.3.0

func DeepCopy_v1_NamedClusterRole(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_NamedClusterRoleBinding added in v1.3.0

func DeepCopy_v1_NamedClusterRoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_NamedRole added in v1.3.0

func DeepCopy_v1_NamedRole(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_NamedRoleBinding added in v1.3.0

func DeepCopy_v1_NamedRoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_Policy added in v1.3.0

func DeepCopy_v1_Policy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_PolicyBinding added in v1.3.0

func DeepCopy_v1_PolicyBinding(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_PolicyBindingList added in v1.3.0

func DeepCopy_v1_PolicyBindingList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_PolicyList added in v1.3.0

func DeepCopy_v1_PolicyList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_PolicyRule added in v1.3.0

func DeepCopy_v1_PolicyRule(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ResourceAccessReview added in v1.3.0

func DeepCopy_v1_ResourceAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ResourceAccessReviewResponse added in v1.3.0

func DeepCopy_v1_ResourceAccessReviewResponse(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_Role added in v1.3.0

func DeepCopy_v1_Role(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_RoleBinding added in v1.3.0

func DeepCopy_v1_RoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_RoleBindingList added in v1.3.0

func DeepCopy_v1_RoleBindingList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_RoleBindingRestriction added in v1.4.0

func DeepCopy_v1_RoleBindingRestriction(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_RoleBindingRestrictionList added in v1.4.0

func DeepCopy_v1_RoleBindingRestrictionList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_RoleBindingRestrictionSpec added in v1.4.0

func DeepCopy_v1_RoleBindingRestrictionSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_RoleList added in v1.3.0

func DeepCopy_v1_RoleList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SelfSubjectRulesReview added in v1.3.0

func DeepCopy_v1_SelfSubjectRulesReview(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SelfSubjectRulesReviewSpec added in v1.3.0

func DeepCopy_v1_SelfSubjectRulesReviewSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ServiceAccountReference added in v1.4.0

func DeepCopy_v1_ServiceAccountReference(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ServiceAccountRestriction added in v1.4.0

func DeepCopy_v1_ServiceAccountRestriction(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SubjectAccessReview added in v1.3.0

func DeepCopy_v1_SubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SubjectAccessReviewResponse added in v1.3.0

func DeepCopy_v1_SubjectAccessReviewResponse(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SubjectRulesReview added in v1.4.0

func DeepCopy_v1_SubjectRulesReview(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SubjectRulesReviewSpec added in v1.4.0

func DeepCopy_v1_SubjectRulesReviewSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SubjectRulesReviewStatus added in v1.3.0

func DeepCopy_v1_SubjectRulesReviewStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_UserRestriction added in v1.4.0

func DeepCopy_v1_UserRestriction(in interface{}, out interface{}, c *conversion.Cloner) error

func RegisterConversions added in v1.4.0

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies added in v1.4.0

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func SetDefaults_PolicyRule added in v1.3.0

func SetDefaults_PolicyRule(obj *PolicyRule)

Types

type Action added in v1.3.0

type Action struct {
	// Namespace is the namespace of the action being requested.  Currently, there is no distinction between no namespace and all namespaces
	Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"`
	// Verb is one of: get, list, watch, create, update, delete
	Verb string `json:"verb" protobuf:"bytes,2,opt,name=verb"`
	// Group is the API group of the resource
	// Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined
	Group string `json:"resourceAPIGroup" protobuf:"bytes,3,opt,name=resourceAPIGroup"`
	// Version is the API version of the resource
	// Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined
	Version string `json:"resourceAPIVersion" protobuf:"bytes,4,opt,name=resourceAPIVersion"`
	// Resource is one of the existing resource types
	Resource string `json:"resource" protobuf:"bytes,5,opt,name=resource"`
	// ResourceName is the name of the resource being requested for a "get" or deleted for a "delete"
	ResourceName string `json:"resourceName" protobuf:"bytes,6,opt,name=resourceName"`
	// Content is the actual content of the request for create and update
	Content kruntime.RawExtension `json:"content,omitempty" protobuf:"bytes,7,opt,name=content"`
}

Action describes a request to the API server

func (*Action) Descriptor added in v1.4.0

func (*Action) Descriptor() ([]byte, []int)

func (*Action) Marshal added in v1.3.0

func (m *Action) Marshal() (data []byte, err error)

func (*Action) MarshalTo added in v1.3.0

func (m *Action) MarshalTo(data []byte) (int, error)

func (*Action) ProtoMessage added in v1.3.0

func (*Action) ProtoMessage()

func (*Action) Reset added in v1.3.0

func (m *Action) Reset()

func (*Action) Size added in v1.3.0

func (m *Action) Size() (n int)

func (*Action) String added in v1.3.0

func (this *Action) String() string

func (Action) SwaggerDoc added in v1.3.0

func (Action) SwaggerDoc() map[string]string

func (*Action) Unmarshal added in v1.3.0

func (m *Action) Unmarshal(data []byte) error

type ClusterPolicy

type ClusterPolicy struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// LastModified is the last time that any part of the ClusterPolicy was created, updated, or deleted
	LastModified unversioned.Time `json:"lastModified" protobuf:"bytes,2,opt,name=lastModified"`

	// Roles holds all the ClusterRoles held by this ClusterPolicy, mapped by ClusterRole.Name
	Roles NamedClusterRoles `json:"roles" protobuf:"bytes,3,rep,name=roles"`
}

ClusterPolicy is a object that holds all the ClusterRoles for a particular namespace. There is at most one ClusterPolicy document per namespace.

func (*ClusterPolicy) DecodeNestedObjects added in v1.3.0

func (c *ClusterPolicy) DecodeNestedObjects(d runtime.Decoder) error

func (*ClusterPolicy) Descriptor added in v1.4.0

func (*ClusterPolicy) Descriptor() ([]byte, []int)

func (*ClusterPolicy) EncodeNestedObjects added in v1.3.0

func (c *ClusterPolicy) EncodeNestedObjects(e runtime.Encoder) error

func (*ClusterPolicy) Marshal added in v1.3.0

func (m *ClusterPolicy) Marshal() (data []byte, err error)

func (*ClusterPolicy) MarshalTo added in v1.3.0

func (m *ClusterPolicy) MarshalTo(data []byte) (int, error)

func (*ClusterPolicy) ProtoMessage added in v1.3.0

func (*ClusterPolicy) ProtoMessage()

func (*ClusterPolicy) Reset added in v1.3.0

func (m *ClusterPolicy) Reset()

func (*ClusterPolicy) Size added in v1.3.0

func (m *ClusterPolicy) Size() (n int)

func (*ClusterPolicy) String added in v1.3.0

func (this *ClusterPolicy) String() string

func (ClusterPolicy) SwaggerDoc added in v1.1.4

func (ClusterPolicy) SwaggerDoc() map[string]string

func (*ClusterPolicy) Unmarshal added in v1.3.0

func (m *ClusterPolicy) Unmarshal(data []byte) error

type ClusterPolicyBinding

type ClusterPolicyBinding struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// LastModified is the last time that any part of the ClusterPolicyBinding was created, updated, or deleted
	LastModified unversioned.Time `json:"lastModified" protobuf:"bytes,2,opt,name=lastModified"`

	// PolicyRef is a reference to the ClusterPolicy that contains all the ClusterRoles that this ClusterPolicyBinding's RoleBindings may reference
	PolicyRef kapi.ObjectReference `json:"policyRef" protobuf:"bytes,3,opt,name=policyRef"`
	// RoleBindings holds all the ClusterRoleBindings held by this ClusterPolicyBinding, mapped by ClusterRoleBinding.Name
	RoleBindings NamedClusterRoleBindings `json:"roleBindings" protobuf:"bytes,4,rep,name=roleBindings"`
}

ClusterPolicyBinding is a object that holds all the ClusterRoleBindings for a particular namespace. There is one ClusterPolicyBinding document per referenced ClusterPolicy namespace

func (*ClusterPolicyBinding) Descriptor added in v1.4.0

func (*ClusterPolicyBinding) Descriptor() ([]byte, []int)

func (*ClusterPolicyBinding) Marshal added in v1.3.0

func (m *ClusterPolicyBinding) Marshal() (data []byte, err error)

func (*ClusterPolicyBinding) MarshalTo added in v1.3.0

func (m *ClusterPolicyBinding) MarshalTo(data []byte) (int, error)

func (*ClusterPolicyBinding) ProtoMessage added in v1.3.0

func (*ClusterPolicyBinding) ProtoMessage()

func (*ClusterPolicyBinding) Reset added in v1.3.0

func (m *ClusterPolicyBinding) Reset()

func (*ClusterPolicyBinding) Size added in v1.3.0

func (m *ClusterPolicyBinding) Size() (n int)

func (*ClusterPolicyBinding) String added in v1.3.0

func (this *ClusterPolicyBinding) String() string

func (ClusterPolicyBinding) SwaggerDoc added in v1.1.4

func (ClusterPolicyBinding) SwaggerDoc() map[string]string

func (*ClusterPolicyBinding) Unmarshal added in v1.3.0

func (m *ClusterPolicyBinding) Unmarshal(data []byte) error

type ClusterPolicyBindingList

type ClusterPolicyBindingList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ClusterPolicyBindings
	Items []ClusterPolicyBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterPolicyBindingList is a collection of ClusterPolicyBindings

func (*ClusterPolicyBindingList) Descriptor added in v1.4.0

func (*ClusterPolicyBindingList) Descriptor() ([]byte, []int)

func (*ClusterPolicyBindingList) Marshal added in v1.3.0

func (m *ClusterPolicyBindingList) Marshal() (data []byte, err error)

func (*ClusterPolicyBindingList) MarshalTo added in v1.3.0

func (m *ClusterPolicyBindingList) MarshalTo(data []byte) (int, error)

func (*ClusterPolicyBindingList) ProtoMessage added in v1.3.0

func (*ClusterPolicyBindingList) ProtoMessage()

func (*ClusterPolicyBindingList) Reset added in v1.3.0

func (m *ClusterPolicyBindingList) Reset()

func (*ClusterPolicyBindingList) Size added in v1.3.0

func (m *ClusterPolicyBindingList) Size() (n int)

func (*ClusterPolicyBindingList) String added in v1.3.0

func (this *ClusterPolicyBindingList) String() string

func (ClusterPolicyBindingList) SwaggerDoc added in v1.1.4

func (ClusterPolicyBindingList) SwaggerDoc() map[string]string

func (*ClusterPolicyBindingList) Unmarshal added in v1.3.0

func (m *ClusterPolicyBindingList) Unmarshal(data []byte) error

type ClusterPolicyList

type ClusterPolicyList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ClusterPolicies
	Items []ClusterPolicy `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterPolicyList is a collection of ClusterPolicies

func (*ClusterPolicyList) DecodeNestedObjects added in v1.3.0

func (c *ClusterPolicyList) DecodeNestedObjects(d runtime.Decoder) error

func (*ClusterPolicyList) Descriptor added in v1.4.0

func (*ClusterPolicyList) Descriptor() ([]byte, []int)

func (*ClusterPolicyList) EncodeNestedObjects added in v1.3.0

func (c *ClusterPolicyList) EncodeNestedObjects(e runtime.Encoder) error

func (*ClusterPolicyList) Marshal added in v1.3.0

func (m *ClusterPolicyList) Marshal() (data []byte, err error)

func (*ClusterPolicyList) MarshalTo added in v1.3.0

func (m *ClusterPolicyList) MarshalTo(data []byte) (int, error)

func (*ClusterPolicyList) ProtoMessage added in v1.3.0

func (*ClusterPolicyList) ProtoMessage()

func (*ClusterPolicyList) Reset added in v1.3.0

func (m *ClusterPolicyList) Reset()

func (*ClusterPolicyList) Size added in v1.3.0

func (m *ClusterPolicyList) Size() (n int)

func (*ClusterPolicyList) String added in v1.3.0

func (this *ClusterPolicyList) String() string

func (ClusterPolicyList) SwaggerDoc added in v1.1.4

func (ClusterPolicyList) SwaggerDoc() map[string]string

func (*ClusterPolicyList) Unmarshal added in v1.3.0

func (m *ClusterPolicyList) Unmarshal(data []byte) error

type ClusterRole

type ClusterRole struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Rules holds all the PolicyRules for this ClusterRole
	Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
}

ClusterRole is a logical grouping of PolicyRules that can be referenced as a unit by ClusterRoleBindings.

func (*ClusterRole) DecodeNestedObjects added in v1.3.0

func (c *ClusterRole) DecodeNestedObjects(d runtime.Decoder) error

func (*ClusterRole) Descriptor added in v1.4.0

func (*ClusterRole) Descriptor() ([]byte, []int)

func (*ClusterRole) EncodeNestedObjects added in v1.3.0

func (c *ClusterRole) EncodeNestedObjects(e runtime.Encoder) error

func (*ClusterRole) Marshal added in v1.3.0

func (m *ClusterRole) Marshal() (data []byte, err error)

func (*ClusterRole) MarshalTo added in v1.3.0

func (m *ClusterRole) MarshalTo(data []byte) (int, error)

func (*ClusterRole) ProtoMessage added in v1.3.0

func (*ClusterRole) ProtoMessage()

func (*ClusterRole) Reset added in v1.3.0

func (m *ClusterRole) Reset()

func (*ClusterRole) Size added in v1.3.0

func (m *ClusterRole) Size() (n int)

func (*ClusterRole) String added in v1.3.0

func (this *ClusterRole) String() string

func (ClusterRole) SwaggerDoc added in v1.1.4

func (ClusterRole) SwaggerDoc() map[string]string

func (*ClusterRole) Unmarshal added in v1.3.0

func (m *ClusterRole) Unmarshal(data []byte) error

type ClusterRoleBinding

type ClusterRoleBinding struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// UserNames holds all the usernames directly bound to the role.
	// This field should only be specified when supporting legacy clients and servers.
	// See Subjects for further details.
	// +k8s:conversion-gen=false
	UserNames OptionalNames `json:"userNames" protobuf:"bytes,2,rep,name=userNames"`
	// GroupNames holds all the groups directly bound to the role.
	// This field should only be specified when supporting legacy clients and servers.
	// See Subjects for further details.
	// +k8s:conversion-gen=false
	GroupNames OptionalNames `json:"groupNames" protobuf:"bytes,3,rep,name=groupNames"`
	// Subjects hold object references to authorize with this rule.
	// This field is ignored if UserNames or GroupNames are specified to support legacy clients and servers.
	// Thus newer clients that do not need to support backwards compatibility should send
	// only fully qualified Subjects and should omit the UserNames and GroupNames fields.
	// Clients that need to support backwards compatibility can use this field to build the UserNames and GroupNames.
	Subjects []kapi.ObjectReference `json:"subjects" protobuf:"bytes,4,rep,name=subjects"`

	// RoleRef can only reference the current namespace and the global namespace.
	// If the ClusterRoleRef cannot be resolved, the Authorizer must return an error.
	// Since Policy is a singleton, this is sufficient knowledge to locate a role.
	RoleRef kapi.ObjectReference `json:"roleRef" protobuf:"bytes,5,opt,name=roleRef"`
}

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference any ClusterRole in the same namespace or in the global namespace. It adds who information via (Users and Groups) OR Subjects and namespace information by which namespace it exists in. ClusterRoleBindings in a given namespace only have effect in that namespace (excepting the master namespace which has power in all namespaces).

func (*ClusterRoleBinding) Descriptor added in v1.4.0

func (*ClusterRoleBinding) Descriptor() ([]byte, []int)

func (*ClusterRoleBinding) Marshal added in v1.3.0

func (m *ClusterRoleBinding) Marshal() (data []byte, err error)

func (*ClusterRoleBinding) MarshalTo added in v1.3.0

func (m *ClusterRoleBinding) MarshalTo(data []byte) (int, error)

func (*ClusterRoleBinding) ProtoMessage added in v1.3.0

func (*ClusterRoleBinding) ProtoMessage()

func (*ClusterRoleBinding) Reset added in v1.3.0

func (m *ClusterRoleBinding) Reset()

func (*ClusterRoleBinding) Size added in v1.3.0

func (m *ClusterRoleBinding) Size() (n int)

func (*ClusterRoleBinding) String added in v1.3.0

func (this *ClusterRoleBinding) String() string

func (ClusterRoleBinding) SwaggerDoc added in v1.1.4

func (ClusterRoleBinding) SwaggerDoc() map[string]string

func (*ClusterRoleBinding) Unmarshal added in v1.3.0

func (m *ClusterRoleBinding) Unmarshal(data []byte) error

type ClusterRoleBindingList

type ClusterRoleBindingList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ClusterRoleBindings
	Items []ClusterRoleBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterRoleBindingList is a collection of ClusterRoleBindings

func (*ClusterRoleBindingList) Descriptor added in v1.4.0

func (*ClusterRoleBindingList) Descriptor() ([]byte, []int)

func (*ClusterRoleBindingList) Marshal added in v1.3.0

func (m *ClusterRoleBindingList) Marshal() (data []byte, err error)

func (*ClusterRoleBindingList) MarshalTo added in v1.3.0

func (m *ClusterRoleBindingList) MarshalTo(data []byte) (int, error)

func (*ClusterRoleBindingList) ProtoMessage added in v1.3.0

func (*ClusterRoleBindingList) ProtoMessage()

func (*ClusterRoleBindingList) Reset added in v1.3.0

func (m *ClusterRoleBindingList) Reset()

func (*ClusterRoleBindingList) Size added in v1.3.0

func (m *ClusterRoleBindingList) Size() (n int)

func (*ClusterRoleBindingList) String added in v1.3.0

func (this *ClusterRoleBindingList) String() string

func (ClusterRoleBindingList) SwaggerDoc added in v1.1.4

func (ClusterRoleBindingList) SwaggerDoc() map[string]string

func (*ClusterRoleBindingList) Unmarshal added in v1.3.0

func (m *ClusterRoleBindingList) Unmarshal(data []byte) error

type ClusterRoleList

type ClusterRoleList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ClusterRoles
	Items []ClusterRole `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterRoleList is a collection of ClusterRoles

func (*ClusterRoleList) DecodeNestedObjects added in v1.3.0

func (c *ClusterRoleList) DecodeNestedObjects(d runtime.Decoder) error

func (*ClusterRoleList) Descriptor added in v1.4.0

func (*ClusterRoleList) Descriptor() ([]byte, []int)

func (*ClusterRoleList) EncodeNestedObjects added in v1.3.0

func (c *ClusterRoleList) EncodeNestedObjects(e runtime.Encoder) error

func (*ClusterRoleList) Marshal added in v1.3.0

func (m *ClusterRoleList) Marshal() (data []byte, err error)

func (*ClusterRoleList) MarshalTo added in v1.3.0

func (m *ClusterRoleList) MarshalTo(data []byte) (int, error)

func (*ClusterRoleList) ProtoMessage added in v1.3.0

func (*ClusterRoleList) ProtoMessage()

func (*ClusterRoleList) Reset added in v1.3.0

func (m *ClusterRoleList) Reset()

func (*ClusterRoleList) Size added in v1.3.0

func (m *ClusterRoleList) Size() (n int)

func (*ClusterRoleList) String added in v1.3.0

func (this *ClusterRoleList) String() string

func (ClusterRoleList) SwaggerDoc added in v1.1.4

func (ClusterRoleList) SwaggerDoc() map[string]string

func (*ClusterRoleList) Unmarshal added in v1.3.0

func (m *ClusterRoleList) Unmarshal(data []byte) error

type GroupRestriction added in v1.4.0

type GroupRestriction struct {
	// Groups is a list of groups used to match against an individual user's
	// groups. If the user is a member of one of the whitelisted groups, the user
	// is allowed to be bound to a role.
	Groups []string `json:"groups" protobuf:"bytes,1,rep,name=groups"`

	// Selectors specifies a list of label selectors over group labels.
	Selectors []unversioned.LabelSelector `json:"labels" protobuf:"bytes,2,rep,name=labels"`
}

GroupRestriction matches a group either by a string match on the group name or a label selector applied to group labels.

func (*GroupRestriction) Descriptor added in v1.4.0

func (*GroupRestriction) Descriptor() ([]byte, []int)

func (*GroupRestriction) Marshal added in v1.4.0

func (m *GroupRestriction) Marshal() (data []byte, err error)

func (*GroupRestriction) MarshalTo added in v1.4.0

func (m *GroupRestriction) MarshalTo(data []byte) (int, error)

func (*GroupRestriction) ProtoMessage added in v1.4.0

func (*GroupRestriction) ProtoMessage()

func (*GroupRestriction) Reset added in v1.4.0

func (m *GroupRestriction) Reset()

func (*GroupRestriction) Size added in v1.4.0

func (m *GroupRestriction) Size() (n int)

func (*GroupRestriction) String added in v1.4.0

func (this *GroupRestriction) String() string

func (GroupRestriction) SwaggerDoc added in v1.4.0

func (GroupRestriction) SwaggerDoc() map[string]string

func (*GroupRestriction) Unmarshal added in v1.4.0

func (m *GroupRestriction) Unmarshal(data []byte) error

type IsPersonalSubjectAccessReview

type IsPersonalSubjectAccessReview struct {
	unversioned.TypeMeta `json:",inline"`
}

IsPersonalSubjectAccessReview is a marker for PolicyRule.AttributeRestrictions that denotes that subjectaccessreviews on self should be allowed

func (*IsPersonalSubjectAccessReview) Descriptor added in v1.4.0

func (*IsPersonalSubjectAccessReview) Descriptor() ([]byte, []int)

func (*IsPersonalSubjectAccessReview) Marshal added in v1.3.0

func (m *IsPersonalSubjectAccessReview) Marshal() (data []byte, err error)

func (*IsPersonalSubjectAccessReview) MarshalTo added in v1.3.0

func (m *IsPersonalSubjectAccessReview) MarshalTo(data []byte) (int, error)

func (*IsPersonalSubjectAccessReview) ProtoMessage added in v1.3.0

func (*IsPersonalSubjectAccessReview) ProtoMessage()

func (*IsPersonalSubjectAccessReview) Reset added in v1.3.0

func (m *IsPersonalSubjectAccessReview) Reset()

func (*IsPersonalSubjectAccessReview) Size added in v1.3.0

func (m *IsPersonalSubjectAccessReview) Size() (n int)

func (*IsPersonalSubjectAccessReview) String added in v1.3.0

func (this *IsPersonalSubjectAccessReview) String() string

func (IsPersonalSubjectAccessReview) SwaggerDoc added in v1.1.4

func (IsPersonalSubjectAccessReview) SwaggerDoc() map[string]string

func (*IsPersonalSubjectAccessReview) Unmarshal added in v1.3.0

func (m *IsPersonalSubjectAccessReview) Unmarshal(data []byte) error

type LocalResourceAccessReview added in v1.0.5

type LocalResourceAccessReview struct {
	unversioned.TypeMeta `json:",inline"`

	// Action describes the action being tested.  The Namespace element is FORCED to the current namespace.
	Action `json:",inline" protobuf:"bytes,1,opt,name=Action"`
}

LocalResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec in a particular namespace

func (*LocalResourceAccessReview) Descriptor added in v1.4.0

func (*LocalResourceAccessReview) Descriptor() ([]byte, []int)

func (*LocalResourceAccessReview) Marshal added in v1.3.0

func (m *LocalResourceAccessReview) Marshal() (data []byte, err error)

func (*LocalResourceAccessReview) MarshalTo added in v1.3.0

func (m *LocalResourceAccessReview) MarshalTo(data []byte) (int, error)

func (*LocalResourceAccessReview) ProtoMessage added in v1.3.0

func (*LocalResourceAccessReview) ProtoMessage()

func (*LocalResourceAccessReview) Reset added in v1.3.0

func (m *LocalResourceAccessReview) Reset()

func (*LocalResourceAccessReview) Size added in v1.3.0

func (m *LocalResourceAccessReview) Size() (n int)

func (*LocalResourceAccessReview) String added in v1.3.0

func (this *LocalResourceAccessReview) String() string

func (LocalResourceAccessReview) SwaggerDoc added in v1.1.4

func (LocalResourceAccessReview) SwaggerDoc() map[string]string

func (*LocalResourceAccessReview) Unmarshal added in v1.3.0

func (m *LocalResourceAccessReview) Unmarshal(data []byte) error

type LocalSubjectAccessReview added in v1.0.5

type LocalSubjectAccessReview struct {
	unversioned.TypeMeta `json:",inline"`

	// Action describes the action being tested.  The Namespace element is FORCED to the current namespace.
	Action `json:",inline" protobuf:"bytes,1,opt,name=Action"`
	// User is optional.  If both User and Groups are empty, the current authenticated user is used.
	User string `json:"user" protobuf:"bytes,2,opt,name=user"`
	// Groups is optional.  Groups is the list of groups to which the User belongs.
	// +k8s:conversion-gen=false
	GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"`
	// Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
	// Nil for a self-SAR, means "use the scopes on this request".
	// Nil for a regular SAR, means the same as empty.
	Scopes OptionalScopes `json:"scopes" protobuf:"bytes,4,rep,name=scopes"`
}

LocalSubjectAccessReview is an object for requesting information about whether a user or group can perform an action in a particular namespace

func (*LocalSubjectAccessReview) Descriptor added in v1.4.0

func (*LocalSubjectAccessReview) Descriptor() ([]byte, []int)

func (*LocalSubjectAccessReview) Marshal added in v1.3.0

func (m *LocalSubjectAccessReview) Marshal() (data []byte, err error)

func (*LocalSubjectAccessReview) MarshalTo added in v1.3.0

func (m *LocalSubjectAccessReview) MarshalTo(data []byte) (int, error)

func (*LocalSubjectAccessReview) ProtoMessage added in v1.3.0

func (*LocalSubjectAccessReview) ProtoMessage()

func (*LocalSubjectAccessReview) Reset added in v1.3.0

func (m *LocalSubjectAccessReview) Reset()

func (*LocalSubjectAccessReview) Size added in v1.3.0

func (m *LocalSubjectAccessReview) Size() (n int)

func (*LocalSubjectAccessReview) String added in v1.3.0

func (this *LocalSubjectAccessReview) String() string

func (LocalSubjectAccessReview) SwaggerDoc added in v1.1.4

func (LocalSubjectAccessReview) SwaggerDoc() map[string]string

func (*LocalSubjectAccessReview) Unmarshal added in v1.3.0

func (m *LocalSubjectAccessReview) Unmarshal(data []byte) error

type NamedClusterRole

type NamedClusterRole struct {
	// Name is the name of the cluster role
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Role is the cluster role being named
	Role ClusterRole `json:"role" protobuf:"bytes,2,opt,name=role"`
}

NamedClusterRole relates a name with a cluster role

func (*NamedClusterRole) Descriptor added in v1.4.0

func (*NamedClusterRole) Descriptor() ([]byte, []int)

func (*NamedClusterRole) Marshal added in v1.3.0

func (m *NamedClusterRole) Marshal() (data []byte, err error)

func (*NamedClusterRole) MarshalTo added in v1.3.0

func (m *NamedClusterRole) MarshalTo(data []byte) (int, error)

func (*NamedClusterRole) ProtoMessage added in v1.3.0

func (*NamedClusterRole) ProtoMessage()

func (*NamedClusterRole) Reset added in v1.3.0

func (m *NamedClusterRole) Reset()

func (*NamedClusterRole) Size added in v1.3.0

func (m *NamedClusterRole) Size() (n int)

func (*NamedClusterRole) String added in v1.3.0

func (this *NamedClusterRole) String() string

func (NamedClusterRole) SwaggerDoc added in v1.1.4

func (NamedClusterRole) SwaggerDoc() map[string]string

func (*NamedClusterRole) Unmarshal added in v1.3.0

func (m *NamedClusterRole) Unmarshal(data []byte) error

type NamedClusterRoleBinding

type NamedClusterRoleBinding struct {
	// Name is the name of the cluster role binding
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// RoleBinding is the cluster role binding being named
	RoleBinding ClusterRoleBinding `json:"roleBinding" protobuf:"bytes,2,opt,name=roleBinding"`
}

NamedClusterRoleBinding relates a name with a cluster role binding

func (*NamedClusterRoleBinding) Descriptor added in v1.4.0

func (*NamedClusterRoleBinding) Descriptor() ([]byte, []int)

func (*NamedClusterRoleBinding) Marshal added in v1.3.0

func (m *NamedClusterRoleBinding) Marshal() (data []byte, err error)

func (*NamedClusterRoleBinding) MarshalTo added in v1.3.0

func (m *NamedClusterRoleBinding) MarshalTo(data []byte) (int, error)

func (*NamedClusterRoleBinding) ProtoMessage added in v1.3.0

func (*NamedClusterRoleBinding) ProtoMessage()

func (*NamedClusterRoleBinding) Reset added in v1.3.0

func (m *NamedClusterRoleBinding) Reset()

func (*NamedClusterRoleBinding) Size added in v1.3.0

func (m *NamedClusterRoleBinding) Size() (n int)

func (*NamedClusterRoleBinding) String added in v1.3.0

func (this *NamedClusterRoleBinding) String() string

func (NamedClusterRoleBinding) SwaggerDoc added in v1.1.4

func (NamedClusterRoleBinding) SwaggerDoc() map[string]string

func (*NamedClusterRoleBinding) Unmarshal added in v1.3.0

func (m *NamedClusterRoleBinding) Unmarshal(data []byte) error

type NamedClusterRoleBindings added in v1.3.0

type NamedClusterRoleBindings []NamedClusterRoleBinding

type NamedClusterRoles added in v1.3.0

type NamedClusterRoles []NamedClusterRole

type NamedRole

type NamedRole struct {
	// Name is the name of the role
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Role is the role being named
	Role Role `json:"role" protobuf:"bytes,2,opt,name=role"`
}

NamedRole relates a Role with a name

func (*NamedRole) Descriptor added in v1.4.0

func (*NamedRole) Descriptor() ([]byte, []int)

func (*NamedRole) Marshal added in v1.3.0

func (m *NamedRole) Marshal() (data []byte, err error)

func (*NamedRole) MarshalTo added in v1.3.0

func (m *NamedRole) MarshalTo(data []byte) (int, error)

func (*NamedRole) ProtoMessage added in v1.3.0

func (*NamedRole) ProtoMessage()

func (*NamedRole) Reset added in v1.3.0

func (m *NamedRole) Reset()

func (*NamedRole) Size added in v1.3.0

func (m *NamedRole) Size() (n int)

func (*NamedRole) String added in v1.3.0

func (this *NamedRole) String() string

func (NamedRole) SwaggerDoc added in v1.1.4

func (NamedRole) SwaggerDoc() map[string]string

func (*NamedRole) Unmarshal added in v1.3.0

func (m *NamedRole) Unmarshal(data []byte) error

type NamedRoleBinding

type NamedRoleBinding struct {
	// Name is the name of the role binding
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// RoleBinding is the role binding being named
	RoleBinding RoleBinding `json:"roleBinding" protobuf:"bytes,2,opt,name=roleBinding"`
}

NamedRoleBinding relates a role binding with a name

func (*NamedRoleBinding) Descriptor added in v1.4.0

func (*NamedRoleBinding) Descriptor() ([]byte, []int)

func (*NamedRoleBinding) Marshal added in v1.3.0

func (m *NamedRoleBinding) Marshal() (data []byte, err error)

func (*NamedRoleBinding) MarshalTo added in v1.3.0

func (m *NamedRoleBinding) MarshalTo(data []byte) (int, error)

func (*NamedRoleBinding) ProtoMessage added in v1.3.0

func (*NamedRoleBinding) ProtoMessage()

func (*NamedRoleBinding) Reset added in v1.3.0

func (m *NamedRoleBinding) Reset()

func (*NamedRoleBinding) Size added in v1.3.0

func (m *NamedRoleBinding) Size() (n int)

func (*NamedRoleBinding) String added in v1.3.0

func (this *NamedRoleBinding) String() string

func (NamedRoleBinding) SwaggerDoc added in v1.1.4

func (NamedRoleBinding) SwaggerDoc() map[string]string

func (*NamedRoleBinding) Unmarshal added in v1.3.0

func (m *NamedRoleBinding) Unmarshal(data []byte) error

type NamedRoleBindings added in v1.3.0

type NamedRoleBindings []NamedRoleBinding

type NamedRoles added in v1.3.0

type NamedRoles []NamedRole

type OptionalNames added in v1.3.0

type OptionalNames []string

OptionalNames is an array that may also be left nil to distinguish between set and unset. +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (*OptionalNames) Descriptor added in v1.4.0

func (*OptionalNames) Descriptor() ([]byte, []int)

func (OptionalNames) Marshal added in v1.3.0

func (m OptionalNames) Marshal() (data []byte, err error)

func (OptionalNames) MarshalTo added in v1.3.0

func (m OptionalNames) MarshalTo(data []byte) (int, error)

func (*OptionalNames) ProtoMessage added in v1.3.0

func (*OptionalNames) ProtoMessage()

func (*OptionalNames) Reset added in v1.3.0

func (m *OptionalNames) Reset()

func (OptionalNames) Size added in v1.3.0

func (m OptionalNames) Size() (n int)

func (OptionalNames) String added in v1.3.0

func (t OptionalNames) String() string

func (*OptionalNames) Unmarshal added in v1.3.0

func (m *OptionalNames) Unmarshal(data []byte) error

type OptionalScopes added in v1.3.0

type OptionalScopes []string

OptionalScopes is an array that may also be left nil to distinguish between set and unset. +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (*OptionalScopes) Descriptor added in v1.4.0

func (*OptionalScopes) Descriptor() ([]byte, []int)

func (OptionalScopes) Marshal added in v1.3.0

func (m OptionalScopes) Marshal() (data []byte, err error)

func (OptionalScopes) MarshalTo added in v1.3.0

func (m OptionalScopes) MarshalTo(data []byte) (int, error)

func (*OptionalScopes) ProtoMessage added in v1.3.0

func (*OptionalScopes) ProtoMessage()

func (*OptionalScopes) Reset added in v1.3.0

func (m *OptionalScopes) Reset()

func (OptionalScopes) Size added in v1.3.0

func (m OptionalScopes) Size() (n int)

func (OptionalScopes) String added in v1.3.0

func (t OptionalScopes) String() string

func (*OptionalScopes) Unmarshal added in v1.3.0

func (m *OptionalScopes) Unmarshal(data []byte) error

type Policy

type Policy struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// LastModified is the last time that any part of the Policy was created, updated, or deleted
	LastModified unversioned.Time `json:"lastModified" protobuf:"bytes,2,opt,name=lastModified"`

	// Roles holds all the Roles held by this Policy, mapped by Role.Name
	Roles NamedRoles `json:"roles" protobuf:"bytes,3,rep,name=roles"`
}

Policy is a object that holds all the Roles for a particular namespace. There is at most one Policy document per namespace.

func (*Policy) DecodeNestedObjects added in v1.3.0

func (c *Policy) DecodeNestedObjects(d runtime.Decoder) error

func (*Policy) Descriptor added in v1.4.0

func (*Policy) Descriptor() ([]byte, []int)

func (*Policy) EncodeNestedObjects added in v1.3.0

func (c *Policy) EncodeNestedObjects(e runtime.Encoder) error

func (*Policy) Marshal added in v1.3.0

func (m *Policy) Marshal() (data []byte, err error)

func (*Policy) MarshalTo added in v1.3.0

func (m *Policy) MarshalTo(data []byte) (int, error)

func (*Policy) ProtoMessage added in v1.3.0

func (*Policy) ProtoMessage()

func (*Policy) Reset added in v1.3.0

func (m *Policy) Reset()

func (*Policy) Size added in v1.3.0

func (m *Policy) Size() (n int)

func (*Policy) String added in v1.3.0

func (this *Policy) String() string

func (Policy) SwaggerDoc added in v1.1.4

func (Policy) SwaggerDoc() map[string]string

func (*Policy) Unmarshal added in v1.3.0

func (m *Policy) Unmarshal(data []byte) error

type PolicyBinding

type PolicyBinding struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// LastModified is the last time that any part of the PolicyBinding was created, updated, or deleted
	LastModified unversioned.Time `json:"lastModified" protobuf:"bytes,2,opt,name=lastModified"`

	// PolicyRef is a reference to the Policy that contains all the Roles that this PolicyBinding's RoleBindings may reference
	PolicyRef kapi.ObjectReference `json:"policyRef" protobuf:"bytes,3,opt,name=policyRef"`
	// RoleBindings holds all the RoleBindings held by this PolicyBinding, mapped by RoleBinding.Name
	RoleBindings NamedRoleBindings `json:"roleBindings" protobuf:"bytes,4,rep,name=roleBindings"`
}

PolicyBinding is a object that holds all the RoleBindings for a particular namespace. There is one PolicyBinding document per referenced Policy namespace

func (*PolicyBinding) Descriptor added in v1.4.0

func (*PolicyBinding) Descriptor() ([]byte, []int)

func (*PolicyBinding) Marshal added in v1.3.0

func (m *PolicyBinding) Marshal() (data []byte, err error)

func (*PolicyBinding) MarshalTo added in v1.3.0

func (m *PolicyBinding) MarshalTo(data []byte) (int, error)

func (*PolicyBinding) ProtoMessage added in v1.3.0

func (*PolicyBinding) ProtoMessage()

func (*PolicyBinding) Reset added in v1.3.0

func (m *PolicyBinding) Reset()

func (*PolicyBinding) Size added in v1.3.0

func (m *PolicyBinding) Size() (n int)

func (*PolicyBinding) String added in v1.3.0

func (this *PolicyBinding) String() string

func (PolicyBinding) SwaggerDoc added in v1.1.4

func (PolicyBinding) SwaggerDoc() map[string]string

func (*PolicyBinding) Unmarshal added in v1.3.0

func (m *PolicyBinding) Unmarshal(data []byte) error

type PolicyBindingList

type PolicyBindingList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of PolicyBindings
	Items []PolicyBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PolicyBindingList is a collection of PolicyBindings

func (*PolicyBindingList) Descriptor added in v1.4.0

func (*PolicyBindingList) Descriptor() ([]byte, []int)

func (*PolicyBindingList) Marshal added in v1.3.0

func (m *PolicyBindingList) Marshal() (data []byte, err error)

func (*PolicyBindingList) MarshalTo added in v1.3.0

func (m *PolicyBindingList) MarshalTo(data []byte) (int, error)

func (*PolicyBindingList) ProtoMessage added in v1.3.0

func (*PolicyBindingList) ProtoMessage()

func (*PolicyBindingList) Reset added in v1.3.0

func (m *PolicyBindingList) Reset()

func (*PolicyBindingList) Size added in v1.3.0

func (m *PolicyBindingList) Size() (n int)

func (*PolicyBindingList) String added in v1.3.0

func (this *PolicyBindingList) String() string

func (PolicyBindingList) SwaggerDoc added in v1.1.4

func (PolicyBindingList) SwaggerDoc() map[string]string

func (*PolicyBindingList) Unmarshal added in v1.3.0

func (m *PolicyBindingList) Unmarshal(data []byte) error

type PolicyList

type PolicyList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of Policies
	Items []Policy `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PolicyList is a collection of Policies

func (*PolicyList) DecodeNestedObjects added in v1.3.0

func (c *PolicyList) DecodeNestedObjects(d runtime.Decoder) error

func (*PolicyList) Descriptor added in v1.4.0

func (*PolicyList) Descriptor() ([]byte, []int)

func (*PolicyList) EncodeNestedObjects added in v1.3.0

func (c *PolicyList) EncodeNestedObjects(e runtime.Encoder) error

func (*PolicyList) Marshal added in v1.3.0

func (m *PolicyList) Marshal() (data []byte, err error)

func (*PolicyList) MarshalTo added in v1.3.0

func (m *PolicyList) MarshalTo(data []byte) (int, error)

func (*PolicyList) ProtoMessage added in v1.3.0

func (*PolicyList) ProtoMessage()

func (*PolicyList) Reset added in v1.3.0

func (m *PolicyList) Reset()

func (*PolicyList) Size added in v1.3.0

func (m *PolicyList) Size() (n int)

func (*PolicyList) String added in v1.3.0

func (this *PolicyList) String() string

func (PolicyList) SwaggerDoc added in v1.1.4

func (PolicyList) SwaggerDoc() map[string]string

func (*PolicyList) Unmarshal added in v1.3.0

func (m *PolicyList) Unmarshal(data []byte) error

type PolicyRule

type PolicyRule struct {
	// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.  VerbAll represents all kinds.
	Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
	// AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports.
	// If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error.
	AttributeRestrictions kruntime.RawExtension `json:"attributeRestrictions,omitempty" protobuf:"bytes,2,opt,name=attributeRestrictions"`
	// APIGroups is the name of the APIGroup that contains the resources.  If this field is empty, then both kubernetes and origin API groups are assumed.
	// That means that if an action is requested against one of the enumerated resources in either the kubernetes or the origin API group, the request
	// will be allowed
	APIGroups []string `json:"apiGroups" protobuf:"bytes,3,rep,name=apiGroups"`
	// Resources is a list of resources this rule applies to.  ResourceAll represents all resources.
	Resources []string `json:"resources" protobuf:"bytes,4,rep,name=resources"`
	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
	ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,5,rep,name=resourceNames"`
	// NonResourceURLsSlice is a set of partial urls that a user should have access to.  *s are allowed, but only as the full, final step in the path
	// This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different.
	NonResourceURLsSlice []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,6,rep,name=nonResourceURLs"`
}

PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

func (*PolicyRule) DecodeNestedObjects added in v1.3.0

func (c *PolicyRule) DecodeNestedObjects(d runtime.Decoder) error

func (*PolicyRule) Descriptor added in v1.4.0

func (*PolicyRule) Descriptor() ([]byte, []int)

func (*PolicyRule) EncodeNestedObjects added in v1.3.0

func (c *PolicyRule) EncodeNestedObjects(e runtime.Encoder) error

func (*PolicyRule) Marshal added in v1.3.0

func (m *PolicyRule) Marshal() (data []byte, err error)

func (*PolicyRule) MarshalTo added in v1.3.0

func (m *PolicyRule) MarshalTo(data []byte) (int, error)

func (*PolicyRule) ProtoMessage added in v1.3.0

func (*PolicyRule) ProtoMessage()

func (*PolicyRule) Reset added in v1.3.0

func (m *PolicyRule) Reset()

func (*PolicyRule) Size added in v1.3.0

func (m *PolicyRule) Size() (n int)

func (*PolicyRule) String added in v1.3.0

func (this *PolicyRule) String() string

func (PolicyRule) SwaggerDoc added in v1.1.4

func (PolicyRule) SwaggerDoc() map[string]string

func (*PolicyRule) Unmarshal added in v1.3.0

func (m *PolicyRule) Unmarshal(data []byte) error

type ResourceAccessReview

type ResourceAccessReview struct {
	unversioned.TypeMeta `json:",inline"`

	// Action describes the action being tested.
	Action `json:",inline" protobuf:"bytes,1,opt,name=Action"`
}

ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec

func (*ResourceAccessReview) Descriptor added in v1.4.0

func (*ResourceAccessReview) Descriptor() ([]byte, []int)

func (*ResourceAccessReview) Marshal added in v1.3.0

func (m *ResourceAccessReview) Marshal() (data []byte, err error)

func (*ResourceAccessReview) MarshalTo added in v1.3.0

func (m *ResourceAccessReview) MarshalTo(data []byte) (int, error)

func (*ResourceAccessReview) ProtoMessage added in v1.3.0

func (*ResourceAccessReview) ProtoMessage()

func (*ResourceAccessReview) Reset added in v1.3.0

func (m *ResourceAccessReview) Reset()

func (*ResourceAccessReview) Size added in v1.3.0

func (m *ResourceAccessReview) Size() (n int)

func (*ResourceAccessReview) String added in v1.3.0

func (this *ResourceAccessReview) String() string

func (ResourceAccessReview) SwaggerDoc added in v1.1.4

func (ResourceAccessReview) SwaggerDoc() map[string]string

func (*ResourceAccessReview) Unmarshal added in v1.3.0

func (m *ResourceAccessReview) Unmarshal(data []byte) error

type ResourceAccessReviewResponse

type ResourceAccessReviewResponse struct {
	unversioned.TypeMeta `json:",inline"`

	// Namespace is the namespace used for the access review
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// UsersSlice is the list of users who can perform the action
	// +k8s:conversion-gen=false
	UsersSlice []string `json:"users" protobuf:"bytes,2,rep,name=users"`
	// GroupsSlice is the list of groups who can perform the action
	// +k8s:conversion-gen=false
	GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"`

	// EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned.
	// It is entirely possible to get an error and be able to continue determine authorization status in spite of it.  This is
	// most common when a bound role is missing, but enough roles are still present and bound to reason about the request.
	EvaluationError string `json:"evalutionError" protobuf:"bytes,4,opt,name=evalutionError"`
}

ResourceAccessReviewResponse describes who can perform the action

func (*ResourceAccessReviewResponse) Descriptor added in v1.4.0

func (*ResourceAccessReviewResponse) Descriptor() ([]byte, []int)

func (*ResourceAccessReviewResponse) Marshal added in v1.3.0

func (m *ResourceAccessReviewResponse) Marshal() (data []byte, err error)

func (*ResourceAccessReviewResponse) MarshalTo added in v1.3.0

func (m *ResourceAccessReviewResponse) MarshalTo(data []byte) (int, error)

func (*ResourceAccessReviewResponse) ProtoMessage added in v1.3.0

func (*ResourceAccessReviewResponse) ProtoMessage()

func (*ResourceAccessReviewResponse) Reset added in v1.3.0

func (m *ResourceAccessReviewResponse) Reset()

func (*ResourceAccessReviewResponse) Size added in v1.3.0

func (m *ResourceAccessReviewResponse) Size() (n int)

func (*ResourceAccessReviewResponse) String added in v1.3.0

func (this *ResourceAccessReviewResponse) String() string

func (ResourceAccessReviewResponse) SwaggerDoc added in v1.1.4

func (ResourceAccessReviewResponse) SwaggerDoc() map[string]string

func (*ResourceAccessReviewResponse) Unmarshal added in v1.3.0

func (m *ResourceAccessReviewResponse) Unmarshal(data []byte) error

type Role

type Role struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Rules holds all the PolicyRules for this Role
	Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
}

Role is a logical grouping of PolicyRules that can be referenced as a unit by RoleBindings.

func (*Role) DecodeNestedObjects added in v1.3.0

func (c *Role) DecodeNestedObjects(d runtime.Decoder) error

func (*Role) Descriptor added in v1.4.0

func (*Role) Descriptor() ([]byte, []int)

func (*Role) EncodeNestedObjects added in v1.3.0

func (c *Role) EncodeNestedObjects(e runtime.Encoder) error

func (*Role) Marshal added in v1.3.0

func (m *Role) Marshal() (data []byte, err error)

func (*Role) MarshalTo added in v1.3.0

func (m *Role) MarshalTo(data []byte) (int, error)

func (*Role) ProtoMessage added in v1.3.0

func (*Role) ProtoMessage()

func (*Role) Reset added in v1.3.0

func (m *Role) Reset()

func (*Role) Size added in v1.3.0

func (m *Role) Size() (n int)

func (*Role) String added in v1.3.0

func (this *Role) String() string

func (Role) SwaggerDoc added in v1.1.4

func (Role) SwaggerDoc() map[string]string

func (*Role) Unmarshal added in v1.3.0

func (m *Role) Unmarshal(data []byte) error

type RoleBinding

type RoleBinding struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// UserNames holds all the usernames directly bound to the role.
	// This field should only be specified when supporting legacy clients and servers.
	// See Subjects for further details.
	// +k8s:conversion-gen=false
	UserNames OptionalNames `json:"userNames" protobuf:"bytes,2,rep,name=userNames"`
	// GroupNames holds all the groups directly bound to the role.
	// This field should only be specified when supporting legacy clients and servers.
	// See Subjects for further details.
	// +k8s:conversion-gen=false
	GroupNames OptionalNames `json:"groupNames" protobuf:"bytes,3,rep,name=groupNames"`
	// Subjects hold object references to authorize with this rule.
	// This field is ignored if UserNames or GroupNames are specified to support legacy clients and servers.
	// Thus newer clients that do not need to support backwards compatibility should send
	// only fully qualified Subjects and should omit the UserNames and GroupNames fields.
	// Clients that need to support backwards compatibility can use this field to build the UserNames and GroupNames.
	Subjects []kapi.ObjectReference `json:"subjects" protobuf:"bytes,4,rep,name=subjects"`

	// RoleRef can only reference the current namespace and the global namespace.
	// If the RoleRef cannot be resolved, the Authorizer must return an error.
	// Since Policy is a singleton, this is sufficient knowledge to locate a role.
	RoleRef kapi.ObjectReference `json:"roleRef" protobuf:"bytes,5,opt,name=roleRef"`
}

RoleBinding references a Role, but not contain it. It can reference any Role in the same namespace or in the global namespace. It adds who information via (Users and Groups) OR Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace (excepting the master namespace which has power in all namespaces).

func (*RoleBinding) Descriptor added in v1.4.0

func (*RoleBinding) Descriptor() ([]byte, []int)

func (*RoleBinding) Marshal added in v1.3.0

func (m *RoleBinding) Marshal() (data []byte, err error)

func (*RoleBinding) MarshalTo added in v1.3.0

func (m *RoleBinding) MarshalTo(data []byte) (int, error)

func (*RoleBinding) ProtoMessage added in v1.3.0

func (*RoleBinding) ProtoMessage()

func (*RoleBinding) Reset added in v1.3.0

func (m *RoleBinding) Reset()

func (*RoleBinding) Size added in v1.3.0

func (m *RoleBinding) Size() (n int)

func (*RoleBinding) String added in v1.3.0

func (this *RoleBinding) String() string

func (RoleBinding) SwaggerDoc added in v1.1.4

func (RoleBinding) SwaggerDoc() map[string]string

func (*RoleBinding) Unmarshal added in v1.3.0

func (m *RoleBinding) Unmarshal(data []byte) error

type RoleBindingList

type RoleBindingList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of RoleBindings
	Items []RoleBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RoleBindingList is a collection of RoleBindings

func (*RoleBindingList) Descriptor added in v1.4.0

func (*RoleBindingList) Descriptor() ([]byte, []int)

func (*RoleBindingList) Marshal added in v1.3.0

func (m *RoleBindingList) Marshal() (data []byte, err error)

func (*RoleBindingList) MarshalTo added in v1.3.0

func (m *RoleBindingList) MarshalTo(data []byte) (int, error)

func (*RoleBindingList) ProtoMessage added in v1.3.0

func (*RoleBindingList) ProtoMessage()

func (*RoleBindingList) Reset added in v1.3.0

func (m *RoleBindingList) Reset()

func (*RoleBindingList) Size added in v1.3.0

func (m *RoleBindingList) Size() (n int)

func (*RoleBindingList) String added in v1.3.0

func (this *RoleBindingList) String() string

func (RoleBindingList) SwaggerDoc added in v1.1.4

func (RoleBindingList) SwaggerDoc() map[string]string

func (*RoleBindingList) Unmarshal added in v1.3.0

func (m *RoleBindingList) Unmarshal(data []byte) error

type RoleBindingRestriction added in v1.4.0

type RoleBindingRestriction struct {
	unversioned.TypeMeta `json:",inline"`

	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the matcher.
	Spec RoleBindingRestrictionSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

RoleBindingRestriction is an object that can be matched against a subject (user, group, or service account) to determine whether rolebindings on that subject are allowed in the namespace to which the RoleBindingRestriction belongs. If any one of those RoleBindingRestriction objects matches a subject, rolebindings on that subject in the namespace are allowed.

func (*RoleBindingRestriction) Descriptor added in v1.4.0

func (*RoleBindingRestriction) Descriptor() ([]byte, []int)

func (*RoleBindingRestriction) Marshal added in v1.4.0

func (m *RoleBindingRestriction) Marshal() (data []byte, err error)

func (*RoleBindingRestriction) MarshalTo added in v1.4.0

func (m *RoleBindingRestriction) MarshalTo(data []byte) (int, error)

func (*RoleBindingRestriction) ProtoMessage added in v1.4.0

func (*RoleBindingRestriction) ProtoMessage()

func (*RoleBindingRestriction) Reset added in v1.4.0

func (m *RoleBindingRestriction) Reset()

func (*RoleBindingRestriction) Size added in v1.4.0

func (m *RoleBindingRestriction) Size() (n int)

func (*RoleBindingRestriction) String added in v1.4.0

func (this *RoleBindingRestriction) String() string

func (RoleBindingRestriction) SwaggerDoc added in v1.4.0

func (RoleBindingRestriction) SwaggerDoc() map[string]string

func (*RoleBindingRestriction) Unmarshal added in v1.4.0

func (m *RoleBindingRestriction) Unmarshal(data []byte) error

type RoleBindingRestrictionList added in v1.4.0

type RoleBindingRestrictionList struct {
	unversioned.TypeMeta `json:",inline"`

	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of RoleBindingRestriction objects.
	Items []RoleBindingRestriction `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RoleBindingRestrictionList is a collection of RoleBindingRestriction objects.

func (*RoleBindingRestrictionList) Descriptor added in v1.4.0

func (*RoleBindingRestrictionList) Descriptor() ([]byte, []int)

func (*RoleBindingRestrictionList) Marshal added in v1.4.0

func (m *RoleBindingRestrictionList) Marshal() (data []byte, err error)

func (*RoleBindingRestrictionList) MarshalTo added in v1.4.0

func (m *RoleBindingRestrictionList) MarshalTo(data []byte) (int, error)

func (*RoleBindingRestrictionList) ProtoMessage added in v1.4.0

func (*RoleBindingRestrictionList) ProtoMessage()

func (*RoleBindingRestrictionList) Reset added in v1.4.0

func (m *RoleBindingRestrictionList) Reset()

func (*RoleBindingRestrictionList) Size added in v1.4.0

func (m *RoleBindingRestrictionList) Size() (n int)

func (*RoleBindingRestrictionList) String added in v1.4.0

func (this *RoleBindingRestrictionList) String() string

func (RoleBindingRestrictionList) SwaggerDoc added in v1.4.0

func (RoleBindingRestrictionList) SwaggerDoc() map[string]string

func (*RoleBindingRestrictionList) Unmarshal added in v1.4.0

func (m *RoleBindingRestrictionList) Unmarshal(data []byte) error

type RoleBindingRestrictionSpec added in v1.4.0

type RoleBindingRestrictionSpec struct {
	// UserRestriction matches against user subjects.
	UserRestriction *UserRestriction `json:"userrestriction" protobuf:"bytes,1,opt,name=userrestriction"`

	// GroupRestriction matches against group subjects.
	GroupRestriction *GroupRestriction `json:"grouprestriction" protobuf:"bytes,2,opt,name=grouprestriction"`

	// ServiceAccountRestriction matches against service-account subjects.
	ServiceAccountRestriction *ServiceAccountRestriction `json:"serviceaccountrestriction" protobuf:"bytes,3,opt,name=serviceaccountrestriction"`
}

RoleBindingRestrictionSpec defines a rolebinding restriction. Exactly one field must be non-nil.

func (*RoleBindingRestrictionSpec) Descriptor added in v1.4.0

func (*RoleBindingRestrictionSpec) Descriptor() ([]byte, []int)

func (*RoleBindingRestrictionSpec) Marshal added in v1.4.0

func (m *RoleBindingRestrictionSpec) Marshal() (data []byte, err error)

func (*RoleBindingRestrictionSpec) MarshalTo added in v1.4.0

func (m *RoleBindingRestrictionSpec) MarshalTo(data []byte) (int, error)

func (*RoleBindingRestrictionSpec) ProtoMessage added in v1.4.0

func (*RoleBindingRestrictionSpec) ProtoMessage()

func (*RoleBindingRestrictionSpec) Reset added in v1.4.0

func (m *RoleBindingRestrictionSpec) Reset()

func (*RoleBindingRestrictionSpec) Size added in v1.4.0

func (m *RoleBindingRestrictionSpec) Size() (n int)

func (*RoleBindingRestrictionSpec) String added in v1.4.0

func (this *RoleBindingRestrictionSpec) String() string

func (RoleBindingRestrictionSpec) SwaggerDoc added in v1.4.0

func (RoleBindingRestrictionSpec) SwaggerDoc() map[string]string

func (*RoleBindingRestrictionSpec) Unmarshal added in v1.4.0

func (m *RoleBindingRestrictionSpec) Unmarshal(data []byte) error

type RoleList

type RoleList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of Roles
	Items []Role `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RoleList is a collection of Roles

func (*RoleList) DecodeNestedObjects added in v1.3.0

func (c *RoleList) DecodeNestedObjects(d runtime.Decoder) error

func (*RoleList) Descriptor added in v1.4.0

func (*RoleList) Descriptor() ([]byte, []int)

func (*RoleList) EncodeNestedObjects added in v1.3.0

func (c *RoleList) EncodeNestedObjects(e runtime.Encoder) error

func (*RoleList) Marshal added in v1.3.0

func (m *RoleList) Marshal() (data []byte, err error)

func (*RoleList) MarshalTo added in v1.3.0

func (m *RoleList) MarshalTo(data []byte) (int, error)

func (*RoleList) ProtoMessage added in v1.3.0

func (*RoleList) ProtoMessage()

func (*RoleList) Reset added in v1.3.0

func (m *RoleList) Reset()

func (*RoleList) Size added in v1.3.0

func (m *RoleList) Size() (n int)

func (*RoleList) String added in v1.3.0

func (this *RoleList) String() string

func (RoleList) SwaggerDoc added in v1.1.4

func (RoleList) SwaggerDoc() map[string]string

func (*RoleList) Unmarshal added in v1.3.0

func (m *RoleList) Unmarshal(data []byte) error

type SelfSubjectRulesReview added in v1.3.0

type SelfSubjectRulesReview struct {
	unversioned.TypeMeta `json:",inline"`

	// Spec adds information about how to conduct the check
	Spec SelfSubjectRulesReviewSpec `json:"spec" protobuf:"bytes,1,opt,name=spec"`

	// Status is completed by the server to tell which permissions you have
	Status SubjectRulesReviewStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
}

SelfSubjectRulesReview is a resource you can create to determine which actions you can perform in a namespace

func (*SelfSubjectRulesReview) DecodeNestedObjects added in v1.3.0

func (c *SelfSubjectRulesReview) DecodeNestedObjects(d runtime.Decoder) error

func (*SelfSubjectRulesReview) Descriptor added in v1.4.0

func (*SelfSubjectRulesReview) Descriptor() ([]byte, []int)

func (*SelfSubjectRulesReview) EncodeNestedObjects added in v1.3.0

func (c *SelfSubjectRulesReview) EncodeNestedObjects(e runtime.Encoder) error

func (*SelfSubjectRulesReview) Marshal added in v1.3.0

func (m *SelfSubjectRulesReview) Marshal() (data []byte, err error)

func (*SelfSubjectRulesReview) MarshalTo added in v1.3.0

func (m *SelfSubjectRulesReview) MarshalTo(data []byte) (int, error)

func (*SelfSubjectRulesReview) ProtoMessage added in v1.3.0

func (*SelfSubjectRulesReview) ProtoMessage()

func (*SelfSubjectRulesReview) Reset added in v1.3.0

func (m *SelfSubjectRulesReview) Reset()

func (*SelfSubjectRulesReview) Size added in v1.3.0

func (m *SelfSubjectRulesReview) Size() (n int)

func (*SelfSubjectRulesReview) String added in v1.3.0

func (this *SelfSubjectRulesReview) String() string

func (SelfSubjectRulesReview) SwaggerDoc added in v1.3.0

func (SelfSubjectRulesReview) SwaggerDoc() map[string]string

func (*SelfSubjectRulesReview) Unmarshal added in v1.3.0

func (m *SelfSubjectRulesReview) Unmarshal(data []byte) error

type SelfSubjectRulesReviewSpec added in v1.3.0

type SelfSubjectRulesReviewSpec struct {
	// Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
	// Nil means "use the scopes on this request".
	Scopes OptionalScopes `json:"scopes" protobuf:"bytes,1,rep,name=scopes"`
}

SelfSubjectRulesReviewSpec adds information about how to conduct the check

func (*SelfSubjectRulesReviewSpec) Descriptor added in v1.4.0

func (*SelfSubjectRulesReviewSpec) Descriptor() ([]byte, []int)

func (*SelfSubjectRulesReviewSpec) Marshal added in v1.3.0

func (m *SelfSubjectRulesReviewSpec) Marshal() (data []byte, err error)

func (*SelfSubjectRulesReviewSpec) MarshalTo added in v1.3.0

func (m *SelfSubjectRulesReviewSpec) MarshalTo(data []byte) (int, error)

func (*SelfSubjectRulesReviewSpec) ProtoMessage added in v1.3.0

func (*SelfSubjectRulesReviewSpec) ProtoMessage()

func (*SelfSubjectRulesReviewSpec) Reset added in v1.3.0

func (m *SelfSubjectRulesReviewSpec) Reset()

func (*SelfSubjectRulesReviewSpec) Size added in v1.3.0

func (m *SelfSubjectRulesReviewSpec) Size() (n int)

func (*SelfSubjectRulesReviewSpec) String added in v1.3.0

func (this *SelfSubjectRulesReviewSpec) String() string

func (SelfSubjectRulesReviewSpec) SwaggerDoc added in v1.3.0

func (SelfSubjectRulesReviewSpec) SwaggerDoc() map[string]string

func (*SelfSubjectRulesReviewSpec) Unmarshal added in v1.3.0

func (m *SelfSubjectRulesReviewSpec) Unmarshal(data []byte) error

type ServiceAccountReference added in v1.4.0

type ServiceAccountReference struct {
	// Name is the name of the service account.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Namespace is the namespace of the service account.  Service accounts from
	// inside the whitelisted namespaces are allowed to be bound to roles.  If
	// Namespace is empty, then the namespace of the RoleBindingRestriction in
	// which the ServiceAccountReference is embedded is used.
	Namespace string `json:"namespace" protobuf:"bytes,2,opt,name=namespace"`
}

ServiceAccountReference specifies a service account and namespace by their names.

func (*ServiceAccountReference) Descriptor added in v1.4.0

func (*ServiceAccountReference) Descriptor() ([]byte, []int)

func (*ServiceAccountReference) Marshal added in v1.4.0

func (m *ServiceAccountReference) Marshal() (data []byte, err error)

func (*ServiceAccountReference) MarshalTo added in v1.4.0

func (m *ServiceAccountReference) MarshalTo(data []byte) (int, error)

func (*ServiceAccountReference) ProtoMessage added in v1.4.0

func (*ServiceAccountReference) ProtoMessage()

func (*ServiceAccountReference) Reset added in v1.4.0

func (m *ServiceAccountReference) Reset()

func (*ServiceAccountReference) Size added in v1.4.0

func (m *ServiceAccountReference) Size() (n int)

func (*ServiceAccountReference) String added in v1.4.0

func (this *ServiceAccountReference) String() string

func (ServiceAccountReference) SwaggerDoc added in v1.4.0

func (ServiceAccountReference) SwaggerDoc() map[string]string

func (*ServiceAccountReference) Unmarshal added in v1.4.0

func (m *ServiceAccountReference) Unmarshal(data []byte) error

type ServiceAccountRestriction added in v1.4.0

type ServiceAccountRestriction struct {
	// ServiceAccounts specifies a list of literal service-account names.
	ServiceAccounts []ServiceAccountReference `json:"serviceaccounts" protobuf:"bytes,1,rep,name=serviceaccounts"`

	// Namespaces specifies a list of literal namespace names.
	Namespaces []string `json:"namespaces" protobuf:"bytes,2,rep,name=namespaces"`
}

ServiceAccountRestriction matches a service account by a string match on either the service-account name or the name of the service account's namespace.

func (*ServiceAccountRestriction) Descriptor added in v1.4.0

func (*ServiceAccountRestriction) Descriptor() ([]byte, []int)

func (*ServiceAccountRestriction) Marshal added in v1.4.0

func (m *ServiceAccountRestriction) Marshal() (data []byte, err error)

func (*ServiceAccountRestriction) MarshalTo added in v1.4.0

func (m *ServiceAccountRestriction) MarshalTo(data []byte) (int, error)

func (*ServiceAccountRestriction) ProtoMessage added in v1.4.0

func (*ServiceAccountRestriction) ProtoMessage()

func (*ServiceAccountRestriction) Reset added in v1.4.0

func (m *ServiceAccountRestriction) Reset()

func (*ServiceAccountRestriction) Size added in v1.4.0

func (m *ServiceAccountRestriction) Size() (n int)

func (*ServiceAccountRestriction) String added in v1.4.0

func (this *ServiceAccountRestriction) String() string

func (ServiceAccountRestriction) SwaggerDoc added in v1.4.0

func (ServiceAccountRestriction) SwaggerDoc() map[string]string

func (*ServiceAccountRestriction) Unmarshal added in v1.4.0

func (m *ServiceAccountRestriction) Unmarshal(data []byte) error

type SubjectAccessReview

type SubjectAccessReview struct {
	unversioned.TypeMeta `json:",inline"`

	// Action describes the action being tested.
	Action `json:",inline" protobuf:"bytes,1,opt,name=Action"`
	// User is optional. If both User and Groups are empty, the current authenticated user is used.
	User string `json:"user" protobuf:"bytes,2,opt,name=user"`
	// GroupsSlice is optional. Groups is the list of groups to which the User belongs.
	// +k8s:conversion-gen=false
	GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"`
	// Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
	// Nil for a self-SAR, means "use the scopes on this request".
	// Nil for a regular SAR, means the same as empty.
	Scopes OptionalScopes `json:"scopes" protobuf:"bytes,4,rep,name=scopes"`
}

SubjectAccessReview is an object for requesting information about whether a user or group can perform an action

func (*SubjectAccessReview) Descriptor added in v1.4.0

func (*SubjectAccessReview) Descriptor() ([]byte, []int)

func (*SubjectAccessReview) Marshal added in v1.3.0

func (m *SubjectAccessReview) Marshal() (data []byte, err error)

func (*SubjectAccessReview) MarshalTo added in v1.3.0

func (m *SubjectAccessReview) MarshalTo(data []byte) (int, error)

func (*SubjectAccessReview) ProtoMessage added in v1.3.0

func (*SubjectAccessReview) ProtoMessage()

func (*SubjectAccessReview) Reset added in v1.3.0

func (m *SubjectAccessReview) Reset()

func (*SubjectAccessReview) Size added in v1.3.0

func (m *SubjectAccessReview) Size() (n int)

func (*SubjectAccessReview) String added in v1.3.0

func (this *SubjectAccessReview) String() string

func (SubjectAccessReview) SwaggerDoc added in v1.1.4

func (SubjectAccessReview) SwaggerDoc() map[string]string

func (*SubjectAccessReview) Unmarshal added in v1.3.0

func (m *SubjectAccessReview) Unmarshal(data []byte) error

type SubjectAccessReviewResponse

type SubjectAccessReviewResponse struct {
	unversioned.TypeMeta `json:",inline"`

	// Namespace is the namespace used for the access review
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// Allowed is required.  True if the action would be allowed, false otherwise.
	Allowed bool `json:"allowed" protobuf:"varint,2,opt,name=allowed"`
	// Reason is optional.  It indicates why a request was allowed or denied.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// EvaluationError is an indication that some error occurred during the authorization check.
	// It is entirely possible to get an error and be able to continue determine authorization status in spite of it.  This is
	// most common when a bound role is missing, but enough roles are still present and bound to reason about the request.
	EvaluationError string `json:"evaluationError,omitempty" protobuf:"bytes,4,opt,name=evaluationError"`
}

SubjectAccessReviewResponse describes whether or not a user or group can perform an action

func (*SubjectAccessReviewResponse) Descriptor added in v1.4.0

func (*SubjectAccessReviewResponse) Descriptor() ([]byte, []int)

func (*SubjectAccessReviewResponse) Marshal added in v1.3.0

func (m *SubjectAccessReviewResponse) Marshal() (data []byte, err error)

func (*SubjectAccessReviewResponse) MarshalTo added in v1.3.0

func (m *SubjectAccessReviewResponse) MarshalTo(data []byte) (int, error)

func (*SubjectAccessReviewResponse) ProtoMessage added in v1.3.0

func (*SubjectAccessReviewResponse) ProtoMessage()

func (*SubjectAccessReviewResponse) Reset added in v1.3.0

func (m *SubjectAccessReviewResponse) Reset()

func (*SubjectAccessReviewResponse) Size added in v1.3.0

func (m *SubjectAccessReviewResponse) Size() (n int)

func (*SubjectAccessReviewResponse) String added in v1.3.0

func (this *SubjectAccessReviewResponse) String() string

func (SubjectAccessReviewResponse) SwaggerDoc added in v1.1.4

func (SubjectAccessReviewResponse) SwaggerDoc() map[string]string

func (*SubjectAccessReviewResponse) Unmarshal added in v1.3.0

func (m *SubjectAccessReviewResponse) Unmarshal(data []byte) error

type SubjectRulesReview added in v1.4.0

type SubjectRulesReview struct {
	unversioned.TypeMeta `json:",inline"`

	// Spec adds information about how to conduct the check
	Spec SubjectRulesReviewSpec `json:"spec" protobuf:"bytes,1,opt,name=spec"`

	// Status is completed by the server to tell which permissions you have
	Status SubjectRulesReviewStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
}

SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace

func (*SubjectRulesReview) DecodeNestedObjects added in v1.4.0

func (c *SubjectRulesReview) DecodeNestedObjects(d runtime.Decoder) error

func (*SubjectRulesReview) Descriptor added in v1.4.0

func (*SubjectRulesReview) Descriptor() ([]byte, []int)

func (*SubjectRulesReview) EncodeNestedObjects added in v1.4.0

func (c *SubjectRulesReview) EncodeNestedObjects(e runtime.Encoder) error

func (*SubjectRulesReview) Marshal added in v1.4.0

func (m *SubjectRulesReview) Marshal() (data []byte, err error)

func (*SubjectRulesReview) MarshalTo added in v1.4.0

func (m *SubjectRulesReview) MarshalTo(data []byte) (int, error)

func (*SubjectRulesReview) ProtoMessage added in v1.4.0

func (*SubjectRulesReview) ProtoMessage()

func (*SubjectRulesReview) Reset added in v1.4.0

func (m *SubjectRulesReview) Reset()

func (*SubjectRulesReview) Size added in v1.4.0

func (m *SubjectRulesReview) Size() (n int)

func (*SubjectRulesReview) String added in v1.4.0

func (this *SubjectRulesReview) String() string

func (SubjectRulesReview) SwaggerDoc added in v1.4.0

func (SubjectRulesReview) SwaggerDoc() map[string]string

func (*SubjectRulesReview) Unmarshal added in v1.4.0

func (m *SubjectRulesReview) Unmarshal(data []byte) error

type SubjectRulesReviewSpec added in v1.4.0

type SubjectRulesReviewSpec struct {
	// User is optional.  At least one of User and Groups must be specified.
	User string `json:"user" protobuf:"bytes,1,opt,name=user"`
	// Groups is optional.  Groups is the list of groups to which the User belongs.  At least one of User and Groups must be specified.
	Groups []string `json:"groups" protobuf:"bytes,2,rep,name=groups"`
	// Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
	Scopes OptionalScopes `json:"scopes" protobuf:"bytes,3,opt,name=scopes"`
}

SubjectRulesReviewSpec adds information about how to conduct the check

func (*SubjectRulesReviewSpec) Descriptor added in v1.4.0

func (*SubjectRulesReviewSpec) Descriptor() ([]byte, []int)

func (*SubjectRulesReviewSpec) Marshal added in v1.4.0

func (m *SubjectRulesReviewSpec) Marshal() (data []byte, err error)

func (*SubjectRulesReviewSpec) MarshalTo added in v1.4.0

func (m *SubjectRulesReviewSpec) MarshalTo(data []byte) (int, error)

func (*SubjectRulesReviewSpec) ProtoMessage added in v1.4.0

func (*SubjectRulesReviewSpec) ProtoMessage()

func (*SubjectRulesReviewSpec) Reset added in v1.4.0

func (m *SubjectRulesReviewSpec) Reset()

func (*SubjectRulesReviewSpec) Size added in v1.4.0

func (m *SubjectRulesReviewSpec) Size() (n int)

func (*SubjectRulesReviewSpec) String added in v1.4.0

func (this *SubjectRulesReviewSpec) String() string

func (SubjectRulesReviewSpec) SwaggerDoc added in v1.4.0

func (SubjectRulesReviewSpec) SwaggerDoc() map[string]string

func (*SubjectRulesReviewSpec) Unmarshal added in v1.4.0

func (m *SubjectRulesReviewSpec) Unmarshal(data []byte) error

type SubjectRulesReviewStatus added in v1.3.0

type SubjectRulesReviewStatus struct {
	// Rules is the list of rules (no particular sort) that are allowed for the subject
	Rules []PolicyRule `json:"rules" protobuf:"bytes,1,rep,name=rules"`
	// EvaluationError can appear in combination with Rules.  It means some error happened during evaluation
	// that may have prevented additional rules from being populated.
	EvaluationError string `json:"evaluationError,omitempty" protobuf:"bytes,2,opt,name=evaluationError"`
}

SubjectRulesReviewStatus is contains the result of a rules check

func (*SubjectRulesReviewStatus) Descriptor added in v1.4.0

func (*SubjectRulesReviewStatus) Descriptor() ([]byte, []int)

func (*SubjectRulesReviewStatus) Marshal added in v1.3.0

func (m *SubjectRulesReviewStatus) Marshal() (data []byte, err error)

func (*SubjectRulesReviewStatus) MarshalTo added in v1.3.0

func (m *SubjectRulesReviewStatus) MarshalTo(data []byte) (int, error)

func (*SubjectRulesReviewStatus) ProtoMessage added in v1.3.0

func (*SubjectRulesReviewStatus) ProtoMessage()

func (*SubjectRulesReviewStatus) Reset added in v1.3.0

func (m *SubjectRulesReviewStatus) Reset()

func (*SubjectRulesReviewStatus) Size added in v1.3.0

func (m *SubjectRulesReviewStatus) Size() (n int)

func (*SubjectRulesReviewStatus) String added in v1.3.0

func (this *SubjectRulesReviewStatus) String() string

func (SubjectRulesReviewStatus) SwaggerDoc added in v1.3.0

func (SubjectRulesReviewStatus) SwaggerDoc() map[string]string

func (*SubjectRulesReviewStatus) Unmarshal added in v1.3.0

func (m *SubjectRulesReviewStatus) Unmarshal(data []byte) error

type UserRestriction added in v1.4.0

type UserRestriction struct {
	// Users specifies a list of literal user names.
	Users []string `json:"users" protobuf:"bytes,1,rep,name=users"`

	// Groups specifies a list of literal group names.
	Groups []string `json:"groups" protobuf:"bytes,2,rep,name=groups"`

	// Selectors specifies a list of label selectors over user labels.
	Selectors []unversioned.LabelSelector `json:"labels" protobuf:"bytes,3,rep,name=labels"`
}

UserRestriction matches a user either by a string match on the user name, a string match on the name of a group to which the user belongs, or a label selector applied to the user labels.

func (*UserRestriction) Descriptor added in v1.4.0

func (*UserRestriction) Descriptor() ([]byte, []int)

func (*UserRestriction) Marshal added in v1.4.0

func (m *UserRestriction) Marshal() (data []byte, err error)

func (*UserRestriction) MarshalTo added in v1.4.0

func (m *UserRestriction) MarshalTo(data []byte) (int, error)

func (*UserRestriction) ProtoMessage added in v1.4.0

func (*UserRestriction) ProtoMessage()

func (*UserRestriction) Reset added in v1.4.0

func (m *UserRestriction) Reset()

func (*UserRestriction) Size added in v1.4.0

func (m *UserRestriction) Size() (n int)

func (*UserRestriction) String added in v1.4.0

func (this *UserRestriction) String() string

func (UserRestriction) SwaggerDoc added in v1.4.0

func (UserRestriction) SwaggerDoc() map[string]string

func (*UserRestriction) Unmarshal added in v1.4.0

func (m *UserRestriction) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL