Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +genconversion=true
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 IsPersonalSubjectAccessReview LocalResourceAccessReview LocalSubjectAccessReview NamedClusterRole NamedClusterRoleBinding NamedRole NamedRoleBinding OptionalNames OptionalScopes Policy PolicyBinding PolicyBindingList PolicyList PolicyRule ResourceAccessReview ResourceAccessReviewResponse Role RoleBinding RoleBindingList RoleList SelfSubjectRulesReview SelfSubjectRulesReviewSpec SubjectAccessReview SubjectAccessReviewResponse SubjectRulesReviewStatus
Index ¶
- Constants
- Variables
- func AddToScheme(scheme *runtime.Scheme)
- func Convert_api_Action_To_v1_Action(in *authorization_api.Action, out *Action, s conversion.Scope) error
- func Convert_api_ClusterPolicyBindingList_To_v1_ClusterPolicyBindingList(in *authorization_api.ClusterPolicyBindingList, out *ClusterPolicyBindingList, ...) error
- func Convert_api_ClusterPolicyBinding_To_v1_ClusterPolicyBinding(in *authorization_api.ClusterPolicyBinding, out *ClusterPolicyBinding, ...) error
- func Convert_api_ClusterPolicyList_To_v1_ClusterPolicyList(in *authorization_api.ClusterPolicyList, out *ClusterPolicyList, ...) error
- func Convert_api_ClusterPolicy_To_v1_ClusterPolicy(in *authorization_api.ClusterPolicy, out *ClusterPolicy, s conversion.Scope) error
- func Convert_api_ClusterRoleBindingList_To_v1_ClusterRoleBindingList(in *authorization_api.ClusterRoleBindingList, out *ClusterRoleBindingList, ...) error
- func Convert_api_ClusterRoleBinding_To_v1_ClusterRoleBinding(in *newer.ClusterRoleBinding, out *ClusterRoleBinding, s conversion.Scope) error
- func Convert_api_ClusterRoleBindingsByName_To_v1_NamedClusterRoleBindings(in *newer.ClusterRoleBindingsByName, out *NamedClusterRoleBindings, ...) error
- func Convert_api_ClusterRoleList_To_v1_ClusterRoleList(in *authorization_api.ClusterRoleList, out *ClusterRoleList, ...) error
- func Convert_api_ClusterRole_To_v1_ClusterRole(in *authorization_api.ClusterRole, out *ClusterRole, s conversion.Scope) error
- func Convert_api_ClusterRolesByName_To_v1_NamedClusterRoles(in *newer.ClusterRolesByName, out *NamedClusterRoles, s conversion.Scope) error
- func Convert_api_IsPersonalSubjectAccessReview_To_v1_IsPersonalSubjectAccessReview(in *authorization_api.IsPersonalSubjectAccessReview, ...) error
- func Convert_api_LocalResourceAccessReview_To_v1_LocalResourceAccessReview(in *authorization_api.LocalResourceAccessReview, ...) error
- func Convert_api_LocalSubjectAccessReview_To_v1_LocalSubjectAccessReview(in *newer.LocalSubjectAccessReview, out *LocalSubjectAccessReview, ...) error
- func Convert_api_PolicyBindingList_To_v1_PolicyBindingList(in *authorization_api.PolicyBindingList, out *PolicyBindingList, ...) error
- func Convert_api_PolicyBinding_To_v1_PolicyBinding(in *authorization_api.PolicyBinding, out *PolicyBinding, s conversion.Scope) error
- func Convert_api_PolicyList_To_v1_PolicyList(in *authorization_api.PolicyList, out *PolicyList, s conversion.Scope) error
- func Convert_api_PolicyRule_To_v1_PolicyRule(in *newer.PolicyRule, out *PolicyRule, s conversion.Scope) error
- func Convert_api_Policy_To_v1_Policy(in *authorization_api.Policy, out *Policy, s conversion.Scope) error
- func Convert_api_ResourceAccessReviewResponse_To_v1_ResourceAccessReviewResponse(in *newer.ResourceAccessReviewResponse, out *ResourceAccessReviewResponse, ...) error
- func Convert_api_ResourceAccessReview_To_v1_ResourceAccessReview(in *authorization_api.ResourceAccessReview, out *ResourceAccessReview, ...) error
- func Convert_api_RoleBindingList_To_v1_RoleBindingList(in *authorization_api.RoleBindingList, out *RoleBindingList, ...) error
- func Convert_api_RoleBinding_To_v1_RoleBinding(in *newer.RoleBinding, out *RoleBinding, s conversion.Scope) error
- func Convert_api_RoleBindingsByName_To_v1_NamedRoleBindings(in *newer.RoleBindingsByName, out *NamedRoleBindings, s conversion.Scope) error
- func Convert_api_RoleList_To_v1_RoleList(in *authorization_api.RoleList, out *RoleList, s conversion.Scope) error
- func Convert_api_Role_To_v1_Role(in *authorization_api.Role, out *Role, s conversion.Scope) error
- func Convert_api_RolesByName_To_v1_NamedRoles(in *newer.RolesByName, out *NamedRoles, s conversion.Scope) error
- func Convert_api_SelfSubjectRulesReviewSpec_To_v1_SelfSubjectRulesReviewSpec(in *authorization_api.SelfSubjectRulesReviewSpec, ...) error
- func Convert_api_SelfSubjectRulesReview_To_v1_SelfSubjectRulesReview(in *authorization_api.SelfSubjectRulesReview, out *SelfSubjectRulesReview, ...) error
- func Convert_api_SubjectAccessReviewResponse_To_v1_SubjectAccessReviewResponse(in *authorization_api.SubjectAccessReviewResponse, ...) error
- func Convert_api_SubjectAccessReview_To_v1_SubjectAccessReview(in *newer.SubjectAccessReview, out *SubjectAccessReview, s conversion.Scope) error
- func Convert_api_SubjectRulesReviewStatus_To_v1_SubjectRulesReviewStatus(in *authorization_api.SubjectRulesReviewStatus, out *SubjectRulesReviewStatus, ...) error
- func Convert_v1_Action_To_api_Action(in *Action, out *authorization_api.Action, s conversion.Scope) error
- func Convert_v1_ClusterPolicyBindingList_To_api_ClusterPolicyBindingList(in *ClusterPolicyBindingList, out *authorization_api.ClusterPolicyBindingList, ...) error
- func Convert_v1_ClusterPolicyBinding_To_api_ClusterPolicyBinding(in *ClusterPolicyBinding, out *newer.ClusterPolicyBinding, s conversion.Scope) error
- func Convert_v1_ClusterPolicyList_To_api_ClusterPolicyList(in *ClusterPolicyList, out *authorization_api.ClusterPolicyList, ...) error
- func Convert_v1_ClusterPolicy_To_api_ClusterPolicy(in *ClusterPolicy, out *newer.ClusterPolicy, s conversion.Scope) error
- func Convert_v1_ClusterRoleBindingList_To_api_ClusterRoleBindingList(in *ClusterRoleBindingList, out *authorization_api.ClusterRoleBindingList, ...) error
- func Convert_v1_ClusterRoleBinding_To_api_ClusterRoleBinding(in *ClusterRoleBinding, out *newer.ClusterRoleBinding, s conversion.Scope) error
- func Convert_v1_ClusterRoleList_To_api_ClusterRoleList(in *ClusterRoleList, out *authorization_api.ClusterRoleList, ...) error
- func Convert_v1_ClusterRole_To_api_ClusterRole(in *ClusterRole, out *authorization_api.ClusterRole, s conversion.Scope) error
- func Convert_v1_IsPersonalSubjectAccessReview_To_api_IsPersonalSubjectAccessReview(in *IsPersonalSubjectAccessReview, ...) error
- func Convert_v1_LocalResourceAccessReview_To_api_LocalResourceAccessReview(in *LocalResourceAccessReview, ...) error
- func Convert_v1_LocalSubjectAccessReview_To_api_LocalSubjectAccessReview(in *LocalSubjectAccessReview, out *newer.LocalSubjectAccessReview, ...) error
- func Convert_v1_NamedClusterRoleBindings_To_api_ClusterRoleBindingsByName(in *NamedClusterRoleBindings, out *newer.ClusterRoleBindingsByName, ...) error
- func Convert_v1_NamedClusterRoles_To_api_ClusterRolesByName(in *NamedClusterRoles, out *newer.ClusterRolesByName, s conversion.Scope) error
- func Convert_v1_NamedRoleBindings_To_api_RoleBindingsByName(in *NamedRoleBindings, out *newer.RoleBindingsByName, s conversion.Scope) error
- func Convert_v1_NamedRoles_To_api_RolesByName(in *NamedRoles, out *newer.RolesByName, s conversion.Scope) error
- func Convert_v1_PolicyBindingList_To_api_PolicyBindingList(in *PolicyBindingList, out *authorization_api.PolicyBindingList, ...) error
- func Convert_v1_PolicyBinding_To_api_PolicyBinding(in *PolicyBinding, out *newer.PolicyBinding, s conversion.Scope) error
- func Convert_v1_PolicyList_To_api_PolicyList(in *PolicyList, out *authorization_api.PolicyList, s conversion.Scope) error
- func Convert_v1_PolicyRule_To_api_PolicyRule(in *PolicyRule, out *newer.PolicyRule, s conversion.Scope) error
- func Convert_v1_Policy_To_api_Policy(in *Policy, out *newer.Policy, s conversion.Scope) error
- func Convert_v1_ResourceAccessReviewResponse_To_api_ResourceAccessReviewResponse(in *ResourceAccessReviewResponse, out *newer.ResourceAccessReviewResponse, ...) error
- func Convert_v1_ResourceAccessReview_To_api_ResourceAccessReview(in *ResourceAccessReview, out *authorization_api.ResourceAccessReview, ...) error
- func Convert_v1_RoleBindingList_To_api_RoleBindingList(in *RoleBindingList, out *authorization_api.RoleBindingList, ...) error
- func Convert_v1_RoleBinding_To_api_RoleBinding(in *RoleBinding, out *newer.RoleBinding, s conversion.Scope) error
- func Convert_v1_RoleList_To_api_RoleList(in *RoleList, out *authorization_api.RoleList, s conversion.Scope) error
- func Convert_v1_Role_To_api_Role(in *Role, out *authorization_api.Role, s conversion.Scope) error
- func Convert_v1_SelfSubjectRulesReviewSpec_To_api_SelfSubjectRulesReviewSpec(in *SelfSubjectRulesReviewSpec, ...) error
- func Convert_v1_SelfSubjectRulesReview_To_api_SelfSubjectRulesReview(in *SelfSubjectRulesReview, out *authorization_api.SelfSubjectRulesReview, ...) error
- func Convert_v1_SubjectAccessReviewResponse_To_api_SubjectAccessReviewResponse(in *SubjectAccessReviewResponse, ...) error
- func Convert_v1_SubjectAccessReview_To_api_SubjectAccessReview(in *SubjectAccessReview, out *newer.SubjectAccessReview, s conversion.Scope) error
- func Convert_v1_SubjectRulesReviewStatus_To_api_SubjectRulesReviewStatus(in *SubjectRulesReviewStatus, out *authorization_api.SubjectRulesReviewStatus, ...) error
- func DeepCopy_v1_Action(in Action, out *Action, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterPolicy(in ClusterPolicy, out *ClusterPolicy, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterPolicyBinding(in ClusterPolicyBinding, out *ClusterPolicyBinding, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterPolicyBindingList(in ClusterPolicyBindingList, out *ClusterPolicyBindingList, ...) error
- func DeepCopy_v1_ClusterPolicyList(in ClusterPolicyList, out *ClusterPolicyList, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterRole(in ClusterRole, out *ClusterRole, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterRoleBinding(in ClusterRoleBinding, out *ClusterRoleBinding, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterRoleBindingList(in ClusterRoleBindingList, out *ClusterRoleBindingList, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterRoleList(in ClusterRoleList, out *ClusterRoleList, c *conversion.Cloner) error
- func DeepCopy_v1_IsPersonalSubjectAccessReview(in IsPersonalSubjectAccessReview, out *IsPersonalSubjectAccessReview, ...) error
- func DeepCopy_v1_LocalResourceAccessReview(in LocalResourceAccessReview, out *LocalResourceAccessReview, ...) error
- func DeepCopy_v1_LocalSubjectAccessReview(in LocalSubjectAccessReview, out *LocalSubjectAccessReview, ...) error
- func DeepCopy_v1_NamedClusterRole(in NamedClusterRole, out *NamedClusterRole, c *conversion.Cloner) error
- func DeepCopy_v1_NamedClusterRoleBinding(in NamedClusterRoleBinding, out *NamedClusterRoleBinding, c *conversion.Cloner) error
- func DeepCopy_v1_NamedRole(in NamedRole, out *NamedRole, c *conversion.Cloner) error
- func DeepCopy_v1_NamedRoleBinding(in NamedRoleBinding, out *NamedRoleBinding, c *conversion.Cloner) error
- func DeepCopy_v1_Policy(in Policy, out *Policy, c *conversion.Cloner) error
- func DeepCopy_v1_PolicyBinding(in PolicyBinding, out *PolicyBinding, c *conversion.Cloner) error
- func DeepCopy_v1_PolicyBindingList(in PolicyBindingList, out *PolicyBindingList, c *conversion.Cloner) error
- func DeepCopy_v1_PolicyList(in PolicyList, out *PolicyList, c *conversion.Cloner) error
- func DeepCopy_v1_PolicyRule(in PolicyRule, out *PolicyRule, c *conversion.Cloner) error
- func DeepCopy_v1_ResourceAccessReview(in ResourceAccessReview, out *ResourceAccessReview, c *conversion.Cloner) error
- func DeepCopy_v1_ResourceAccessReviewResponse(in ResourceAccessReviewResponse, out *ResourceAccessReviewResponse, ...) error
- func DeepCopy_v1_Role(in Role, out *Role, c *conversion.Cloner) error
- func DeepCopy_v1_RoleBinding(in RoleBinding, out *RoleBinding, c *conversion.Cloner) error
- func DeepCopy_v1_RoleBindingList(in RoleBindingList, out *RoleBindingList, c *conversion.Cloner) error
- func DeepCopy_v1_RoleList(in RoleList, out *RoleList, c *conversion.Cloner) error
- func DeepCopy_v1_SelfSubjectRulesReview(in SelfSubjectRulesReview, out *SelfSubjectRulesReview, c *conversion.Cloner) error
- func DeepCopy_v1_SelfSubjectRulesReviewSpec(in SelfSubjectRulesReviewSpec, out *SelfSubjectRulesReviewSpec, ...) error
- func DeepCopy_v1_SubjectAccessReview(in SubjectAccessReview, out *SubjectAccessReview, c *conversion.Cloner) error
- func DeepCopy_v1_SubjectAccessReviewResponse(in SubjectAccessReviewResponse, out *SubjectAccessReviewResponse, ...) error
- func DeepCopy_v1_SubjectRulesReviewStatus(in SubjectRulesReviewStatus, out *SubjectRulesReviewStatus, ...) error
- func SetDefaults_PolicyRule(obj *PolicyRule)
- type Action
- func (m *Action) Marshal() (data []byte, err error)
- func (m *Action) MarshalTo(data []byte) (int, error)
- func (*Action) ProtoMessage()
- func (m *Action) Reset()
- func (m *Action) Size() (n int)
- func (m *Action) String() string
- func (Action) SwaggerDoc() map[string]string
- func (m *Action) Unmarshal(data []byte) error
- type ClusterPolicy
- func (c *ClusterPolicy) DecodeNestedObjects(d runtime.Decoder) error
- func (c *ClusterPolicy) EncodeNestedObjects(e runtime.Encoder) error
- func (m *ClusterPolicy) Marshal() (data []byte, err error)
- func (m *ClusterPolicy) MarshalTo(data []byte) (int, error)
- func (*ClusterPolicy) ProtoMessage()
- func (m *ClusterPolicy) Reset()
- func (m *ClusterPolicy) Size() (n int)
- func (m *ClusterPolicy) String() string
- func (ClusterPolicy) SwaggerDoc() map[string]string
- func (m *ClusterPolicy) Unmarshal(data []byte) error
- type ClusterPolicyBinding
- func (m *ClusterPolicyBinding) Marshal() (data []byte, err error)
- func (m *ClusterPolicyBinding) MarshalTo(data []byte) (int, error)
- func (*ClusterPolicyBinding) ProtoMessage()
- func (m *ClusterPolicyBinding) Reset()
- func (m *ClusterPolicyBinding) Size() (n int)
- func (m *ClusterPolicyBinding) String() string
- func (ClusterPolicyBinding) SwaggerDoc() map[string]string
- func (m *ClusterPolicyBinding) Unmarshal(data []byte) error
- type ClusterPolicyBindingList
- func (m *ClusterPolicyBindingList) Marshal() (data []byte, err error)
- func (m *ClusterPolicyBindingList) MarshalTo(data []byte) (int, error)
- func (*ClusterPolicyBindingList) ProtoMessage()
- func (m *ClusterPolicyBindingList) Reset()
- func (m *ClusterPolicyBindingList) Size() (n int)
- func (m *ClusterPolicyBindingList) String() string
- func (ClusterPolicyBindingList) SwaggerDoc() map[string]string
- func (m *ClusterPolicyBindingList) Unmarshal(data []byte) error
- type ClusterPolicyList
- func (c *ClusterPolicyList) DecodeNestedObjects(d runtime.Decoder) error
- func (c *ClusterPolicyList) EncodeNestedObjects(e runtime.Encoder) error
- func (m *ClusterPolicyList) Marshal() (data []byte, err error)
- func (m *ClusterPolicyList) MarshalTo(data []byte) (int, error)
- func (*ClusterPolicyList) ProtoMessage()
- func (m *ClusterPolicyList) Reset()
- func (m *ClusterPolicyList) Size() (n int)
- func (m *ClusterPolicyList) String() string
- func (ClusterPolicyList) SwaggerDoc() map[string]string
- func (m *ClusterPolicyList) Unmarshal(data []byte) error
- type ClusterRole
- func (c *ClusterRole) DecodeNestedObjects(d runtime.Decoder) error
- func (c *ClusterRole) EncodeNestedObjects(e runtime.Encoder) error
- func (m *ClusterRole) Marshal() (data []byte, err error)
- func (m *ClusterRole) MarshalTo(data []byte) (int, error)
- func (*ClusterRole) ProtoMessage()
- func (m *ClusterRole) Reset()
- func (m *ClusterRole) Size() (n int)
- func (m *ClusterRole) String() string
- func (ClusterRole) SwaggerDoc() map[string]string
- func (m *ClusterRole) Unmarshal(data []byte) error
- type ClusterRoleBinding
- func (m *ClusterRoleBinding) Marshal() (data []byte, err error)
- func (m *ClusterRoleBinding) MarshalTo(data []byte) (int, error)
- func (*ClusterRoleBinding) ProtoMessage()
- func (m *ClusterRoleBinding) Reset()
- func (m *ClusterRoleBinding) Size() (n int)
- func (m *ClusterRoleBinding) String() string
- func (ClusterRoleBinding) SwaggerDoc() map[string]string
- func (m *ClusterRoleBinding) Unmarshal(data []byte) error
- type ClusterRoleBindingList
- func (m *ClusterRoleBindingList) Marshal() (data []byte, err error)
- func (m *ClusterRoleBindingList) MarshalTo(data []byte) (int, error)
- func (*ClusterRoleBindingList) ProtoMessage()
- func (m *ClusterRoleBindingList) Reset()
- func (m *ClusterRoleBindingList) Size() (n int)
- func (m *ClusterRoleBindingList) String() string
- func (ClusterRoleBindingList) SwaggerDoc() map[string]string
- func (m *ClusterRoleBindingList) Unmarshal(data []byte) error
- type ClusterRoleList
- func (c *ClusterRoleList) DecodeNestedObjects(d runtime.Decoder) error
- func (c *ClusterRoleList) EncodeNestedObjects(e runtime.Encoder) error
- func (m *ClusterRoleList) Marshal() (data []byte, err error)
- func (m *ClusterRoleList) MarshalTo(data []byte) (int, error)
- func (*ClusterRoleList) ProtoMessage()
- func (m *ClusterRoleList) Reset()
- func (m *ClusterRoleList) Size() (n int)
- func (m *ClusterRoleList) String() string
- func (ClusterRoleList) SwaggerDoc() map[string]string
- func (m *ClusterRoleList) Unmarshal(data []byte) error
- type IsPersonalSubjectAccessReview
- func (m *IsPersonalSubjectAccessReview) Marshal() (data []byte, err error)
- func (m *IsPersonalSubjectAccessReview) MarshalTo(data []byte) (int, error)
- func (*IsPersonalSubjectAccessReview) ProtoMessage()
- func (m *IsPersonalSubjectAccessReview) Reset()
- func (m *IsPersonalSubjectAccessReview) Size() (n int)
- func (m *IsPersonalSubjectAccessReview) String() string
- func (IsPersonalSubjectAccessReview) SwaggerDoc() map[string]string
- func (m *IsPersonalSubjectAccessReview) Unmarshal(data []byte) error
- type LocalResourceAccessReview
- func (m *LocalResourceAccessReview) Marshal() (data []byte, err error)
- func (m *LocalResourceAccessReview) MarshalTo(data []byte) (int, error)
- func (*LocalResourceAccessReview) ProtoMessage()
- func (m *LocalResourceAccessReview) Reset()
- func (m *LocalResourceAccessReview) Size() (n int)
- func (m *LocalResourceAccessReview) String() string
- func (LocalResourceAccessReview) SwaggerDoc() map[string]string
- func (m *LocalResourceAccessReview) Unmarshal(data []byte) error
- type LocalSubjectAccessReview
- func (m *LocalSubjectAccessReview) Marshal() (data []byte, err error)
- func (m *LocalSubjectAccessReview) MarshalTo(data []byte) (int, error)
- func (*LocalSubjectAccessReview) ProtoMessage()
- func (m *LocalSubjectAccessReview) Reset()
- func (m *LocalSubjectAccessReview) Size() (n int)
- func (m *LocalSubjectAccessReview) String() string
- func (LocalSubjectAccessReview) SwaggerDoc() map[string]string
- func (m *LocalSubjectAccessReview) Unmarshal(data []byte) error
- type NamedClusterRole
- func (m *NamedClusterRole) Marshal() (data []byte, err error)
- func (m *NamedClusterRole) MarshalTo(data []byte) (int, error)
- func (*NamedClusterRole) ProtoMessage()
- func (m *NamedClusterRole) Reset()
- func (m *NamedClusterRole) Size() (n int)
- func (m *NamedClusterRole) String() string
- func (NamedClusterRole) SwaggerDoc() map[string]string
- func (m *NamedClusterRole) Unmarshal(data []byte) error
- type NamedClusterRoleBinding
- func (m *NamedClusterRoleBinding) Marshal() (data []byte, err error)
- func (m *NamedClusterRoleBinding) MarshalTo(data []byte) (int, error)
- func (*NamedClusterRoleBinding) ProtoMessage()
- func (m *NamedClusterRoleBinding) Reset()
- func (m *NamedClusterRoleBinding) Size() (n int)
- func (m *NamedClusterRoleBinding) String() string
- func (NamedClusterRoleBinding) SwaggerDoc() map[string]string
- func (m *NamedClusterRoleBinding) Unmarshal(data []byte) error
- type NamedClusterRoleBindings
- type NamedClusterRoles
- type NamedRole
- func (m *NamedRole) Marshal() (data []byte, err error)
- func (m *NamedRole) MarshalTo(data []byte) (int, error)
- func (*NamedRole) ProtoMessage()
- func (m *NamedRole) Reset()
- func (m *NamedRole) Size() (n int)
- func (m *NamedRole) String() string
- func (NamedRole) SwaggerDoc() map[string]string
- func (m *NamedRole) Unmarshal(data []byte) error
- type NamedRoleBinding
- func (m *NamedRoleBinding) Marshal() (data []byte, err error)
- func (m *NamedRoleBinding) MarshalTo(data []byte) (int, error)
- func (*NamedRoleBinding) ProtoMessage()
- func (m *NamedRoleBinding) Reset()
- func (m *NamedRoleBinding) Size() (n int)
- func (m *NamedRoleBinding) String() string
- func (NamedRoleBinding) SwaggerDoc() map[string]string
- func (m *NamedRoleBinding) Unmarshal(data []byte) error
- type NamedRoleBindings
- type NamedRoles
- type OptionalNames
- func (m OptionalNames) Marshal() (data []byte, err error)
- func (m OptionalNames) MarshalTo(data []byte) (int, error)
- func (*OptionalNames) ProtoMessage()
- func (m *OptionalNames) Reset()
- func (m OptionalNames) Size() (n int)
- func (m *OptionalNames) String() string
- func (m *OptionalNames) Unmarshal(data []byte) error
- type OptionalScopes
- func (m OptionalScopes) Marshal() (data []byte, err error)
- func (m OptionalScopes) MarshalTo(data []byte) (int, error)
- func (*OptionalScopes) ProtoMessage()
- func (m *OptionalScopes) Reset()
- func (m OptionalScopes) Size() (n int)
- func (m *OptionalScopes) String() string
- func (m *OptionalScopes) Unmarshal(data []byte) error
- type Policy
- func (c *Policy) DecodeNestedObjects(d runtime.Decoder) error
- func (c *Policy) EncodeNestedObjects(e runtime.Encoder) error
- func (m *Policy) Marshal() (data []byte, err error)
- func (m *Policy) MarshalTo(data []byte) (int, error)
- func (*Policy) ProtoMessage()
- func (m *Policy) Reset()
- func (m *Policy) Size() (n int)
- func (m *Policy) String() string
- func (Policy) SwaggerDoc() map[string]string
- func (m *Policy) Unmarshal(data []byte) error
- type PolicyBinding
- func (m *PolicyBinding) Marshal() (data []byte, err error)
- func (m *PolicyBinding) MarshalTo(data []byte) (int, error)
- func (*PolicyBinding) ProtoMessage()
- func (m *PolicyBinding) Reset()
- func (m *PolicyBinding) Size() (n int)
- func (m *PolicyBinding) String() string
- func (PolicyBinding) SwaggerDoc() map[string]string
- func (m *PolicyBinding) Unmarshal(data []byte) error
- type PolicyBindingList
- func (m *PolicyBindingList) Marshal() (data []byte, err error)
- func (m *PolicyBindingList) MarshalTo(data []byte) (int, error)
- func (*PolicyBindingList) ProtoMessage()
- func (m *PolicyBindingList) Reset()
- func (m *PolicyBindingList) Size() (n int)
- func (m *PolicyBindingList) String() string
- func (PolicyBindingList) SwaggerDoc() map[string]string
- func (m *PolicyBindingList) Unmarshal(data []byte) error
- type PolicyList
- func (c *PolicyList) DecodeNestedObjects(d runtime.Decoder) error
- func (c *PolicyList) EncodeNestedObjects(e runtime.Encoder) error
- func (m *PolicyList) Marshal() (data []byte, err error)
- func (m *PolicyList) MarshalTo(data []byte) (int, error)
- func (*PolicyList) ProtoMessage()
- func (m *PolicyList) Reset()
- func (m *PolicyList) Size() (n int)
- func (m *PolicyList) String() string
- func (PolicyList) SwaggerDoc() map[string]string
- func (m *PolicyList) Unmarshal(data []byte) error
- type PolicyRule
- func (c *PolicyRule) DecodeNestedObjects(d runtime.Decoder) error
- func (c *PolicyRule) EncodeNestedObjects(e runtime.Encoder) error
- func (m *PolicyRule) Marshal() (data []byte, err error)
- func (m *PolicyRule) MarshalTo(data []byte) (int, error)
- func (*PolicyRule) ProtoMessage()
- func (m *PolicyRule) Reset()
- func (m *PolicyRule) Size() (n int)
- func (m *PolicyRule) String() string
- func (PolicyRule) SwaggerDoc() map[string]string
- func (m *PolicyRule) Unmarshal(data []byte) error
- type ResourceAccessReview
- func (m *ResourceAccessReview) Marshal() (data []byte, err error)
- func (m *ResourceAccessReview) MarshalTo(data []byte) (int, error)
- func (*ResourceAccessReview) ProtoMessage()
- func (m *ResourceAccessReview) Reset()
- func (m *ResourceAccessReview) Size() (n int)
- func (m *ResourceAccessReview) String() string
- func (ResourceAccessReview) SwaggerDoc() map[string]string
- func (m *ResourceAccessReview) Unmarshal(data []byte) error
- type ResourceAccessReviewResponse
- func (m *ResourceAccessReviewResponse) Marshal() (data []byte, err error)
- func (m *ResourceAccessReviewResponse) MarshalTo(data []byte) (int, error)
- func (*ResourceAccessReviewResponse) ProtoMessage()
- func (m *ResourceAccessReviewResponse) Reset()
- func (m *ResourceAccessReviewResponse) Size() (n int)
- func (m *ResourceAccessReviewResponse) String() string
- func (ResourceAccessReviewResponse) SwaggerDoc() map[string]string
- func (m *ResourceAccessReviewResponse) Unmarshal(data []byte) error
- type Role
- func (c *Role) DecodeNestedObjects(d runtime.Decoder) error
- func (c *Role) EncodeNestedObjects(e runtime.Encoder) error
- func (m *Role) Marshal() (data []byte, err error)
- func (m *Role) MarshalTo(data []byte) (int, error)
- func (*Role) ProtoMessage()
- func (m *Role) Reset()
- func (m *Role) Size() (n int)
- func (m *Role) String() string
- func (Role) SwaggerDoc() map[string]string
- func (m *Role) Unmarshal(data []byte) error
- type RoleBinding
- func (m *RoleBinding) Marshal() (data []byte, err error)
- func (m *RoleBinding) MarshalTo(data []byte) (int, error)
- func (*RoleBinding) ProtoMessage()
- func (m *RoleBinding) Reset()
- func (m *RoleBinding) Size() (n int)
- func (m *RoleBinding) String() string
- func (RoleBinding) SwaggerDoc() map[string]string
- func (m *RoleBinding) Unmarshal(data []byte) error
- type RoleBindingList
- func (m *RoleBindingList) Marshal() (data []byte, err error)
- func (m *RoleBindingList) MarshalTo(data []byte) (int, error)
- func (*RoleBindingList) ProtoMessage()
- func (m *RoleBindingList) Reset()
- func (m *RoleBindingList) Size() (n int)
- func (m *RoleBindingList) String() string
- func (RoleBindingList) SwaggerDoc() map[string]string
- func (m *RoleBindingList) Unmarshal(data []byte) error
- type RoleList
- func (c *RoleList) DecodeNestedObjects(d runtime.Decoder) error
- func (c *RoleList) EncodeNestedObjects(e runtime.Encoder) error
- func (m *RoleList) Marshal() (data []byte, err error)
- func (m *RoleList) MarshalTo(data []byte) (int, error)
- func (*RoleList) ProtoMessage()
- func (m *RoleList) Reset()
- func (m *RoleList) Size() (n int)
- func (m *RoleList) String() string
- func (RoleList) SwaggerDoc() map[string]string
- func (m *RoleList) Unmarshal(data []byte) error
- type SelfSubjectRulesReview
- func (c *SelfSubjectRulesReview) DecodeNestedObjects(d runtime.Decoder) error
- func (c *SelfSubjectRulesReview) EncodeNestedObjects(e runtime.Encoder) error
- func (m *SelfSubjectRulesReview) Marshal() (data []byte, err error)
- func (m *SelfSubjectRulesReview) MarshalTo(data []byte) (int, error)
- func (*SelfSubjectRulesReview) ProtoMessage()
- func (m *SelfSubjectRulesReview) Reset()
- func (m *SelfSubjectRulesReview) Size() (n int)
- func (m *SelfSubjectRulesReview) String() string
- func (SelfSubjectRulesReview) SwaggerDoc() map[string]string
- func (m *SelfSubjectRulesReview) Unmarshal(data []byte) error
- type SelfSubjectRulesReviewSpec
- func (m *SelfSubjectRulesReviewSpec) Marshal() (data []byte, err error)
- func (m *SelfSubjectRulesReviewSpec) MarshalTo(data []byte) (int, error)
- func (*SelfSubjectRulesReviewSpec) ProtoMessage()
- func (m *SelfSubjectRulesReviewSpec) Reset()
- func (m *SelfSubjectRulesReviewSpec) Size() (n int)
- func (m *SelfSubjectRulesReviewSpec) String() string
- func (SelfSubjectRulesReviewSpec) SwaggerDoc() map[string]string
- func (m *SelfSubjectRulesReviewSpec) Unmarshal(data []byte) error
- type SubjectAccessReview
- func (m *SubjectAccessReview) Marshal() (data []byte, err error)
- func (m *SubjectAccessReview) MarshalTo(data []byte) (int, error)
- func (*SubjectAccessReview) ProtoMessage()
- func (m *SubjectAccessReview) Reset()
- func (m *SubjectAccessReview) Size() (n int)
- func (m *SubjectAccessReview) String() string
- func (SubjectAccessReview) SwaggerDoc() map[string]string
- func (m *SubjectAccessReview) Unmarshal(data []byte) error
- type SubjectAccessReviewResponse
- func (m *SubjectAccessReviewResponse) Marshal() (data []byte, err error)
- func (m *SubjectAccessReviewResponse) MarshalTo(data []byte) (int, error)
- func (*SubjectAccessReviewResponse) ProtoMessage()
- func (m *SubjectAccessReviewResponse) Reset()
- func (m *SubjectAccessReviewResponse) Size() (n int)
- func (m *SubjectAccessReviewResponse) String() string
- func (SubjectAccessReviewResponse) SwaggerDoc() map[string]string
- func (m *SubjectAccessReviewResponse) Unmarshal(data []byte) error
- type SubjectRulesReviewStatus
- func (m *SubjectRulesReviewStatus) Marshal() (data []byte, err error)
- func (m *SubjectRulesReviewStatus) MarshalTo(data []byte) (int, error)
- func (*SubjectRulesReviewStatus) ProtoMessage()
- func (m *SubjectRulesReviewStatus) Reset()
- func (m *SubjectRulesReviewStatus) Size() (n int)
- func (m *SubjectRulesReviewStatus) String() string
- func (SubjectRulesReviewStatus) SwaggerDoc() map[string]string
- func (m *SubjectRulesReviewStatus) Unmarshal(data []byte) error
Constants ¶
const GroupName = ""
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func AddToScheme ¶ added in v1.1.3
func Convert_api_Action_To_v1_Action ¶
func Convert_api_Action_To_v1_Action(in *authorization_api.Action, out *Action, s conversion.Scope) error
func Convert_api_ClusterPolicyBindingList_To_v1_ClusterPolicyBindingList ¶
func Convert_api_ClusterPolicyBindingList_To_v1_ClusterPolicyBindingList(in *authorization_api.ClusterPolicyBindingList, out *ClusterPolicyBindingList, s conversion.Scope) error
func Convert_api_ClusterPolicyBinding_To_v1_ClusterPolicyBinding ¶
func Convert_api_ClusterPolicyBinding_To_v1_ClusterPolicyBinding(in *authorization_api.ClusterPolicyBinding, out *ClusterPolicyBinding, s conversion.Scope) error
func Convert_api_ClusterPolicyList_To_v1_ClusterPolicyList ¶
func Convert_api_ClusterPolicyList_To_v1_ClusterPolicyList(in *authorization_api.ClusterPolicyList, out *ClusterPolicyList, s conversion.Scope) error
func Convert_api_ClusterPolicy_To_v1_ClusterPolicy ¶
func Convert_api_ClusterPolicy_To_v1_ClusterPolicy(in *authorization_api.ClusterPolicy, out *ClusterPolicy, s conversion.Scope) error
func Convert_api_ClusterRoleBindingList_To_v1_ClusterRoleBindingList ¶
func Convert_api_ClusterRoleBindingList_To_v1_ClusterRoleBindingList(in *authorization_api.ClusterRoleBindingList, out *ClusterRoleBindingList, s conversion.Scope) error
func Convert_api_ClusterRoleBinding_To_v1_ClusterRoleBinding ¶
func Convert_api_ClusterRoleBinding_To_v1_ClusterRoleBinding(in *newer.ClusterRoleBinding, out *ClusterRoleBinding, s conversion.Scope) error
func Convert_api_ClusterRoleBindingsByName_To_v1_NamedClusterRoleBindings ¶
func Convert_api_ClusterRoleBindingsByName_To_v1_NamedClusterRoleBindings(in *newer.ClusterRoleBindingsByName, out *NamedClusterRoleBindings, s conversion.Scope) error
func Convert_api_ClusterRoleList_To_v1_ClusterRoleList ¶
func Convert_api_ClusterRoleList_To_v1_ClusterRoleList(in *authorization_api.ClusterRoleList, out *ClusterRoleList, s conversion.Scope) error
func Convert_api_ClusterRole_To_v1_ClusterRole ¶
func Convert_api_ClusterRole_To_v1_ClusterRole(in *authorization_api.ClusterRole, out *ClusterRole, s conversion.Scope) error
func Convert_api_ClusterRolesByName_To_v1_NamedClusterRoles ¶
func Convert_api_ClusterRolesByName_To_v1_NamedClusterRoles(in *newer.ClusterRolesByName, out *NamedClusterRoles, s conversion.Scope) error
func Convert_api_IsPersonalSubjectAccessReview_To_v1_IsPersonalSubjectAccessReview ¶
func Convert_api_IsPersonalSubjectAccessReview_To_v1_IsPersonalSubjectAccessReview(in *authorization_api.IsPersonalSubjectAccessReview, out *IsPersonalSubjectAccessReview, s conversion.Scope) error
func Convert_api_LocalResourceAccessReview_To_v1_LocalResourceAccessReview ¶
func Convert_api_LocalResourceAccessReview_To_v1_LocalResourceAccessReview(in *authorization_api.LocalResourceAccessReview, out *LocalResourceAccessReview, s conversion.Scope) error
func Convert_api_LocalSubjectAccessReview_To_v1_LocalSubjectAccessReview ¶
func Convert_api_LocalSubjectAccessReview_To_v1_LocalSubjectAccessReview(in *newer.LocalSubjectAccessReview, out *LocalSubjectAccessReview, s conversion.Scope) error
func Convert_api_PolicyBindingList_To_v1_PolicyBindingList ¶
func Convert_api_PolicyBindingList_To_v1_PolicyBindingList(in *authorization_api.PolicyBindingList, out *PolicyBindingList, s conversion.Scope) error
func Convert_api_PolicyBinding_To_v1_PolicyBinding ¶
func Convert_api_PolicyBinding_To_v1_PolicyBinding(in *authorization_api.PolicyBinding, out *PolicyBinding, s conversion.Scope) error
func Convert_api_PolicyList_To_v1_PolicyList ¶
func Convert_api_PolicyList_To_v1_PolicyList(in *authorization_api.PolicyList, out *PolicyList, s conversion.Scope) error
func Convert_api_PolicyRule_To_v1_PolicyRule ¶
func Convert_api_PolicyRule_To_v1_PolicyRule(in *newer.PolicyRule, out *PolicyRule, s conversion.Scope) error
func Convert_api_Policy_To_v1_Policy ¶
func Convert_api_Policy_To_v1_Policy(in *authorization_api.Policy, out *Policy, s conversion.Scope) error
func Convert_api_ResourceAccessReviewResponse_To_v1_ResourceAccessReviewResponse ¶
func Convert_api_ResourceAccessReviewResponse_To_v1_ResourceAccessReviewResponse(in *newer.ResourceAccessReviewResponse, out *ResourceAccessReviewResponse, s conversion.Scope) error
func Convert_api_ResourceAccessReview_To_v1_ResourceAccessReview ¶
func Convert_api_ResourceAccessReview_To_v1_ResourceAccessReview(in *authorization_api.ResourceAccessReview, out *ResourceAccessReview, s conversion.Scope) error
func Convert_api_RoleBindingList_To_v1_RoleBindingList ¶
func Convert_api_RoleBindingList_To_v1_RoleBindingList(in *authorization_api.RoleBindingList, out *RoleBindingList, s conversion.Scope) error
func Convert_api_RoleBinding_To_v1_RoleBinding ¶
func Convert_api_RoleBinding_To_v1_RoleBinding(in *newer.RoleBinding, out *RoleBinding, s conversion.Scope) error
func Convert_api_RoleBindingsByName_To_v1_NamedRoleBindings ¶
func Convert_api_RoleBindingsByName_To_v1_NamedRoleBindings(in *newer.RoleBindingsByName, out *NamedRoleBindings, s conversion.Scope) error
func Convert_api_RoleList_To_v1_RoleList ¶
func Convert_api_RoleList_To_v1_RoleList(in *authorization_api.RoleList, out *RoleList, s conversion.Scope) error
func Convert_api_Role_To_v1_Role ¶
func Convert_api_Role_To_v1_Role(in *authorization_api.Role, out *Role, s conversion.Scope) error
func Convert_api_RolesByName_To_v1_NamedRoles ¶
func Convert_api_RolesByName_To_v1_NamedRoles(in *newer.RolesByName, out *NamedRoles, s conversion.Scope) error
func Convert_api_SelfSubjectRulesReviewSpec_To_v1_SelfSubjectRulesReviewSpec ¶
func Convert_api_SelfSubjectRulesReviewSpec_To_v1_SelfSubjectRulesReviewSpec(in *authorization_api.SelfSubjectRulesReviewSpec, out *SelfSubjectRulesReviewSpec, s conversion.Scope) error
func Convert_api_SelfSubjectRulesReview_To_v1_SelfSubjectRulesReview ¶
func Convert_api_SelfSubjectRulesReview_To_v1_SelfSubjectRulesReview(in *authorization_api.SelfSubjectRulesReview, out *SelfSubjectRulesReview, s conversion.Scope) error
func Convert_api_SubjectAccessReviewResponse_To_v1_SubjectAccessReviewResponse ¶
func Convert_api_SubjectAccessReviewResponse_To_v1_SubjectAccessReviewResponse(in *authorization_api.SubjectAccessReviewResponse, out *SubjectAccessReviewResponse, s conversion.Scope) error
func Convert_api_SubjectAccessReview_To_v1_SubjectAccessReview ¶
func Convert_api_SubjectAccessReview_To_v1_SubjectAccessReview(in *newer.SubjectAccessReview, out *SubjectAccessReview, s conversion.Scope) error
func Convert_api_SubjectRulesReviewStatus_To_v1_SubjectRulesReviewStatus ¶
func Convert_api_SubjectRulesReviewStatus_To_v1_SubjectRulesReviewStatus(in *authorization_api.SubjectRulesReviewStatus, out *SubjectRulesReviewStatus, s conversion.Scope) error
func Convert_v1_Action_To_api_Action ¶
func Convert_v1_Action_To_api_Action(in *Action, out *authorization_api.Action, s conversion.Scope) error
func Convert_v1_ClusterPolicyBindingList_To_api_ClusterPolicyBindingList ¶
func Convert_v1_ClusterPolicyBindingList_To_api_ClusterPolicyBindingList(in *ClusterPolicyBindingList, out *authorization_api.ClusterPolicyBindingList, s conversion.Scope) error
func Convert_v1_ClusterPolicyBinding_To_api_ClusterPolicyBinding ¶
func Convert_v1_ClusterPolicyBinding_To_api_ClusterPolicyBinding(in *ClusterPolicyBinding, out *newer.ClusterPolicyBinding, s conversion.Scope) error
func Convert_v1_ClusterPolicyList_To_api_ClusterPolicyList ¶
func Convert_v1_ClusterPolicyList_To_api_ClusterPolicyList(in *ClusterPolicyList, out *authorization_api.ClusterPolicyList, s conversion.Scope) error
func Convert_v1_ClusterPolicy_To_api_ClusterPolicy ¶
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 ¶
func Convert_v1_ClusterRoleBindingList_To_api_ClusterRoleBindingList(in *ClusterRoleBindingList, out *authorization_api.ClusterRoleBindingList, s conversion.Scope) error
func Convert_v1_ClusterRoleBinding_To_api_ClusterRoleBinding ¶
func Convert_v1_ClusterRoleBinding_To_api_ClusterRoleBinding(in *ClusterRoleBinding, out *newer.ClusterRoleBinding, s conversion.Scope) error
func Convert_v1_ClusterRoleList_To_api_ClusterRoleList ¶
func Convert_v1_ClusterRoleList_To_api_ClusterRoleList(in *ClusterRoleList, out *authorization_api.ClusterRoleList, s conversion.Scope) error
func Convert_v1_ClusterRole_To_api_ClusterRole ¶
func Convert_v1_ClusterRole_To_api_ClusterRole(in *ClusterRole, out *authorization_api.ClusterRole, s conversion.Scope) error
func Convert_v1_IsPersonalSubjectAccessReview_To_api_IsPersonalSubjectAccessReview ¶
func Convert_v1_IsPersonalSubjectAccessReview_To_api_IsPersonalSubjectAccessReview(in *IsPersonalSubjectAccessReview, out *authorization_api.IsPersonalSubjectAccessReview, s conversion.Scope) error
func Convert_v1_LocalResourceAccessReview_To_api_LocalResourceAccessReview ¶
func Convert_v1_LocalResourceAccessReview_To_api_LocalResourceAccessReview(in *LocalResourceAccessReview, out *authorization_api.LocalResourceAccessReview, s conversion.Scope) error
func Convert_v1_LocalSubjectAccessReview_To_api_LocalSubjectAccessReview ¶
func Convert_v1_LocalSubjectAccessReview_To_api_LocalSubjectAccessReview(in *LocalSubjectAccessReview, out *newer.LocalSubjectAccessReview, s conversion.Scope) error
func Convert_v1_NamedClusterRoleBindings_To_api_ClusterRoleBindingsByName ¶
func Convert_v1_NamedClusterRoleBindings_To_api_ClusterRoleBindingsByName(in *NamedClusterRoleBindings, out *newer.ClusterRoleBindingsByName, s conversion.Scope) error
func Convert_v1_NamedClusterRoles_To_api_ClusterRolesByName ¶
func Convert_v1_NamedClusterRoles_To_api_ClusterRolesByName(in *NamedClusterRoles, out *newer.ClusterRolesByName, s conversion.Scope) error
func Convert_v1_NamedRoleBindings_To_api_RoleBindingsByName ¶
func Convert_v1_NamedRoleBindings_To_api_RoleBindingsByName(in *NamedRoleBindings, out *newer.RoleBindingsByName, s conversion.Scope) error
func Convert_v1_NamedRoles_To_api_RolesByName ¶
func Convert_v1_NamedRoles_To_api_RolesByName(in *NamedRoles, out *newer.RolesByName, s conversion.Scope) error
func Convert_v1_PolicyBindingList_To_api_PolicyBindingList ¶
func Convert_v1_PolicyBindingList_To_api_PolicyBindingList(in *PolicyBindingList, out *authorization_api.PolicyBindingList, s conversion.Scope) error
func Convert_v1_PolicyBinding_To_api_PolicyBinding ¶
func Convert_v1_PolicyBinding_To_api_PolicyBinding(in *PolicyBinding, out *newer.PolicyBinding, s conversion.Scope) error
func Convert_v1_PolicyList_To_api_PolicyList ¶
func Convert_v1_PolicyList_To_api_PolicyList(in *PolicyList, out *authorization_api.PolicyList, s conversion.Scope) error
func Convert_v1_PolicyRule_To_api_PolicyRule ¶
func Convert_v1_PolicyRule_To_api_PolicyRule(in *PolicyRule, out *newer.PolicyRule, s conversion.Scope) error
func Convert_v1_ResourceAccessReviewResponse_To_api_ResourceAccessReviewResponse ¶
func Convert_v1_ResourceAccessReviewResponse_To_api_ResourceAccessReviewResponse(in *ResourceAccessReviewResponse, out *newer.ResourceAccessReviewResponse, s conversion.Scope) error
func Convert_v1_ResourceAccessReview_To_api_ResourceAccessReview ¶
func Convert_v1_ResourceAccessReview_To_api_ResourceAccessReview(in *ResourceAccessReview, out *authorization_api.ResourceAccessReview, s conversion.Scope) error
func Convert_v1_RoleBindingList_To_api_RoleBindingList ¶
func Convert_v1_RoleBindingList_To_api_RoleBindingList(in *RoleBindingList, out *authorization_api.RoleBindingList, s conversion.Scope) error
func Convert_v1_RoleBinding_To_api_RoleBinding ¶
func Convert_v1_RoleBinding_To_api_RoleBinding(in *RoleBinding, out *newer.RoleBinding, s conversion.Scope) error
func Convert_v1_RoleList_To_api_RoleList ¶
func Convert_v1_RoleList_To_api_RoleList(in *RoleList, out *authorization_api.RoleList, s conversion.Scope) error
func Convert_v1_Role_To_api_Role ¶
func Convert_v1_Role_To_api_Role(in *Role, out *authorization_api.Role, s conversion.Scope) error
func Convert_v1_SelfSubjectRulesReviewSpec_To_api_SelfSubjectRulesReviewSpec ¶
func Convert_v1_SelfSubjectRulesReviewSpec_To_api_SelfSubjectRulesReviewSpec(in *SelfSubjectRulesReviewSpec, out *authorization_api.SelfSubjectRulesReviewSpec, s conversion.Scope) error
func Convert_v1_SelfSubjectRulesReview_To_api_SelfSubjectRulesReview ¶
func Convert_v1_SelfSubjectRulesReview_To_api_SelfSubjectRulesReview(in *SelfSubjectRulesReview, out *authorization_api.SelfSubjectRulesReview, s conversion.Scope) error
func Convert_v1_SubjectAccessReviewResponse_To_api_SubjectAccessReviewResponse ¶
func Convert_v1_SubjectAccessReviewResponse_To_api_SubjectAccessReviewResponse(in *SubjectAccessReviewResponse, out *authorization_api.SubjectAccessReviewResponse, s conversion.Scope) error
func Convert_v1_SubjectAccessReview_To_api_SubjectAccessReview ¶
func Convert_v1_SubjectAccessReview_To_api_SubjectAccessReview(in *SubjectAccessReview, out *newer.SubjectAccessReview, s conversion.Scope) error
func Convert_v1_SubjectRulesReviewStatus_To_api_SubjectRulesReviewStatus ¶
func Convert_v1_SubjectRulesReviewStatus_To_api_SubjectRulesReviewStatus(in *SubjectRulesReviewStatus, out *authorization_api.SubjectRulesReviewStatus, s conversion.Scope) error
func DeepCopy_v1_Action ¶
func DeepCopy_v1_Action(in Action, out *Action, c *conversion.Cloner) error
func DeepCopy_v1_ClusterPolicy ¶
func DeepCopy_v1_ClusterPolicy(in ClusterPolicy, out *ClusterPolicy, c *conversion.Cloner) error
func DeepCopy_v1_ClusterPolicyBinding ¶
func DeepCopy_v1_ClusterPolicyBinding(in ClusterPolicyBinding, out *ClusterPolicyBinding, c *conversion.Cloner) error
func DeepCopy_v1_ClusterPolicyBindingList ¶
func DeepCopy_v1_ClusterPolicyBindingList(in ClusterPolicyBindingList, out *ClusterPolicyBindingList, c *conversion.Cloner) error
func DeepCopy_v1_ClusterPolicyList ¶
func DeepCopy_v1_ClusterPolicyList(in ClusterPolicyList, out *ClusterPolicyList, c *conversion.Cloner) error
func DeepCopy_v1_ClusterRole ¶
func DeepCopy_v1_ClusterRole(in ClusterRole, out *ClusterRole, c *conversion.Cloner) error
func DeepCopy_v1_ClusterRoleBinding ¶
func DeepCopy_v1_ClusterRoleBinding(in ClusterRoleBinding, out *ClusterRoleBinding, c *conversion.Cloner) error
func DeepCopy_v1_ClusterRoleBindingList ¶
func DeepCopy_v1_ClusterRoleBindingList(in ClusterRoleBindingList, out *ClusterRoleBindingList, c *conversion.Cloner) error
func DeepCopy_v1_ClusterRoleList ¶
func DeepCopy_v1_ClusterRoleList(in ClusterRoleList, out *ClusterRoleList, c *conversion.Cloner) error
func DeepCopy_v1_IsPersonalSubjectAccessReview ¶
func DeepCopy_v1_IsPersonalSubjectAccessReview(in IsPersonalSubjectAccessReview, out *IsPersonalSubjectAccessReview, c *conversion.Cloner) error
func DeepCopy_v1_LocalResourceAccessReview ¶
func DeepCopy_v1_LocalResourceAccessReview(in LocalResourceAccessReview, out *LocalResourceAccessReview, c *conversion.Cloner) error
func DeepCopy_v1_LocalSubjectAccessReview ¶
func DeepCopy_v1_LocalSubjectAccessReview(in LocalSubjectAccessReview, out *LocalSubjectAccessReview, c *conversion.Cloner) error
func DeepCopy_v1_NamedClusterRole ¶
func DeepCopy_v1_NamedClusterRole(in NamedClusterRole, out *NamedClusterRole, c *conversion.Cloner) error
func DeepCopy_v1_NamedClusterRoleBinding ¶
func DeepCopy_v1_NamedClusterRoleBinding(in NamedClusterRoleBinding, out *NamedClusterRoleBinding, c *conversion.Cloner) error
func DeepCopy_v1_NamedRole ¶
func DeepCopy_v1_NamedRole(in NamedRole, out *NamedRole, c *conversion.Cloner) error
func DeepCopy_v1_NamedRoleBinding ¶
func DeepCopy_v1_NamedRoleBinding(in NamedRoleBinding, out *NamedRoleBinding, c *conversion.Cloner) error
func DeepCopy_v1_Policy ¶
func DeepCopy_v1_Policy(in Policy, out *Policy, c *conversion.Cloner) error
func DeepCopy_v1_PolicyBinding ¶
func DeepCopy_v1_PolicyBinding(in PolicyBinding, out *PolicyBinding, c *conversion.Cloner) error
func DeepCopy_v1_PolicyBindingList ¶
func DeepCopy_v1_PolicyBindingList(in PolicyBindingList, out *PolicyBindingList, c *conversion.Cloner) error
func DeepCopy_v1_PolicyList ¶
func DeepCopy_v1_PolicyList(in PolicyList, out *PolicyList, c *conversion.Cloner) error
func DeepCopy_v1_PolicyRule ¶
func DeepCopy_v1_PolicyRule(in PolicyRule, out *PolicyRule, c *conversion.Cloner) error
func DeepCopy_v1_ResourceAccessReview ¶
func DeepCopy_v1_ResourceAccessReview(in ResourceAccessReview, out *ResourceAccessReview, c *conversion.Cloner) error
func DeepCopy_v1_ResourceAccessReviewResponse ¶
func DeepCopy_v1_ResourceAccessReviewResponse(in ResourceAccessReviewResponse, out *ResourceAccessReviewResponse, c *conversion.Cloner) error
func DeepCopy_v1_Role ¶
func DeepCopy_v1_Role(in Role, out *Role, c *conversion.Cloner) error
func DeepCopy_v1_RoleBinding ¶
func DeepCopy_v1_RoleBinding(in RoleBinding, out *RoleBinding, c *conversion.Cloner) error
func DeepCopy_v1_RoleBindingList ¶
func DeepCopy_v1_RoleBindingList(in RoleBindingList, out *RoleBindingList, c *conversion.Cloner) error
func DeepCopy_v1_RoleList ¶
func DeepCopy_v1_RoleList(in RoleList, out *RoleList, c *conversion.Cloner) error
func DeepCopy_v1_SelfSubjectRulesReview ¶
func DeepCopy_v1_SelfSubjectRulesReview(in SelfSubjectRulesReview, out *SelfSubjectRulesReview, c *conversion.Cloner) error
func DeepCopy_v1_SelfSubjectRulesReviewSpec ¶
func DeepCopy_v1_SelfSubjectRulesReviewSpec(in SelfSubjectRulesReviewSpec, out *SelfSubjectRulesReviewSpec, c *conversion.Cloner) error
func DeepCopy_v1_SubjectAccessReview ¶
func DeepCopy_v1_SubjectAccessReview(in SubjectAccessReview, out *SubjectAccessReview, c *conversion.Cloner) error
func DeepCopy_v1_SubjectAccessReviewResponse ¶
func DeepCopy_v1_SubjectAccessReviewResponse(in SubjectAccessReviewResponse, out *SubjectAccessReviewResponse, c *conversion.Cloner) error
func DeepCopy_v1_SubjectRulesReviewStatus ¶
func DeepCopy_v1_SubjectRulesReviewStatus(in SubjectRulesReviewStatus, out *SubjectRulesReviewStatus, c *conversion.Cloner) error
func SetDefaults_PolicyRule ¶
func SetDefaults_PolicyRule(obj *PolicyRule)
Types ¶
type Action ¶
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) ProtoMessage ¶
func (*Action) ProtoMessage()
func (Action) SwaggerDoc ¶
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 ¶
func (c *ClusterPolicy) DecodeNestedObjects(d runtime.Decoder) error
func (*ClusterPolicy) EncodeNestedObjects ¶
func (c *ClusterPolicy) EncodeNestedObjects(e runtime.Encoder) error
func (*ClusterPolicy) Marshal ¶
func (m *ClusterPolicy) Marshal() (data []byte, err error)
func (*ClusterPolicy) ProtoMessage ¶
func (*ClusterPolicy) ProtoMessage()
func (*ClusterPolicy) Reset ¶
func (m *ClusterPolicy) Reset()
func (*ClusterPolicy) Size ¶
func (m *ClusterPolicy) Size() (n int)
func (*ClusterPolicy) String ¶
func (m *ClusterPolicy) String() string
func (ClusterPolicy) SwaggerDoc ¶ added in v1.1.4
func (ClusterPolicy) SwaggerDoc() map[string]string
func (*ClusterPolicy) Unmarshal ¶
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) Marshal ¶
func (m *ClusterPolicyBinding) Marshal() (data []byte, err error)
func (*ClusterPolicyBinding) MarshalTo ¶
func (m *ClusterPolicyBinding) MarshalTo(data []byte) (int, error)
func (*ClusterPolicyBinding) ProtoMessage ¶
func (*ClusterPolicyBinding) ProtoMessage()
func (*ClusterPolicyBinding) Reset ¶
func (m *ClusterPolicyBinding) Reset()
func (*ClusterPolicyBinding) Size ¶
func (m *ClusterPolicyBinding) Size() (n int)
func (*ClusterPolicyBinding) String ¶
func (m *ClusterPolicyBinding) String() string
func (ClusterPolicyBinding) SwaggerDoc ¶ added in v1.1.4
func (ClusterPolicyBinding) SwaggerDoc() map[string]string
func (*ClusterPolicyBinding) Unmarshal ¶
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) Marshal ¶
func (m *ClusterPolicyBindingList) Marshal() (data []byte, err error)
func (*ClusterPolicyBindingList) MarshalTo ¶
func (m *ClusterPolicyBindingList) MarshalTo(data []byte) (int, error)
func (*ClusterPolicyBindingList) ProtoMessage ¶
func (*ClusterPolicyBindingList) ProtoMessage()
func (*ClusterPolicyBindingList) Reset ¶
func (m *ClusterPolicyBindingList) Reset()
func (*ClusterPolicyBindingList) Size ¶
func (m *ClusterPolicyBindingList) Size() (n int)
func (*ClusterPolicyBindingList) String ¶
func (m *ClusterPolicyBindingList) String() string
func (ClusterPolicyBindingList) SwaggerDoc ¶ added in v1.1.4
func (ClusterPolicyBindingList) SwaggerDoc() map[string]string
func (*ClusterPolicyBindingList) Unmarshal ¶
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 ¶
func (c *ClusterPolicyList) DecodeNestedObjects(d runtime.Decoder) error
func (*ClusterPolicyList) EncodeNestedObjects ¶
func (c *ClusterPolicyList) EncodeNestedObjects(e runtime.Encoder) error
func (*ClusterPolicyList) Marshal ¶
func (m *ClusterPolicyList) Marshal() (data []byte, err error)
func (*ClusterPolicyList) MarshalTo ¶
func (m *ClusterPolicyList) MarshalTo(data []byte) (int, error)
func (*ClusterPolicyList) ProtoMessage ¶
func (*ClusterPolicyList) ProtoMessage()
func (*ClusterPolicyList) Reset ¶
func (m *ClusterPolicyList) Reset()
func (*ClusterPolicyList) Size ¶
func (m *ClusterPolicyList) Size() (n int)
func (*ClusterPolicyList) String ¶
func (m *ClusterPolicyList) String() string
func (ClusterPolicyList) SwaggerDoc ¶ added in v1.1.4
func (ClusterPolicyList) SwaggerDoc() map[string]string
func (*ClusterPolicyList) Unmarshal ¶
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 ¶
func (c *ClusterRole) DecodeNestedObjects(d runtime.Decoder) error
func (*ClusterRole) EncodeNestedObjects ¶
func (c *ClusterRole) EncodeNestedObjects(e runtime.Encoder) error
func (*ClusterRole) Marshal ¶
func (m *ClusterRole) Marshal() (data []byte, err error)
func (*ClusterRole) ProtoMessage ¶
func (*ClusterRole) ProtoMessage()
func (*ClusterRole) Reset ¶
func (m *ClusterRole) Reset()
func (*ClusterRole) Size ¶
func (m *ClusterRole) Size() (n int)
func (*ClusterRole) String ¶
func (m *ClusterRole) String() string
func (ClusterRole) SwaggerDoc ¶ added in v1.1.4
func (ClusterRole) SwaggerDoc() map[string]string
func (*ClusterRole) Unmarshal ¶
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 // +genconversion=false UserNames OptionalNames `json:"userNames" protobuf:"bytes,2,rep,name=userNames"` // GroupNames holds all the groups directly bound to the role // +genconversion=false GroupNames OptionalNames `json:"groupNames" protobuf:"bytes,3,rep,name=groupNames"` // Subjects hold object references to authorize with this rule 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 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) Marshal ¶
func (m *ClusterRoleBinding) Marshal() (data []byte, err error)
func (*ClusterRoleBinding) MarshalTo ¶
func (m *ClusterRoleBinding) MarshalTo(data []byte) (int, error)
func (*ClusterRoleBinding) ProtoMessage ¶
func (*ClusterRoleBinding) ProtoMessage()
func (*ClusterRoleBinding) Reset ¶
func (m *ClusterRoleBinding) Reset()
func (*ClusterRoleBinding) Size ¶
func (m *ClusterRoleBinding) Size() (n int)
func (*ClusterRoleBinding) String ¶
func (m *ClusterRoleBinding) String() string
func (ClusterRoleBinding) SwaggerDoc ¶ added in v1.1.4
func (ClusterRoleBinding) SwaggerDoc() map[string]string
func (*ClusterRoleBinding) Unmarshal ¶
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) Marshal ¶
func (m *ClusterRoleBindingList) Marshal() (data []byte, err error)
func (*ClusterRoleBindingList) MarshalTo ¶
func (m *ClusterRoleBindingList) MarshalTo(data []byte) (int, error)
func (*ClusterRoleBindingList) ProtoMessage ¶
func (*ClusterRoleBindingList) ProtoMessage()
func (*ClusterRoleBindingList) Reset ¶
func (m *ClusterRoleBindingList) Reset()
func (*ClusterRoleBindingList) Size ¶
func (m *ClusterRoleBindingList) Size() (n int)
func (*ClusterRoleBindingList) String ¶
func (m *ClusterRoleBindingList) String() string
func (ClusterRoleBindingList) SwaggerDoc ¶ added in v1.1.4
func (ClusterRoleBindingList) SwaggerDoc() map[string]string
func (*ClusterRoleBindingList) Unmarshal ¶
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 ¶
func (c *ClusterRoleList) DecodeNestedObjects(d runtime.Decoder) error
func (*ClusterRoleList) EncodeNestedObjects ¶
func (c *ClusterRoleList) EncodeNestedObjects(e runtime.Encoder) error
func (*ClusterRoleList) Marshal ¶
func (m *ClusterRoleList) Marshal() (data []byte, err error)
func (*ClusterRoleList) ProtoMessage ¶
func (*ClusterRoleList) ProtoMessage()
func (*ClusterRoleList) Reset ¶
func (m *ClusterRoleList) Reset()
func (*ClusterRoleList) Size ¶
func (m *ClusterRoleList) Size() (n int)
func (*ClusterRoleList) String ¶
func (m *ClusterRoleList) String() string
func (ClusterRoleList) SwaggerDoc ¶ added in v1.1.4
func (ClusterRoleList) SwaggerDoc() map[string]string
func (*ClusterRoleList) Unmarshal ¶
func (m *ClusterRoleList) 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) Marshal ¶
func (m *IsPersonalSubjectAccessReview) Marshal() (data []byte, err error)
func (*IsPersonalSubjectAccessReview) MarshalTo ¶
func (m *IsPersonalSubjectAccessReview) MarshalTo(data []byte) (int, error)
func (*IsPersonalSubjectAccessReview) ProtoMessage ¶
func (*IsPersonalSubjectAccessReview) ProtoMessage()
func (*IsPersonalSubjectAccessReview) Reset ¶
func (m *IsPersonalSubjectAccessReview) Reset()
func (*IsPersonalSubjectAccessReview) Size ¶
func (m *IsPersonalSubjectAccessReview) Size() (n int)
func (*IsPersonalSubjectAccessReview) String ¶
func (m *IsPersonalSubjectAccessReview) String() string
func (IsPersonalSubjectAccessReview) SwaggerDoc ¶ added in v1.1.4
func (IsPersonalSubjectAccessReview) SwaggerDoc() map[string]string
func (*IsPersonalSubjectAccessReview) Unmarshal ¶
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) Marshal ¶
func (m *LocalResourceAccessReview) Marshal() (data []byte, err error)
func (*LocalResourceAccessReview) MarshalTo ¶
func (m *LocalResourceAccessReview) MarshalTo(data []byte) (int, error)
func (*LocalResourceAccessReview) ProtoMessage ¶
func (*LocalResourceAccessReview) ProtoMessage()
func (*LocalResourceAccessReview) Reset ¶
func (m *LocalResourceAccessReview) Reset()
func (*LocalResourceAccessReview) Size ¶
func (m *LocalResourceAccessReview) Size() (n int)
func (*LocalResourceAccessReview) String ¶
func (m *LocalResourceAccessReview) String() string
func (LocalResourceAccessReview) SwaggerDoc ¶ added in v1.1.4
func (LocalResourceAccessReview) SwaggerDoc() map[string]string
func (*LocalResourceAccessReview) Unmarshal ¶
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. // +genconversion=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) Marshal ¶
func (m *LocalSubjectAccessReview) Marshal() (data []byte, err error)
func (*LocalSubjectAccessReview) MarshalTo ¶
func (m *LocalSubjectAccessReview) MarshalTo(data []byte) (int, error)
func (*LocalSubjectAccessReview) ProtoMessage ¶
func (*LocalSubjectAccessReview) ProtoMessage()
func (*LocalSubjectAccessReview) Reset ¶
func (m *LocalSubjectAccessReview) Reset()
func (*LocalSubjectAccessReview) Size ¶
func (m *LocalSubjectAccessReview) Size() (n int)
func (*LocalSubjectAccessReview) String ¶
func (m *LocalSubjectAccessReview) String() string
func (LocalSubjectAccessReview) SwaggerDoc ¶ added in v1.1.4
func (LocalSubjectAccessReview) SwaggerDoc() map[string]string
func (*LocalSubjectAccessReview) Unmarshal ¶
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) Marshal ¶
func (m *NamedClusterRole) Marshal() (data []byte, err error)
func (*NamedClusterRole) ProtoMessage ¶
func (*NamedClusterRole) ProtoMessage()
func (*NamedClusterRole) Reset ¶
func (m *NamedClusterRole) Reset()
func (*NamedClusterRole) Size ¶
func (m *NamedClusterRole) Size() (n int)
func (*NamedClusterRole) String ¶
func (m *NamedClusterRole) String() string
func (NamedClusterRole) SwaggerDoc ¶ added in v1.1.4
func (NamedClusterRole) SwaggerDoc() map[string]string
func (*NamedClusterRole) Unmarshal ¶
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) Marshal ¶
func (m *NamedClusterRoleBinding) Marshal() (data []byte, err error)
func (*NamedClusterRoleBinding) MarshalTo ¶
func (m *NamedClusterRoleBinding) MarshalTo(data []byte) (int, error)
func (*NamedClusterRoleBinding) ProtoMessage ¶
func (*NamedClusterRoleBinding) ProtoMessage()
func (*NamedClusterRoleBinding) Reset ¶
func (m *NamedClusterRoleBinding) Reset()
func (*NamedClusterRoleBinding) Size ¶
func (m *NamedClusterRoleBinding) Size() (n int)
func (*NamedClusterRoleBinding) String ¶
func (m *NamedClusterRoleBinding) String() string
func (NamedClusterRoleBinding) SwaggerDoc ¶ added in v1.1.4
func (NamedClusterRoleBinding) SwaggerDoc() map[string]string
func (*NamedClusterRoleBinding) Unmarshal ¶
func (m *NamedClusterRoleBinding) Unmarshal(data []byte) error
type NamedClusterRoleBindings ¶
type NamedClusterRoleBindings []NamedClusterRoleBinding
type NamedClusterRoles ¶
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) ProtoMessage ¶
func (*NamedRole) ProtoMessage()
func (NamedRole) SwaggerDoc ¶ added in v1.1.4
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) Marshal ¶
func (m *NamedRoleBinding) Marshal() (data []byte, err error)
func (*NamedRoleBinding) ProtoMessage ¶
func (*NamedRoleBinding) ProtoMessage()
func (*NamedRoleBinding) Reset ¶
func (m *NamedRoleBinding) Reset()
func (*NamedRoleBinding) Size ¶
func (m *NamedRoleBinding) Size() (n int)
func (*NamedRoleBinding) String ¶
func (m *NamedRoleBinding) String() string
func (NamedRoleBinding) SwaggerDoc ¶ added in v1.1.4
func (NamedRoleBinding) SwaggerDoc() map[string]string
func (*NamedRoleBinding) Unmarshal ¶
func (m *NamedRoleBinding) Unmarshal(data []byte) error
type NamedRoleBindings ¶
type NamedRoleBindings []NamedRoleBinding
type NamedRoles ¶
type NamedRoles []NamedRole
type OptionalNames ¶
type OptionalNames []string
OptionalNames is an array that may also be left nil to distinguish between set and unset. +protobuf.nullable=true
func (OptionalNames) Marshal ¶
func (m OptionalNames) Marshal() (data []byte, err error)
func (*OptionalNames) ProtoMessage ¶
func (*OptionalNames) ProtoMessage()
func (*OptionalNames) Reset ¶
func (m *OptionalNames) Reset()
func (OptionalNames) Size ¶
func (m OptionalNames) Size() (n int)
func (*OptionalNames) String ¶
func (m *OptionalNames) String() string
func (*OptionalNames) Unmarshal ¶
func (m *OptionalNames) Unmarshal(data []byte) error
type OptionalScopes ¶
type OptionalScopes []string
OptionalScopes is an array that may also be left nil to distinguish between set and unset. +protobuf.nullable=true
func (OptionalScopes) Marshal ¶
func (m OptionalScopes) Marshal() (data []byte, err error)
func (*OptionalScopes) ProtoMessage ¶
func (*OptionalScopes) ProtoMessage()
func (*OptionalScopes) Reset ¶
func (m *OptionalScopes) Reset()
func (OptionalScopes) Size ¶
func (m OptionalScopes) Size() (n int)
func (*OptionalScopes) String ¶
func (m *OptionalScopes) String() string
func (*OptionalScopes) Unmarshal ¶
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) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (Policy) SwaggerDoc ¶ added in v1.1.4
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) Marshal ¶
func (m *PolicyBinding) Marshal() (data []byte, err error)
func (*PolicyBinding) ProtoMessage ¶
func (*PolicyBinding) ProtoMessage()
func (*PolicyBinding) Reset ¶
func (m *PolicyBinding) Reset()
func (*PolicyBinding) Size ¶
func (m *PolicyBinding) Size() (n int)
func (*PolicyBinding) String ¶
func (m *PolicyBinding) String() string
func (PolicyBinding) SwaggerDoc ¶ added in v1.1.4
func (PolicyBinding) SwaggerDoc() map[string]string
func (*PolicyBinding) Unmarshal ¶
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) Marshal ¶
func (m *PolicyBindingList) Marshal() (data []byte, err error)
func (*PolicyBindingList) MarshalTo ¶
func (m *PolicyBindingList) MarshalTo(data []byte) (int, error)
func (*PolicyBindingList) ProtoMessage ¶
func (*PolicyBindingList) ProtoMessage()
func (*PolicyBindingList) Reset ¶
func (m *PolicyBindingList) Reset()
func (*PolicyBindingList) Size ¶
func (m *PolicyBindingList) Size() (n int)
func (*PolicyBindingList) String ¶
func (m *PolicyBindingList) String() string
func (PolicyBindingList) SwaggerDoc ¶ added in v1.1.4
func (PolicyBindingList) SwaggerDoc() map[string]string
func (*PolicyBindingList) Unmarshal ¶
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 ¶
func (c *PolicyList) DecodeNestedObjects(d runtime.Decoder) error
func (*PolicyList) EncodeNestedObjects ¶
func (c *PolicyList) EncodeNestedObjects(e runtime.Encoder) error
func (*PolicyList) Marshal ¶
func (m *PolicyList) Marshal() (data []byte, err error)
func (*PolicyList) ProtoMessage ¶
func (*PolicyList) ProtoMessage()
func (*PolicyList) Reset ¶
func (m *PolicyList) Reset()
func (*PolicyList) Size ¶
func (m *PolicyList) Size() (n int)
func (*PolicyList) String ¶
func (m *PolicyList) String() string
func (PolicyList) SwaggerDoc ¶ added in v1.1.4
func (PolicyList) SwaggerDoc() map[string]string
func (*PolicyList) Unmarshal ¶
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 ¶
func (c *PolicyRule) DecodeNestedObjects(d runtime.Decoder) error
func (*PolicyRule) EncodeNestedObjects ¶
func (c *PolicyRule) EncodeNestedObjects(e runtime.Encoder) error
func (*PolicyRule) Marshal ¶
func (m *PolicyRule) Marshal() (data []byte, err error)
func (*PolicyRule) ProtoMessage ¶
func (*PolicyRule) ProtoMessage()
func (*PolicyRule) Reset ¶
func (m *PolicyRule) Reset()
func (*PolicyRule) Size ¶
func (m *PolicyRule) Size() (n int)
func (*PolicyRule) String ¶
func (m *PolicyRule) String() string
func (PolicyRule) SwaggerDoc ¶ added in v1.1.4
func (PolicyRule) SwaggerDoc() map[string]string
func (*PolicyRule) Unmarshal ¶
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) Marshal ¶
func (m *ResourceAccessReview) Marshal() (data []byte, err error)
func (*ResourceAccessReview) MarshalTo ¶
func (m *ResourceAccessReview) MarshalTo(data []byte) (int, error)
func (*ResourceAccessReview) ProtoMessage ¶
func (*ResourceAccessReview) ProtoMessage()
func (*ResourceAccessReview) Reset ¶
func (m *ResourceAccessReview) Reset()
func (*ResourceAccessReview) Size ¶
func (m *ResourceAccessReview) Size() (n int)
func (*ResourceAccessReview) String ¶
func (m *ResourceAccessReview) String() string
func (ResourceAccessReview) SwaggerDoc ¶ added in v1.1.4
func (ResourceAccessReview) SwaggerDoc() map[string]string
func (*ResourceAccessReview) Unmarshal ¶
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 // +genconversion=false UsersSlice []string `json:"users" protobuf:"bytes,2,rep,name=users"` // GroupsSlice is the list of groups who can perform the action // +genconversion=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) Marshal ¶
func (m *ResourceAccessReviewResponse) Marshal() (data []byte, err error)
func (*ResourceAccessReviewResponse) MarshalTo ¶
func (m *ResourceAccessReviewResponse) MarshalTo(data []byte) (int, error)
func (*ResourceAccessReviewResponse) ProtoMessage ¶
func (*ResourceAccessReviewResponse) ProtoMessage()
func (*ResourceAccessReviewResponse) Reset ¶
func (m *ResourceAccessReviewResponse) Reset()
func (*ResourceAccessReviewResponse) Size ¶
func (m *ResourceAccessReviewResponse) Size() (n int)
func (*ResourceAccessReviewResponse) String ¶
func (m *ResourceAccessReviewResponse) String() string
func (ResourceAccessReviewResponse) SwaggerDoc ¶ added in v1.1.4
func (ResourceAccessReviewResponse) SwaggerDoc() map[string]string
func (*ResourceAccessReviewResponse) Unmarshal ¶
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) ProtoMessage ¶
func (*Role) ProtoMessage()
func (Role) SwaggerDoc ¶ added in v1.1.4
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 // +genconversion=false UserNames OptionalNames `json:"userNames" protobuf:"bytes,2,rep,name=userNames"` // GroupNames holds all the groups directly bound to the role // +genconversion=false GroupNames OptionalNames `json:"groupNames" protobuf:"bytes,3,rep,name=groupNames"` // Subjects hold object references to authorize with this rule 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 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) Marshal ¶
func (m *RoleBinding) Marshal() (data []byte, err error)
func (*RoleBinding) ProtoMessage ¶
func (*RoleBinding) ProtoMessage()
func (*RoleBinding) Reset ¶
func (m *RoleBinding) Reset()
func (*RoleBinding) Size ¶
func (m *RoleBinding) Size() (n int)
func (*RoleBinding) String ¶
func (m *RoleBinding) String() string
func (RoleBinding) SwaggerDoc ¶ added in v1.1.4
func (RoleBinding) SwaggerDoc() map[string]string
func (*RoleBinding) Unmarshal ¶
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) Marshal ¶
func (m *RoleBindingList) Marshal() (data []byte, err error)
func (*RoleBindingList) ProtoMessage ¶
func (*RoleBindingList) ProtoMessage()
func (*RoleBindingList) Reset ¶
func (m *RoleBindingList) Reset()
func (*RoleBindingList) Size ¶
func (m *RoleBindingList) Size() (n int)
func (*RoleBindingList) String ¶
func (m *RoleBindingList) String() string
func (RoleBindingList) SwaggerDoc ¶ added in v1.1.4
func (RoleBindingList) SwaggerDoc() map[string]string
func (*RoleBindingList) Unmarshal ¶
func (m *RoleBindingList) 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 ¶
func (*RoleList) EncodeNestedObjects ¶
func (*RoleList) ProtoMessage ¶
func (*RoleList) ProtoMessage()
func (RoleList) SwaggerDoc ¶ added in v1.1.4
type SelfSubjectRulesReview ¶
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 ¶
func (c *SelfSubjectRulesReview) DecodeNestedObjects(d runtime.Decoder) error
func (*SelfSubjectRulesReview) EncodeNestedObjects ¶
func (c *SelfSubjectRulesReview) EncodeNestedObjects(e runtime.Encoder) error
func (*SelfSubjectRulesReview) Marshal ¶
func (m *SelfSubjectRulesReview) Marshal() (data []byte, err error)
func (*SelfSubjectRulesReview) MarshalTo ¶
func (m *SelfSubjectRulesReview) MarshalTo(data []byte) (int, error)
func (*SelfSubjectRulesReview) ProtoMessage ¶
func (*SelfSubjectRulesReview) ProtoMessage()
func (*SelfSubjectRulesReview) Reset ¶
func (m *SelfSubjectRulesReview) Reset()
func (*SelfSubjectRulesReview) Size ¶
func (m *SelfSubjectRulesReview) Size() (n int)
func (*SelfSubjectRulesReview) String ¶
func (m *SelfSubjectRulesReview) String() string
func (SelfSubjectRulesReview) SwaggerDoc ¶
func (SelfSubjectRulesReview) SwaggerDoc() map[string]string
func (*SelfSubjectRulesReview) Unmarshal ¶
func (m *SelfSubjectRulesReview) Unmarshal(data []byte) error
type SelfSubjectRulesReviewSpec ¶
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) Marshal ¶
func (m *SelfSubjectRulesReviewSpec) Marshal() (data []byte, err error)
func (*SelfSubjectRulesReviewSpec) MarshalTo ¶
func (m *SelfSubjectRulesReviewSpec) MarshalTo(data []byte) (int, error)
func (*SelfSubjectRulesReviewSpec) ProtoMessage ¶
func (*SelfSubjectRulesReviewSpec) ProtoMessage()
func (*SelfSubjectRulesReviewSpec) Reset ¶
func (m *SelfSubjectRulesReviewSpec) Reset()
func (*SelfSubjectRulesReviewSpec) Size ¶
func (m *SelfSubjectRulesReviewSpec) Size() (n int)
func (*SelfSubjectRulesReviewSpec) String ¶
func (m *SelfSubjectRulesReviewSpec) String() string
func (SelfSubjectRulesReviewSpec) SwaggerDoc ¶
func (SelfSubjectRulesReviewSpec) SwaggerDoc() map[string]string
func (*SelfSubjectRulesReviewSpec) Unmarshal ¶
func (m *SelfSubjectRulesReviewSpec) 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. // +genconversion=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) Marshal ¶
func (m *SubjectAccessReview) Marshal() (data []byte, err error)
func (*SubjectAccessReview) MarshalTo ¶
func (m *SubjectAccessReview) MarshalTo(data []byte) (int, error)
func (*SubjectAccessReview) ProtoMessage ¶
func (*SubjectAccessReview) ProtoMessage()
func (*SubjectAccessReview) Reset ¶
func (m *SubjectAccessReview) Reset()
func (*SubjectAccessReview) Size ¶
func (m *SubjectAccessReview) Size() (n int)
func (*SubjectAccessReview) String ¶
func (m *SubjectAccessReview) String() string
func (SubjectAccessReview) SwaggerDoc ¶ added in v1.1.4
func (SubjectAccessReview) SwaggerDoc() map[string]string
func (*SubjectAccessReview) Unmarshal ¶
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) Marshal ¶
func (m *SubjectAccessReviewResponse) Marshal() (data []byte, err error)
func (*SubjectAccessReviewResponse) MarshalTo ¶
func (m *SubjectAccessReviewResponse) MarshalTo(data []byte) (int, error)
func (*SubjectAccessReviewResponse) ProtoMessage ¶
func (*SubjectAccessReviewResponse) ProtoMessage()
func (*SubjectAccessReviewResponse) Reset ¶
func (m *SubjectAccessReviewResponse) Reset()
func (*SubjectAccessReviewResponse) Size ¶
func (m *SubjectAccessReviewResponse) Size() (n int)
func (*SubjectAccessReviewResponse) String ¶
func (m *SubjectAccessReviewResponse) String() string
func (SubjectAccessReviewResponse) SwaggerDoc ¶ added in v1.1.4
func (SubjectAccessReviewResponse) SwaggerDoc() map[string]string
func (*SubjectAccessReviewResponse) Unmarshal ¶
func (m *SubjectAccessReviewResponse) Unmarshal(data []byte) error
type SubjectRulesReviewStatus ¶
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) Marshal ¶
func (m *SubjectRulesReviewStatus) Marshal() (data []byte, err error)
func (*SubjectRulesReviewStatus) MarshalTo ¶
func (m *SubjectRulesReviewStatus) MarshalTo(data []byte) (int, error)
func (*SubjectRulesReviewStatus) ProtoMessage ¶
func (*SubjectRulesReviewStatus) ProtoMessage()
func (*SubjectRulesReviewStatus) Reset ¶
func (m *SubjectRulesReviewStatus) Reset()
func (*SubjectRulesReviewStatus) Size ¶
func (m *SubjectRulesReviewStatus) Size() (n int)
func (*SubjectRulesReviewStatus) String ¶
func (m *SubjectRulesReviewStatus) String() string
func (SubjectRulesReviewStatus) SwaggerDoc ¶
func (SubjectRulesReviewStatus) SwaggerDoc() map[string]string
func (*SubjectRulesReviewStatus) Unmarshal ¶
func (m *SubjectRulesReviewStatus) Unmarshal(data []byte) error