Documentation

Overview

    Package credentialrequest provides REST functionality for the CredentialRequest resource.

    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
    }

    func NewREST

    func NewREST(authenticator TokenCredentialRequestAuthenticator, issuer issuer.ClientCertIssuer, resource schema.GroupResource) *REST

    func (*REST) Categories

    func (*REST) Categories() []string

    func (*REST) ConvertToTable

    func (r *REST) ConvertToTable(ctx context.Context, obj runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)

    func (*REST) Create

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

    func (*REST) NamespaceScoped

    func (*REST) NamespaceScoped() bool

    func (*REST) New

    func (*REST) New() runtime.Object

    func (*REST) NewList

    func (*REST) NewList() runtime.Object

    type TokenCredentialRequestAuthenticator

    type TokenCredentialRequestAuthenticator interface {
    	AuthenticateTokenCredentialRequest(ctx context.Context, req *loginapi.TokenCredentialRequest) (user.Info, error)
    }

    Source Files