kubernetes/pkg/registry/authorization/selfsubjectrulesreview/rest.go

type REST

// NewREST returns a RESTStorage object that will work against selfsubjectrulesreview.
func NewREST(ruleResolver authorizer.RuleResolver) *REST {}

// NamespaceScoped fulfill rest.Scoper
func (r *REST) NamespaceScoped() bool {}

// New creates a new selfsubjectrulesreview object.
func (r *REST) New() runtime.Object {}

// Destroy cleans up resources on shutdown.
func (r *REST) Destroy() {}

// Create attempts to get self subject rules in specific namespace.
func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error) {}

var _

func (r *REST) GetSingularName() string {}

func getResourceRules(infos []authorizer.ResourceRuleInfo) []authorizationapi.ResourceRule {}

func getNonResourceRules(infos []authorizer.NonResourceRuleInfo) []authorizationapi.NonResourceRule {}