Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Whoami ¶
type Whoami struct {
Client authenticationv1cli.SelfSubjectReviewInterface
}
Whoami can return the current user from a self subject review.
func WhoamiForConfigAndClient ¶
WhoamiForConfigAndClient creates a new Whoami instance for the given config and client.
Click to show internal directories.
Click to hide internal directories.