Documentation ¶
Index ¶
- func FullListOptionsFieldSelector(options *metainternal.ListOptions, fieldSelector fields.Selector) *metainternal.ListOptions
- func InterceptCustomSelectorFromListOptions(options *metainternal.ListOptions, selector, defaultValue string) (*metainternal.ListOptions, string)
- func InterceptFuzzyResourceNameFromListOptions(options *metainternal.ListOptions, fuzzyResourceName string) (*metainternal.ListOptions, string)
- func PredicateListOptions(ctx context.Context, options *metainternal.ListOptions) *metainternal.ListOptions
- func SetupAuditConfig(genericAPIServerConfig *genericapiserver.Config, ...) error
- func ShouldHaveDeleteDependentsFinalizer(options *metav1.DeleteOptions, haveDeleteDependentsFinalizer bool) bool
- func ShouldHaveOrphanFinalizer(options *metav1.DeleteOptions, haveOrphanFinalizer bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FullListOptionsFieldSelector ¶ added in v1.4.0
func FullListOptionsFieldSelector(options *metainternal.ListOptions, fieldSelector fields.Selector) *metainternal.ListOptions
FullListOptionsFieldSelector fill options fieldSelector.
func InterceptCustomSelectorFromListOptions ¶ added in v1.4.0
func InterceptCustomSelectorFromListOptions(options *metainternal.ListOptions, selector, defaultValue string) (*metainternal.ListOptions, string)
InterceptCustomSelectorFromListOptions determines the query options according to the selector.
func InterceptFuzzyResourceNameFromListOptions ¶ added in v1.4.0
func InterceptFuzzyResourceNameFromListOptions(options *metainternal.ListOptions, fuzzyResourceName string) (*metainternal.ListOptions, string)
InterceptFuzzyResourceNameFromListOptions determines the query options according to the fuzzyResourceName.
func PredicateListOptions ¶
func PredicateListOptions(ctx context.Context, options *metainternal.ListOptions) *metainternal.ListOptions
PredicateListOptions determines the query options according to the tenant attribute of the request user.
func SetupAuditConfig ¶ added in v1.3.1
func SetupAuditConfig(genericAPIServerConfig *genericapiserver.Config, auditOptions *genericapiserveroptions.AuditOptions) error
func ShouldHaveDeleteDependentsFinalizer ¶
func ShouldHaveDeleteDependentsFinalizer(options *metav1.DeleteOptions, haveDeleteDependentsFinalizer bool) bool
ShouldHaveDeleteDependentsFinalizer is used to determine whether to delete all dependencies
func ShouldHaveOrphanFinalizer ¶
func ShouldHaveOrphanFinalizer(options *metav1.DeleteOptions, haveOrphanFinalizer bool) bool
ShouldHaveOrphanFinalizer is used to determine whether to delete all dependencies
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.