GroupName is the group name use in this package
const GroupName = "authentication.k8s.io"
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
type SelfSubjectReview struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Status is filled in by the server with the user attributes. Status SelfSubjectReviewStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"` }
func (in *SelfSubjectReview) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *SelfSubjectReview) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *SelfSubjectReview) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *SelfSubjectReview) DeepCopy() *SelfSubjectReview
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReview.
func (in *SelfSubjectReview) DeepCopyInto(out *SelfSubjectReview)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SelfSubjectReview) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SelfSubjectReview) Descriptor() ([]byte, []int)
func (m *SelfSubjectReview) Marshal() (dAtA []byte, err error)
func (m *SelfSubjectReview) MarshalTo(dAtA []byte) (int, error)
func (m *SelfSubjectReview) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SelfSubjectReview) ProtoMessage()
func (m *SelfSubjectReview) Reset()
func (m *SelfSubjectReview) Size() (n int)
func (this *SelfSubjectReview) String() string
func (SelfSubjectReview) SwaggerDoc() map[string]string
func (m *SelfSubjectReview) Unmarshal(dAtA []byte) error
func (m *SelfSubjectReview) XXX_DiscardUnknown()
func (m *SelfSubjectReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *SelfSubjectReview) XXX_Merge(src proto.Message)
func (m *SelfSubjectReview) XXX_Size() int
func (m *SelfSubjectReview) XXX_Unmarshal(b []byte) error
SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
type SelfSubjectReviewStatus struct { // User attributes of the user making this request. // +optional UserInfo v1.UserInfo `json:"userInfo,omitempty" protobuf:"bytes,1,opt,name=userInfo"` }
func (in *SelfSubjectReviewStatus) DeepCopy() *SelfSubjectReviewStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReviewStatus.
func (in *SelfSubjectReviewStatus) DeepCopyInto(out *SelfSubjectReviewStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SelfSubjectReviewStatus) Descriptor() ([]byte, []int)
func (m *SelfSubjectReviewStatus) Marshal() (dAtA []byte, err error)
func (m *SelfSubjectReviewStatus) MarshalTo(dAtA []byte) (int, error)
func (m *SelfSubjectReviewStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SelfSubjectReviewStatus) ProtoMessage()
func (m *SelfSubjectReviewStatus) Reset()
func (m *SelfSubjectReviewStatus) Size() (n int)
func (this *SelfSubjectReviewStatus) String() string
func (SelfSubjectReviewStatus) SwaggerDoc() map[string]string
func (m *SelfSubjectReviewStatus) Unmarshal(dAtA []byte) error
func (m *SelfSubjectReviewStatus) XXX_DiscardUnknown()
func (m *SelfSubjectReviewStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *SelfSubjectReviewStatus) XXX_Merge(src proto.Message)
func (m *SelfSubjectReviewStatus) XXX_Size() int
func (m *SelfSubjectReviewStatus) XXX_Unmarshal(b []byte) error