Documentation
¶
Index ¶
- Variables
- func AddToScheme(s *runtime.Scheme) error
- type FakeResource
- func (in *FakeResource) DeepCopy() *FakeResource
- func (in *FakeResource) DeepCopyInto(out *FakeResource)
- func (in *FakeResource) DeepCopyIntoResource(res resource.Resource) error
- func (in *FakeResource) DeepCopyObject() runtime.Object
- func (in *FakeResource) GetGroupVersionResource() schema.GroupVersionResource
- func (in *FakeResource) GetSingularName() string
- func (in *FakeResource) New() resource.Resource
- func (in *FakeResource) NewList() runtime.Object
- type FakeResourceList
- type FakeResourceSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "fakegroup", Version: "v1alpha1"} )
Functions ¶
func AddToScheme ¶
Types ¶
type FakeResource ¶
type FakeResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec FakeResourceSpec `json:"spec"` }
FakeResource is the Schema for the device discovery API +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*FakeResource) DeepCopy ¶
func (in *FakeResource) DeepCopy() *FakeResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FakeResource.
func (*FakeResource) DeepCopyInto ¶
func (in *FakeResource) DeepCopyInto(out *FakeResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FakeResource) DeepCopyIntoResource ¶
func (in *FakeResource) DeepCopyIntoResource(res resource.Resource) error
func (*FakeResource) DeepCopyObject ¶
func (in *FakeResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FakeResource) GetGroupVersionResource ¶
func (in *FakeResource) GetGroupVersionResource() schema.GroupVersionResource
func (*FakeResource) GetSingularName ¶
func (in *FakeResource) GetSingularName() string
func (*FakeResource) New ¶
func (in *FakeResource) New() resource.Resource
func (*FakeResource) NewList ¶
func (in *FakeResource) NewList() runtime.Object
type FakeResourceList ¶
type FakeResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FakeResource `json:"items"` }
FakeResourceList contains a list of Cache +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*FakeResourceList) DeepCopy ¶
func (in *FakeResourceList) DeepCopy() *FakeResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FakeResourceList.
func (*FakeResourceList) DeepCopyInto ¶
func (in *FakeResourceList) DeepCopyInto(out *FakeResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FakeResourceList) DeepCopyObject ¶
func (in *FakeResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FakeResourceSpec ¶
+k8s:openapi-gen=true FakeResourceSpec defines the desired state of the Device.