kubernetesk8s.io/kubernetes/pkg/apiserver/testing Index | Files

package testing

import "k8s.io/kubernetes/pkg/apiserver/testing"

Index

Types

type Simple

type Simple struct {
	unversioned.TypeMeta `json:",inline"`
	api.ObjectMeta       `json:"metadata"`
	// +optional
	Other string `json:"other,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
}

func (*Simple) CodecDecodeSelf

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

func (*Simple) CodecEncodeSelf

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

func (*Simple) GetObjectKind

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

type SimpleGetOptions

type SimpleGetOptions struct {
	unversioned.TypeMeta `json:",inline"`
	Param1               string `json:"param1"`
	Param2               string `json:"param2"`
	Path                 string `json:"atAPath"`
}

func (*SimpleGetOptions) CodecDecodeSelf

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

func (*SimpleGetOptions) CodecEncodeSelf

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

func (*SimpleGetOptions) GetObjectKind

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

func (SimpleGetOptions) SwaggerDoc

func (SimpleGetOptions) SwaggerDoc() map[string]string

type SimpleList

type SimpleList struct {
	unversioned.TypeMeta `json:",inline"`
	unversioned.ListMeta `json:"metadata,inline"`
	// +optional
	Items []Simple `json:"items,omitempty"`
}

func (*SimpleList) CodecDecodeSelf

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

func (*SimpleList) CodecEncodeSelf

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

func (*SimpleList) GetObjectKind

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

type SimpleRoot

type SimpleRoot struct {
	unversioned.TypeMeta `json:",inline"`
	api.ObjectMeta       `json:"metadata"`
	// +optional
	Other string `json:"other,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
}

func (*SimpleRoot) CodecDecodeSelf

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

func (*SimpleRoot) CodecEncodeSelf

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

func (*SimpleRoot) GetObjectKind

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

Source Files

types.generated.go types.go

Version
v1.5.7
Published
Apr 27, 2017
Platform
windows/amd64
Imports
9 packages
Last checked
3 minutes ago

Tools for package owners.