package podcertificaterequest
import "k8s.io/kubernetes/pkg/registry/certificates/podcertificaterequest"
Package podcertificaterequest provides Registry interface and its RESTStorage implementation for storing PodCertificateRequest objects.
Index ¶
- type StatusStrategy
- func NewStatusStrategy(strategy *Strategy, authorizer authorizer.Authorizer, clock clock.PassiveClock) *StatusStrategy
- func (s *StatusStrategy) Canonicalize(obj runtime.Object)
- func (s *StatusStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set
- func (s *StatusStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (s *StatusStrategy) ValidateUpdate(ctx context.Context, new, old runtime.Object) field.ErrorList
- func (s *StatusStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string
- type Strategy
- func NewStrategy() *Strategy
- func (s *Strategy) AllowCreateOnUpdate() bool
- func (s *Strategy) AllowUnconditionalUpdate() bool
- func (s *Strategy) Canonicalize(obj runtime.Object)
- func (s *Strategy) NamespaceScoped() bool
- func (s *Strategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (s *Strategy) PrepareForUpdate(ctx context.Context, new, old runtime.Object)
- func (s *Strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (s *Strategy) ValidateUpdate(ctx context.Context, new, old runtime.Object) field.ErrorList
- func (s *Strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string
- func (s *Strategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string
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 ¶
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 (*Strategy) AllowUnconditionalUpdate ¶
func (*Strategy) Canonicalize ¶
func (*Strategy) NamespaceScoped ¶
func (*Strategy) PrepareForCreate ¶
func (*Strategy) PrepareForUpdate ¶
func (*Strategy) Validate ¶
func (*Strategy) ValidateUpdate ¶
func (*Strategy) WarningsOnCreate ¶
func (*Strategy) WarningsOnUpdate ¶
Source Files ¶
strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/certificates/podcertificaterequest/storage |
- Version
- v1.35.0-alpha.0
- Published
- Aug 2, 2025
- Platform
- js/wasm
- Imports
- 17 packages
- Last checked
- 6 minutes ago –
Tools for package owners.