Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SelfSubjectAccessReviewDataSource ¶
type SelfSubjectAccessReviewDataSource struct {
// ResourceAttributes selects a resource request. An omitted or empty namespace
// queries all namespaces and does not inherit the configured namespace.
ResourceAttributes *AccessReviewResourceAttributes
NonResourceAttributes *AccessReviewNonResourceAttributes
}
SelfSubjectAccessReviewDataSource observes access for the configured identity. A negative decision and any evaluation error are returned as data. The query does not create a permission grant. Choose exactly one resource or non-resource attribute object; subject identity comes from shared client configuration. Outputs omit the API reason: equivalent authorization decisions can name different matching RBAC bindings on consecutive reads, invalidating saved plans.
func (SelfSubjectAccessReviewDataSource) Constraints ¶
func (r SelfSubjectAccessReviewDataSource) Constraints() []constraint.Constraint
func (*SelfSubjectAccessReviewDataSource) Read ¶
func (r *SelfSubjectAccessReviewDataSource) Read( ctx context.Context, c *config.Configuration, ) (*SelfSubjectAccessReviewDataSourceOutput, error)