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 NewCacheableObject ¶ added in v0.19.1
func NewCacheableObject(t interface { mock.TestingT Cleanup(func()) }) *CacheableObject
NewCacheableObject creates a new instance of CacheableObject. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewNestedObjectDecoder ¶ added in v0.19.1
func NewNestedObjectDecoder(t interface { mock.TestingT Cleanup(func()) }) *NestedObjectDecoder
NewNestedObjectDecoder creates a new instance of NestedObjectDecoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewNestedObjectEncoder ¶ added in v0.19.1
func NewNestedObjectEncoder(t interface { mock.TestingT Cleanup(func()) }) *NestedObjectEncoder
NewNestedObjectEncoder creates a new instance of NestedObjectEncoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewObject ¶ added in v0.19.1
NewObject creates a new instance of Object. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewObjectConvertor ¶ added in v0.19.1
func NewObjectConvertor(t interface { mock.TestingT Cleanup(func()) }) *ObjectConvertor
NewObjectConvertor creates a new instance of ObjectConvertor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewObjectCreater ¶ added in v0.19.1
func NewObjectCreater(t interface { mock.TestingT Cleanup(func()) }) *ObjectCreater
NewObjectCreater creates a new instance of ObjectCreater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewObjectDefaulter ¶ added in v0.19.1
func NewObjectDefaulter(t interface { mock.TestingT Cleanup(func()) }) *ObjectDefaulter
NewObjectDefaulter creates a new instance of ObjectDefaulter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewObjectTyper ¶ added in v0.19.1
func NewObjectTyper(t interface { mock.TestingT Cleanup(func()) }) *ObjectTyper
NewObjectTyper creates a new instance of ObjectTyper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewObjectVersioner ¶ added in v0.19.1
func NewObjectVersioner(t interface { mock.TestingT Cleanup(func()) }) *ObjectVersioner
NewObjectVersioner creates a new instance of ObjectVersioner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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 NewUnstructuredConverter ¶ added in v0.19.1
func NewUnstructuredConverter(t interface { mock.TestingT Cleanup(func()) }) *UnstructuredConverter
NewUnstructuredConverter creates a new instance of UnstructuredConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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