kubernetesk8s.io/kubernetes/pkg/registry/certificates/podcertificaterequest Index | Files | Directories

package podcertificaterequest

import "k8s.io/kubernetes/pkg/registry/certificates/podcertificaterequest"

Package podcertificaterequest provides Registry interface and its RESTStorage implementation for storing PodCertificateRequest objects.

Index

Types

type StatusStrategy

type StatusStrategy struct {
	*Strategy
	// contains filtered or unexported fields
}

StatusStrategy is the strategy for the status subresource.

func NewStatusStrategy

func NewStatusStrategy(strategy *Strategy, authorizer authorizer.Authorizer, clock clock.PassiveClock) *StatusStrategy

func (*StatusStrategy) Canonicalize

func (s *StatusStrategy) Canonicalize(obj runtime.Object)

Canonicalize normalizes the object after validation.

func (*StatusStrategy) GetResetFields

func (s *StatusStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set

GetResetFields returns the set of fields that get reset by the strategy and should not be modified by the user.

func (*StatusStrategy) PrepareForUpdate

func (s *StatusStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (*StatusStrategy) ValidateUpdate

func (s *StatusStrategy) ValidateUpdate(ctx context.Context, new, old runtime.Object) field.ErrorList

func (*StatusStrategy) WarningsOnUpdate

func (s *StatusStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string

WarningsOnUpdate returns warnings for the given update.

type Strategy

type Strategy struct {
	runtime.ObjectTyper
	names.NameGenerator
}

strategy implements behavior for PodCertificateRequests.

func NewStrategy

func NewStrategy() *Strategy

func (*Strategy) AllowCreateOnUpdate

func (s *Strategy) AllowCreateOnUpdate() bool

func (*Strategy) AllowUnconditionalUpdate

func (s *Strategy) AllowUnconditionalUpdate() bool

func (*Strategy) Canonicalize

func (s *Strategy) Canonicalize(obj runtime.Object)

func (*Strategy) NamespaceScoped

func (s *Strategy) NamespaceScoped() bool

func (*Strategy) PrepareForCreate

func (s *Strategy) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (*Strategy) PrepareForUpdate

func (s *Strategy) PrepareForUpdate(ctx context.Context, new, old runtime.Object)

func (*Strategy) Validate

func (s *Strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList

func (*Strategy) ValidateUpdate

func (s *Strategy) ValidateUpdate(ctx context.Context, new, old runtime.Object) field.ErrorList

func (*Strategy) WarningsOnCreate

func (s *Strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string

func (*Strategy) WarningsOnUpdate

func (s *Strategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string

Source Files

strategy.go

Directories

PathSynopsis
pkg/registry/certificates/podcertificaterequest/storage
Version
v1.34.0-rc.0
Published
Aug 6, 2025
Platform
linux/amd64
Imports
17 packages
Last checked
1 minute ago

Tools for package owners.