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()
Click to show internal directories.
Click to hide internal directories.