This section is empty.


This section is empty.


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 SetupSignalHandler added in v1.6.0

func SetupSignalHandler() (stopCh <-chan struct{})

SetupSignalHandler registered for SIGTERM and SIGINT. A stop channel is returned which is closed on one of these signals. If a second signal is caught, the program is terminated with exit code 1.

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


This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL