credentialrequest

package
Version: v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

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 added in v0.3.0

func (*REST) Categories() []string

func (*REST) ConvertToTable added in v0.6.0

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) Destroy added in v0.19.0

func (*REST) Destroy()

func (*REST) List added in v0.6.0

func (*REST) NamespaceScoped

func (*REST) NamespaceScoped() bool

func (*REST) New

func (*REST) New() runtime.Object

func (*REST) NewList added in v0.6.0

func (*REST) NewList() runtime.Object

type TokenCredentialRequestAuthenticator

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL