example2

package
Version: v1.14.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

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.
Package v1 is a generated protocol buffer package.
Package v1 is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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