Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypeResolver ¶
type TypeResolver struct {
// contains filtered or unexported fields
}
TypeResolver keeps the preferred GroupVersionKind for all the types in the cluster.
func NewTypeResolver ¶
NewTypeResolver creates a new TypeResolver
func (*TypeResolver) Reconcile ¶
Reconcile implements reconciler.Reconciler. This function handles reconciliation for the type mapping. +kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch
func (*TypeResolver) Refresh ¶
func (r *TypeResolver) Refresh()
Refresh refreshes the type mapping by querying the api server
func (*TypeResolver) Resolve ¶
func (r *TypeResolver) Resolve(gk schema.GroupKind) (schema.GroupVersionKind, bool)
Resolve maps the provided GroupKind to a GroupVersionKind
Click to show internal directories.
Click to hide internal directories.