Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mapper ¶
type Mapper interface {
KindFor(ctx context.Context, resource schema.GroupResource, proxy types.NamespacedName, branch string) (schema.GroupVersionKind, error)
}
func NewMapper ¶
func NewMapper(d discovery.DiscoveryInterface) Mapper
NewDiscoveryRESTMapper returns a PriorityRESTMapper based on the discovered groups and resources passed in.
Click to show internal directories.
Click to hide internal directories.