v1

package
v1.5.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +groupName=testgroup.k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: "testgroup.k8s.io", Version: "v1"}

Functions

This section is empty.

Types

type TestType

type TestType struct {
	unversioned.TypeMeta `json:",inline"`
	// ---
	// the next tag removes the field from openapi spec. Adding unversioned objectMeta bring in a whole set of
	// unversioned objects in the generate file that is not used anywhere other than this test type.
	// +k8s:openapi-gen=false
	// +optional
	api.ObjectMeta `json:"metadata,omitempty"`
	// +optional
	Status TestTypeStatus `json:"status,omitempty"`
}

func (*TestType) CodecDecodeSelf

func (x *TestType) CodecDecodeSelf(d *codec1978.Decoder)

func (*TestType) CodecEncodeSelf

func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder)

func (*TestType) GetObjectKind

func (obj *TestType) GetObjectKind() unversioned.ObjectKind

type TestTypeList

type TestTypeList struct {
	unversioned.TypeMeta `json:",inline"`
	// +optional
	unversioned.ListMeta `json:"metadata,omitempty"`

	Items []TestType `json:"items"`
}

func (*TestTypeList) CodecDecodeSelf

func (x *TestTypeList) CodecDecodeSelf(d *codec1978.Decoder)

func (*TestTypeList) CodecEncodeSelf

func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder)

func (*TestTypeList) GetObjectKind

func (obj *TestTypeList) GetObjectKind() unversioned.ObjectKind

type TestTypeStatus

type TestTypeStatus struct {
	Blah string
}

func (*TestTypeStatus) CodecDecodeSelf

func (x *TestTypeStatus) CodecDecodeSelf(d *codec1978.Decoder)

func (*TestTypeStatus) CodecEncodeSelf

func (x *TestTypeStatus) CodecEncodeSelf(e *codec1978.Encoder)

Jump to

Keyboard shortcuts

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