kubernetes: k8s.io/kubernetes/pkg/registry/authorization/selfsubjectrulesreview Index | Files

package selfsubjectrulesreview

import "k8s.io/kubernetes/pkg/registry/authorization/selfsubjectrulesreview"


Package Files


type REST Uses

type REST struct {
    // contains filtered or unexported fields

REST implements a RESTStorage for selfsubjectrulesreview.

func NewREST Uses

func NewREST(ruleResolver authorizer.RuleResolver) *REST

NewREST returns a RESTStorage object that will work against selfsubjectrulesreview.

func (*REST) Create Uses

func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)

Create attempts to get self subject rules in specific namespace.

func (*REST) NamespaceScoped Uses

func (r *REST) NamespaceScoped() bool

NamespaceScoped fulfill rest.Scoper

func (*REST) New Uses

func (r *REST) New() runtime.Object

New creates a new selfsubjectrulesreview object.

Package selfsubjectrulesreview imports 9 packages (graph) and is imported by 5 packages. Updated 2019-09-10. Refresh now. Tools for package owners.