type WhoAmIFlags …
func NewWhoAmIFlags(restClientGetter genericclioptions.RESTClientGetter, streams genericiooptions.IOStreams) *WhoAmIFlags { … }
func (flags *WhoAmIFlags) AddFlags(cmd *cobra.Command) { … }
func (flags *WhoAmIFlags) ToOptions(ctx context.Context, args []string) (*WhoAmIOptions, error) { … }
type WhoAmIOptions …
var whoAmILong …
var whoAmIExample …
func NewCmdWhoAmI(restClientGetter genericclioptions.RESTClientGetter, streams genericiooptions.IOStreams) *cobra.Command { … }
var notEnabledErr …
var forbiddenErr …
func (o WhoAmIOptions) Run() error { … }
func getUserInfo(obj runtime.Object) (authenticationv1.UserInfo, error) { … }
func printTableSelfSubjectAccessReview(obj runtime.Object, out io.Writer) error { … }