clientsecretrequest

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package clientsecretrequest provides REST functionality for the CredentialRequest resource.

Index

Constants

View Source
const Cost = 12

Cost is a good bcrypt cost for 2022, should take about 250 ms to validate. This value is expected to be increased over time to match CPU improvements.

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(
	resource schema.GroupResource,
	secretsClient corev1client.SecretInterface,
	oidcClientsClient configv1alpha1clientset.OIDCClientInterface,
	namespace string,
	cost int,
	randByteGenerator io.Reader,
	byteHasher byteHasher,
	timeNowFunc timeNowFunc,
) *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) Destroy

func (*REST) Destroy()

func (*REST) GetSingularName added in v0.24.0

func (*REST) GetSingularName() string

func (*REST) List

List implements the list verb. Support the list verb to support `kubectl get pinniped`, to make sure all resources are in the pinniped category, and avoid kubectl errors when kubectl lists.

func (*REST) NamespaceScoped

func (*REST) NamespaceScoped() bool

func (*REST) New

func (*REST) New() runtime.Object

func (*REST) NewList

func (*REST) NewList() runtime.Object

Jump to

Keyboard shortcuts

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