Documentation ¶
Index ¶
- type CacheableObject
- type NestedObjectDecoder
- type NestedObjectEncoder
- type Object
- type ObjectConvertor
- func (_m *ObjectConvertor) Convert(in interface{}, out interface{}, context interface{}) error
- func (_m *ObjectConvertor) ConvertFieldLabel(gvk schema.GroupVersionKind, label string, value string) (string, string, error)
- func (_m *ObjectConvertor) ConvertToVersion(in runtime.Object, gv runtime.GroupVersioner) (runtime.Object, error)
- type ObjectCreater
- type ObjectDefaulter
- type ObjectTyper
- type ObjectVersioner
- type UnstructuredConverter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheableObject ¶ added in v0.18.0
CacheableObject is an autogenerated mock type for the CacheableObject type
func (*CacheableObject) CacheEncode ¶ added in v0.18.0
func (_m *CacheableObject) CacheEncode(id runtime.Identifier, encode func(runtime.Object, io.Writer) error, w io.Writer) error
CacheEncode provides a mock function with given fields: id, encode, w
func (*CacheableObject) GetObject ¶ added in v0.18.0
func (_m *CacheableObject) GetObject() runtime.Object
GetObject provides a mock function with given fields:
type NestedObjectDecoder ¶ added in v0.18.0
NestedObjectDecoder is an autogenerated mock type for the NestedObjectDecoder type
func (*NestedObjectDecoder) DecodeNestedObjects ¶ added in v0.18.0
func (_m *NestedObjectDecoder) DecodeNestedObjects(d runtime.Decoder) error
DecodeNestedObjects provides a mock function with given fields: d
type NestedObjectEncoder ¶ added in v0.18.0
NestedObjectEncoder is an autogenerated mock type for the NestedObjectEncoder type
func (*NestedObjectEncoder) EncodeNestedObjects ¶ added in v0.18.0
func (_m *NestedObjectEncoder) EncodeNestedObjects(e runtime.Encoder) error
EncodeNestedObjects provides a mock function with given fields: e
type Object ¶
Object is an autogenerated mock type for the Object type
func (*Object) DeepCopyObject ¶
DeepCopyObject provides a mock function with given fields:
func (*Object) GetObjectKind ¶
func (_m *Object) GetObjectKind() schema.ObjectKind
GetObjectKind provides a mock function with given fields:
type ObjectConvertor ¶ added in v0.18.0
ObjectConvertor is an autogenerated mock type for the ObjectConvertor type
func (*ObjectConvertor) Convert ¶ added in v0.18.0
func (_m *ObjectConvertor) Convert(in interface{}, out interface{}, context interface{}) error
Convert provides a mock function with given fields: in, out, context
func (*ObjectConvertor) ConvertFieldLabel ¶ added in v0.18.0
func (_m *ObjectConvertor) ConvertFieldLabel(gvk schema.GroupVersionKind, label string, value string) (string, string, error)
ConvertFieldLabel provides a mock function with given fields: gvk, label, value
func (*ObjectConvertor) ConvertToVersion ¶ added in v0.18.0
func (_m *ObjectConvertor) ConvertToVersion(in runtime.Object, gv runtime.GroupVersioner) (runtime.Object, error)
ConvertToVersion provides a mock function with given fields: in, gv
type ObjectCreater ¶ added in v0.18.0
ObjectCreater is an autogenerated mock type for the ObjectCreater type
func (*ObjectCreater) New ¶ added in v0.18.0
func (_m *ObjectCreater) New(kind schema.GroupVersionKind) (runtime.Object, error)
New provides a mock function with given fields: kind
type ObjectDefaulter ¶ added in v0.18.0
ObjectDefaulter is an autogenerated mock type for the ObjectDefaulter type
func (*ObjectDefaulter) Default ¶ added in v0.18.0
func (_m *ObjectDefaulter) Default(in runtime.Object)
Default provides a mock function with given fields: in
type ObjectTyper ¶ added in v0.18.0
ObjectTyper is an autogenerated mock type for the ObjectTyper type
func (*ObjectTyper) ObjectKinds ¶ added in v0.18.0
func (_m *ObjectTyper) ObjectKinds(_a0 runtime.Object) ([]schema.GroupVersionKind, bool, error)
ObjectKinds provides a mock function with given fields: _a0
func (*ObjectTyper) Recognizes ¶ added in v0.18.0
func (_m *ObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool
Recognizes provides a mock function with given fields: gvk
type ObjectVersioner ¶ added in v0.18.0
ObjectVersioner is an autogenerated mock type for the ObjectVersioner type
func (*ObjectVersioner) ConvertToVersion ¶ added in v0.18.0
func (_m *ObjectVersioner) ConvertToVersion(in runtime.Object, gv runtime.GroupVersioner) (runtime.Object, error)
ConvertToVersion provides a mock function with given fields: in, gv
type UnstructuredConverter ¶ added in v0.18.0
UnstructuredConverter is an autogenerated mock type for the UnstructuredConverter type
func (*UnstructuredConverter) FromUnstructured ¶ added in v0.18.0
func (_m *UnstructuredConverter) FromUnstructured(u map[string]interface{}, obj interface{}) error
FromUnstructured provides a mock function with given fields: u, obj
func (*UnstructuredConverter) ToUnstructured ¶ added in v0.18.0
func (_m *UnstructuredConverter) ToUnstructured(obj interface{}) (map[string]interface{}, error)
ToUnstructured provides a mock function with given fields: obj