Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserType ¶ added in v1.77.0
type UserType string
UserType is used for distinguishing between clients running on a seed cluster when authenticating against the garden cluster.
func FromAuthenticationV1UserInfo ¶
func FromAuthenticationV1UserInfo(userInfo authenticationv1.UserInfo) (string, bool, UserType)
FromAuthenticationV1UserInfo converts an authenticationv1.UserInfo structure to the user.Info interface and calls FromUserInfoInterface to return the seed name.
func FromCertificateSigningRequest ¶ added in v1.23.0
func FromCertificateSigningRequest(csr *x509.CertificateRequest) (string, bool, UserType)
FromCertificateSigningRequest converts a *x509.CertificateRequest structure to the user.Info interface and calls FromUserInfoInterface to return the seed name.
Click to show internal directories.
Click to hide internal directories.