registry

package
v0.0.0-...-b38a2ca Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Kinds

func Kinds() []string

func Register

func Register(obj GVKable)

func TypeFor

func TypeFor(kind string) reflect.Type

Types

type GVKable

type GVKable interface {
	// GetGroupVersionKind returns a GroupVersionKind. The name is chosen
	// to avoid collision with TypeMeta's GroupVersionKind() method.
	// See: https://issues.k8s.io/3030
	GetGroupVersionKind() schema.GroupVersionKind
}

GVKable indicates that a particular type can return metadata about the Kind.

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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