Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockCacheableObject ¶
type MockCacheableObject struct {
// contains filtered or unexported fields
}
MochCacheableObject is used to test CacheableObject interface. +k8s:deepcopy-gen=false
func (*MockCacheableObject) CacheEncode ¶
func (m *MockCacheableObject) CacheEncode(id runtime.Identifier, encode func(runtime.Object, io.Writer) error, w io.Writer) error
CacheEncode implements runtime.CacheableObject interface.
func (*MockCacheableObject) DeepCopyObject ¶
func (m *MockCacheableObject) DeepCopyObject() runtime.Object
DeepCopyObject implements runtime.Object interface.
func (*MockCacheableObject) GetObject ¶
func (m *MockCacheableObject) GetObject() runtime.Object
GetObject implements runtime.CacheableObject interface.
func (*MockCacheableObject) Marshal ¶
func (*MockCacheableObject) Marshal() ([]byte, error)
Marshal implements proto.Marshaler interface. This is implemented to avoid errors from protobuf serializer.
Click to show internal directories.
Click to hide internal directories.