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(authorizer authorizer.Authorizer) *REST
NewREST creates a new REST for policies.
type Registry ¶ added in v0.4.3
type Registry interface {
CreateSubjectAccessReview(ctx kapi.Context, subjectAccessReview *api.SubjectAccessReview) (*api.SubjectAccessReviewResponse, error)
}
func NewRegistry ¶ added in v0.4.3
Click to show internal directories.
Click to hide internal directories.