Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resource ¶
func Resource(ctx context.Context, opts *options.RakkessOptions) (result.ResourceAccess, error)
Resource determines the access right of the current (or impersonated) user and prints the result as a matrix with verbs in the horizontal and resource names in the vertical direction.
func Subject ¶
func Subject(ctx context.Context, opts *options.RakkessOptions, resourceWithOptionalAPIGroup, resourceName string) error
Subject determines the subjects with access right to the given resource and prints the result as a matrix with verbs in the horizontal and subject names in the vertical direction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.