Documentation ¶
Index ¶
- Constants
- Variables
- func AddToScheme(scheme *runtime.Scheme)
- func DeepCopy_authenticationk8sio_TokenReview(in TokenReview, out *TokenReview, c *conversion.Cloner) error
- func DeepCopy_authenticationk8sio_TokenReviewSpec(in TokenReviewSpec, out *TokenReviewSpec, c *conversion.Cloner) error
- func DeepCopy_authenticationk8sio_TokenReviewStatus(in TokenReviewStatus, out *TokenReviewStatus, c *conversion.Cloner) error
- func DeepCopy_authenticationk8sio_UserInfo(in UserInfo, out *UserInfo, c *conversion.Cloner) error
- func Kind(kind string) unversioned.GroupKind
- func Resource(resource string) unversioned.GroupResource
- type TokenReview
- type TokenReviewSpec
- type TokenReviewStatus
- type UserInfo
Constants ¶
View Source
const GroupName = "authentication.k8s.io"
GroupName is the group name use in this package
Variables ¶
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func AddToScheme ¶
func DeepCopy_authenticationk8sio_TokenReview ¶
func DeepCopy_authenticationk8sio_TokenReview(in TokenReview, out *TokenReview, c *conversion.Cloner) error
func DeepCopy_authenticationk8sio_TokenReviewSpec ¶
func DeepCopy_authenticationk8sio_TokenReviewSpec(in TokenReviewSpec, out *TokenReviewSpec, c *conversion.Cloner) error
func DeepCopy_authenticationk8sio_TokenReviewStatus ¶
func DeepCopy_authenticationk8sio_TokenReviewStatus(in TokenReviewStatus, out *TokenReviewStatus, c *conversion.Cloner) error
func DeepCopy_authenticationk8sio_UserInfo ¶
func DeepCopy_authenticationk8sio_UserInfo(in UserInfo, out *UserInfo, c *conversion.Cloner) error
func Kind ¶
func Kind(kind string) unversioned.GroupKind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func Resource ¶
func Resource(resource string) unversioned.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type TokenReview ¶
type TokenReview struct { unversioned.TypeMeta // Spec holds information about the request being evaluated Spec TokenReviewSpec // Status is filled in by the server and indicates whether the request can be authenticated. Status TokenReviewStatus }
TokenReview attempts to authenticate a token to a known user.
func (*TokenReview) GetObjectKind ¶
func (obj *TokenReview) GetObjectKind() unversioned.ObjectKind
type TokenReviewSpec ¶
type TokenReviewSpec struct { // Token is the opaque bearer token. Token string }
TokenReviewSpec is a description of the token authentication request.
type TokenReviewStatus ¶
type TokenReviewStatus struct { // Authenticated indicates that the token was associated with a known user. Authenticated bool // User is the UserInfo associated with the provided token. User UserInfo }
TokenReviewStatus is the result of the token authentication request.
type UserInfo ¶
type UserInfo struct { // The name that uniquely identifies this user among all active users. Username string // A unique value that identifies this user across time. If this user is // deleted and another user by the same name is added, they will have // different UIDs. UID string // The names of groups this user is a part of. Groups []string // Any additional information provided by the authenticator. Extra map[string][]string }
UserInfo holds the information about the user needed to implement the user.Info interface.
Directories ¶
Path | Synopsis |
---|---|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
+genconversion=true
|
+genconversion=true |
Click to show internal directories.
Click to hide internal directories.