Documentation ¶
Index ¶
- func CreateList(prefix string, helper storage.Interface, list runtime.Object) error
- func CreateObj(helper storage.Interface, name string, obj, out runtime.Object, ttl uint64) error
- func CreateObjList(prefix string, helper storage.Interface, items []runtime.Object) error
- func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFuncdeprecated
- type TestResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateList ¶
CreateList will properly create a list using the storage interface
func CreateObjList ¶
CreateObjList will create a list from the array of objects
func GetGeneratedDeepCopyFuncs
deprecated
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc
GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
Types ¶
type TestResource ¶
type TestResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Value int `json:"value"` }
func (*TestResource) CodecDecodeSelf ¶
func (x *TestResource) CodecDecodeSelf(d *codec1978.Decoder)
func (*TestResource) CodecEncodeSelf ¶
func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder)
func (*TestResource) DeepCopy ¶
func (in *TestResource) DeepCopy() *TestResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResource.
func (*TestResource) DeepCopyInto ¶
func (in *TestResource) DeepCopyInto(out *TestResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResource) DeepCopyObject ¶
func (in *TestResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Click to show internal directories.
Click to hide internal directories.