Documentation ¶
Index ¶
- func AllGVRs(ctx context.Context, cli discovery.DiscoveryInterface) ([]schema.GroupVersionResource, error)
- func AllGVRsIgnoreGroupErrs(ctx context.Context, cli discovery.DiscoveryInterface, ...) ([]schema.GroupVersionResource, error)
- func CRDMatcher(ctx context.Context, cli crdclient.Interface) (filter.ResourceTypeMatcher, error)
- func NamespacedGVRs(ctx context.Context, cli discovery.DiscoveryInterface) ([]schema.GroupVersionResource, error)
- func NamespacedGVRsIgnoreGroupErrs(ctx context.Context, cli discovery.DiscoveryInterface, ...) ([]schema.GroupVersionResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllGVRs ¶
func AllGVRs(ctx context.Context, cli discovery.DiscoveryInterface) ([]schema.GroupVersionResource, error)
func AllGVRsIgnoreGroupErrs ¶
func AllGVRsIgnoreGroupErrs(ctx context.Context, cli discovery.DiscoveryInterface, exclude filter.ResourceTypeMatcher) ([]schema.GroupVersionResource, error)
func CRDMatcher ¶
CRDMatcher returns a ResourceTypeMatcher that matches all CRs in this cluster.
func NamespacedGVRs ¶
func NamespacedGVRs(ctx context.Context, cli discovery.DiscoveryInterface) ([]schema.GroupVersionResource, error)
func NamespacedGVRsIgnoreGroupErrs ¶
func NamespacedGVRsIgnoreGroupErrs(ctx context.Context, cli discovery.DiscoveryInterface, exclude filter.ResourceTypeMatcher) ([]schema.GroupVersionResource, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.