Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST implements the RESTStorage interface in terms of an Registry.
func NewREST ¶
func NewREST(clusterSARRegistry subjectaccessreview.Registry) *REST
type Registry ¶
type Registry interface {
CreateLocalSubjectAccessReview(ctx kapi.Context, subjectAccessReview *api.LocalSubjectAccessReview) (*api.SubjectAccessReviewResponse, error)
}
func NewRegistry ¶
Click to show internal directories.
Click to hide internal directories.