package
0.1.4
Repository: https://github.com/codeactual/kubeauth.git
Documentation: pkg.go.dev

# Packages

Package mock is a generated GoMock package.

# Functions

NewQuery returns a Query initialized with all input options.
NewRegistry builds a registry of known and discovered users.
QueryClientCmdConfig expands the query scope of an RBAC related query to seek matches from the config's identity-related entities.
QueryKind limits the query scope of an RBAC related query to a specific object kind.
QueryName limits the query scope of an RBAC related query to a specific name.
QueryNamespace limits the query scope of an RBAC related query to this namespace.

# Structs

ClusterRoleSubjectQuerier queries the API for role subjects.
ConfigUserQuerier queries a kubectl context for its user value.
CoreGroupQuerier queries a hard-coded set of group names enumerated in the API server source code.
CoreGroupQuerier queries a hard-coded set of user names enumerated in the API server source code.
Identity describes an object which may have RBAC grants.
IdentityList is a collection of Identity values.
IdentitySource describes where an Idenity was found, e.g.
Query holds facets which limit an RBAC related query's result set.
No description provided by the author
RoleSubjectQuerier queries the API for role subjects.
ServiceAccountGroupQuerier detects valid names of service account based groups and queries the API to validate their namespaces if needed.
ServiceAccountUserQuerier queries the API for service account based users.

# Interfaces

Querier implementations perform queries of an identity-related object kind, e.g.

# Type aliases

QueryOption implementations accept the current Query state and update it based on option-specific logic.