Documentation ¶
Index ¶
- type ExampleResource
- func (e *ExampleResource) ConvertFromStorageVersion(storageObj runtime.Object) error
- func (e *ExampleResource) ConvertToStorageVersion(storageObj runtime.Object) error
- func (e *ExampleResource) DeepCopyObject() runtime.Object
- func (e ExampleResource) GetGroupVersionResource() schema.GroupVersionResource
- func (e *ExampleResource) GetObjectMeta() *v1.ObjectMeta
- func (e ExampleResource) IsStorageVersion() bool
- func (e ExampleResource) NamespaceScoped() bool
- func (e ExampleResource) New() runtime.Object
- func (e ExampleResource) NewList() runtime.Object
- func (e *ExampleResource) NewStorageVersionObject() runtime.Object
- type ExampleResourceList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleResource ¶
type ExampleResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` }
func (*ExampleResource) ConvertFromStorageVersion ¶
func (e *ExampleResource) ConvertFromStorageVersion(storageObj runtime.Object) error
func (*ExampleResource) ConvertToStorageVersion ¶
func (e *ExampleResource) ConvertToStorageVersion(storageObj runtime.Object) error
func (*ExampleResource) DeepCopyObject ¶
func (e *ExampleResource) DeepCopyObject() runtime.Object
func (ExampleResource) GetGroupVersionResource ¶
func (e ExampleResource) GetGroupVersionResource() schema.GroupVersionResource
func (*ExampleResource) GetObjectMeta ¶
func (e *ExampleResource) GetObjectMeta() *v1.ObjectMeta
func (ExampleResource) IsStorageVersion ¶
func (e ExampleResource) IsStorageVersion() bool
func (ExampleResource) NamespaceScoped ¶
func (e ExampleResource) NamespaceScoped() bool
func (ExampleResource) New ¶
func (e ExampleResource) New() runtime.Object
func (ExampleResource) NewList ¶
func (e ExampleResource) NewList() runtime.Object
func (*ExampleResource) NewStorageVersionObject ¶
func (e *ExampleResource) NewStorageVersionObject() runtime.Object
type ExampleResourceList ¶
type ExampleResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []ExampleResource `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (*ExampleResourceList) DeepCopyObject ¶
func (e *ExampleResourceList) DeepCopyObject() runtime.Object
Click to show internal directories.
Click to hide internal directories.