Documentation ¶
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type SelfSubjectReview
- func (v *SelfSubjectReview) GroupVersionKind() schema.GroupVersionKind
- func (v SelfSubjectReview) MarshalEasyJSON(w *jwriter.Writer)
- func (v SelfSubjectReview) MarshalJSON() ([]byte, error)
- func (v *SelfSubjectReview) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SelfSubjectReview) UnmarshalJSON(data []byte) error
- type SelfSubjectReviewStatus
Constants ¶
const GroupName = "authentication.k8s.io"
GroupName is the group name use in this package
Variables ¶
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type SelfSubjectReview ¶
type SelfSubjectReview struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources APIVersion string `json:"apiVersion,omitempty"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind string `json:"kind,omitempty"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // Status is filled in by the server with the user attributes. Status *SelfSubjectReviewStatus `json:"status,omitempty"` }
SelfSubjectReview 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.
swagger:model SelfSubjectReview
func (*SelfSubjectReview) GroupVersionKind ¶
func (v *SelfSubjectReview) GroupVersionKind() schema.GroupVersionKind
func (SelfSubjectReview) MarshalEasyJSON ¶
func (v SelfSubjectReview) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SelfSubjectReview) MarshalJSON ¶
func (v SelfSubjectReview) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SelfSubjectReview) UnmarshalEasyJSON ¶
func (v *SelfSubjectReview) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SelfSubjectReview) UnmarshalJSON ¶
func (v *SelfSubjectReview) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SelfSubjectReviewStatus ¶
type SelfSubjectReviewStatus struct { // User attributes of the user making this request. UserInfo *api_authentication_v1.UserInfo `json:"userInfo,omitempty"` }
SelfSubjectReviewStatus SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
swagger:model SelfSubjectReviewStatus
func (SelfSubjectReviewStatus) MarshalEasyJSON ¶
func (v SelfSubjectReviewStatus) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SelfSubjectReviewStatus) MarshalJSON ¶
func (v SelfSubjectReviewStatus) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SelfSubjectReviewStatus) UnmarshalEasyJSON ¶
func (v *SelfSubjectReviewStatus) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SelfSubjectReviewStatus) UnmarshalJSON ¶
func (v *SelfSubjectReviewStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface