Documentation ¶
Index ¶
Constants ¶
View Source
const GroupName = "authentication.k8s.io"
GroupName is the group name use in this package
Variables ¶
View Source
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.
swagger:model SelfSubjectReview
func (*SelfSubjectReview) GroupVersionKind ¶
func (v *SelfSubjectReview) GroupVersionKind() schema.GroupVersionKind
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
Click to show internal directories.
Click to hide internal directories.