util

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Jump to

Keyboard shortcuts

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