example2

package
v0.29.9 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=example2.k8s.io

package example2 contains an example API whose internal version is defined in another group ("example"). This happens if a type is moved to a different group. It's not recommended to move types across groups, though Kubernetes have a few cases due to historical reasons. This package is for tests.

Index

Constants

View Source
const GroupName = "example2.apiserver.k8s.io"

GroupName is the group name use in this package

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

This section is empty.

Directories

Path Synopsis
Package install installs the example2 API group, making it available as an option to all of the API encoding/decoding machinery.
Package install installs the example2 API group, making it available as an option to all of the API encoding/decoding machinery.

Jump to

Keyboard shortcuts

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