scheme

package
v1.12.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *runtime.Scheme

New returns a new *runtime.Scheme configured with the types we use in this project.

Types

type VersionMapper added in v1.9.1

type VersionMapper interface {
	FromGroupKind(gk schema.GroupKind) (schema.GroupVersionKind, error)
}

func NewVersionMapper added in v1.9.1

func NewVersionMapper(cc client.Client) VersionMapper

func NewVersionMapperFromScheme added in v1.9.1

func NewVersionMapperFromScheme(scheme *runtime.Scheme) VersionMapper

Jump to

Keyboard shortcuts

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