resourcemapper

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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, branchName 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.

Jump to

Keyboard shortcuts

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