seedidentity

package
v1.42.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromAuthenticationV1UserInfo

func FromAuthenticationV1UserInfo(userInfo authenticationv1.UserInfo) (string, bool)

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)

FromCertificateSigningRequest converts a *x509.CertificateRequest structure to the user.Info interface and calls FromUserInfoInterface to return the seed name.

func FromUserInfoInterface

func FromUserInfoInterface(u user.Info) (string, bool)

FromUserInfoInterface returns the seed name and a boolean indicating whether the provided user has the gardener.cloud:system:seeds group.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL