Documentation ¶
Overview ¶
Package clientsecretrequest provides REST functionality for the CredentialRequest resource.
Index ¶
- Constants
- type REST
- func (*REST) Categories() []string
- func (r *REST) ConvertToTable(ctx context.Context, obj runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (r *REST) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (*REST) Destroy()
- func (*REST) GetSingularName() string
- func (*REST) List(_ context.Context, _ *metainternalversion.ListOptions) (runtime.Object, error)
- func (*REST) NamespaceScoped() bool
- func (*REST) New() runtime.Object
- func (*REST) NewList() runtime.Object
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) ConvertToTable ¶
func (*REST) GetSingularName ¶ added in v0.24.0
func (*REST) List ¶
func (*REST) List(_ context.Context, _ *metainternalversion.ListOptions) (runtime.Object, error)
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 ¶
Click to show internal directories.
Click to hide internal directories.