package v1
import "k8s.io/kubernetes/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1"
+k8s:openapi-gen=true +groupName=testgroup.k8s.io
Index ¶
- Variables
- type TestType
- func (x *TestType) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder)
- func (obj *TestType) GetObjectKind() schema.ObjectKind
- type TestTypeList
- func (x *TestTypeList) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder)
- func (obj *TestTypeList) GetObjectKind() schema.ObjectKind
- type TestTypeStatus
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "testgroup.k8s.io", Version: "v1"}
Types ¶
type TestType ¶
type TestType struct { metav1.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 metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Status TestTypeStatus `json:"status,omitempty"` }
func (*TestType) CodecDecodeSelf ¶
func (*TestType) CodecEncodeSelf ¶
func (*TestType) GetObjectKind ¶
func (obj *TestType) GetObjectKind() schema.ObjectKind
type TestTypeList ¶
type TestTypeList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.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() schema.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)
Source Files ¶
doc.go register.go types.generated.go types.go
- Version
- v1.6.9-beta.0
- Published
- Aug 3, 2017
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 4 minutes ago –
Tools for package owners.