Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { resolver.ClientDiscoveryResolver // contains filtered or unexported fields }
Use the discovery-based schema resolver, paired with a CRD informer that purges CRD GVs from cache when they are updated
func New ¶
func New( crdinformer crdinformers.CustomResourceDefinitionInformer, disco discovery.DiscoveryInterface, ) *Controller
func (*Controller) ResolveSchema ¶
func (r *Controller) ResolveSchema(gvk schema.GroupVersionKind) (*spec.Schema, error)
Click to show internal directories.
Click to hide internal directories.