Documentation
¶
Overview ¶
Package podcertificaterequest provides Registry interface and its RESTStorage implementation for storing PodCertificateRequest objects.
Index ¶
- type 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 (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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 (*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) ValidateUpdate ¶
func (*Strategy) WarningsOnCreate ¶
Click to show internal directories.
Click to hide internal directories.