resourcegraph

package
v0.0.0-...-55113ed Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceMapper

type ResourceMapper struct {
	DiscoveryClient discovery.DiscoveryInterface
	InformerFactory apiextensionsinformer.SharedInformerFactory
	ResourceList    hashset.Set
	CRDInformer     cache.SharedInformer
	DynamicClient   dynamic.Interface
}

func NewResourceMapper

func NewResourceMapper(destinationConfig *rest.Config) (*ResourceMapper, error)

func (*ResourceMapper) GetResourcesRelationFilter

func (r *ResourceMapper) GetResourcesRelationFilter(ctx context.Context) (map[string][]string, error)

GetResourcesRelationFilter retrieves a mapping of parent resource kinds to their child resource kinds.

func (*ResourceMapper) Init

func (r *ResourceMapper) Init() error

func (*ResourceMapper) StartInformer

func (r *ResourceMapper) StartInformer()

Jump to

Keyboard shortcuts

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