Documentation
¶
Index ¶
- type ChainSpecificAddressCodec
- func (_mock *ChainSpecificAddressCodec) AddressBytesToString(bytes []byte) (string, error)
- func (_mock *ChainSpecificAddressCodec) AddressStringToBytes(s string) ([]byte, error)
- func (_m *ChainSpecificAddressCodec) EXPECT() *ChainSpecificAddressCodec_Expecter
- func (_mock *ChainSpecificAddressCodec) OracleIDAsAddressBytes(oracleID uint8) ([]byte, error)
- func (_mock *ChainSpecificAddressCodec) TransmitterBytesToString(bytes []byte) (string, error)
- type ChainSpecificAddressCodec_AddressBytesToString_Call
- func (_c *ChainSpecificAddressCodec_AddressBytesToString_Call) Return(s string, err error) *ChainSpecificAddressCodec_AddressBytesToString_Call
- func (_c *ChainSpecificAddressCodec_AddressBytesToString_Call) Run(run func(bytes []byte)) *ChainSpecificAddressCodec_AddressBytesToString_Call
- func (_c *ChainSpecificAddressCodec_AddressBytesToString_Call) RunAndReturn(run func(bytes []byte) (string, error)) *ChainSpecificAddressCodec_AddressBytesToString_Call
- type ChainSpecificAddressCodec_AddressStringToBytes_Call
- func (_c *ChainSpecificAddressCodec_AddressStringToBytes_Call) Return(bytes []byte, err error) *ChainSpecificAddressCodec_AddressStringToBytes_Call
- func (_c *ChainSpecificAddressCodec_AddressStringToBytes_Call) Run(run func(s string)) *ChainSpecificAddressCodec_AddressStringToBytes_Call
- func (_c *ChainSpecificAddressCodec_AddressStringToBytes_Call) RunAndReturn(run func(s string) ([]byte, error)) *ChainSpecificAddressCodec_AddressStringToBytes_Call
- type ChainSpecificAddressCodec_Expecter
- func (_e *ChainSpecificAddressCodec_Expecter) AddressBytesToString(bytes interface{}) *ChainSpecificAddressCodec_AddressBytesToString_Call
- func (_e *ChainSpecificAddressCodec_Expecter) AddressStringToBytes(s interface{}) *ChainSpecificAddressCodec_AddressStringToBytes_Call
- func (_e *ChainSpecificAddressCodec_Expecter) OracleIDAsAddressBytes(oracleID interface{}) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
- func (_e *ChainSpecificAddressCodec_Expecter) TransmitterBytesToString(bytes interface{}) *ChainSpecificAddressCodec_TransmitterBytesToString_Call
- type ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
- func (_c *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) Return(bytes []byte, err error) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
- func (_c *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) Run(run func(oracleID uint8)) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
- func (_c *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) RunAndReturn(run func(oracleID uint8) ([]byte, error)) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
- type ChainSpecificAddressCodec_TransmitterBytesToString_Call
- func (_c *ChainSpecificAddressCodec_TransmitterBytesToString_Call) Return(s string, err error) *ChainSpecificAddressCodec_TransmitterBytesToString_Call
- func (_c *ChainSpecificAddressCodec_TransmitterBytesToString_Call) Run(run func(bytes []byte)) *ChainSpecificAddressCodec_TransmitterBytesToString_Call
- func (_c *ChainSpecificAddressCodec_TransmitterBytesToString_Call) RunAndReturn(run func(bytes []byte) (string, error)) *ChainSpecificAddressCodec_TransmitterBytesToString_Call
- type SourceChainExtraDataCodec
- func (_mock *SourceChainExtraDataCodec) DecodeDestExecDataToMap(destExecData ccipocr3.Bytes) (map[string]any, error)
- func (_mock *SourceChainExtraDataCodec) DecodeExtraArgsToMap(extraArgs ccipocr3.Bytes) (map[string]any, error)
- func (_m *SourceChainExtraDataCodec) EXPECT() *SourceChainExtraDataCodec_Expecter
- type SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call
- func (_c *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) Return(stringToV map[string]any, err error) *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call
- func (_c *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) Run(run func(destExecData ccipocr3.Bytes)) *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call
- func (_c *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) RunAndReturn(run func(destExecData ccipocr3.Bytes) (map[string]any, error)) *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call
- type SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call
- func (_c *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) Return(stringToV map[string]any, err error) *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call
- func (_c *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) Run(run func(extraArgs ccipocr3.Bytes)) *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call
- func (_c *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) RunAndReturn(run func(extraArgs ccipocr3.Bytes) (map[string]any, error)) *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call
- type SourceChainExtraDataCodec_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainSpecificAddressCodec ¶
ChainSpecificAddressCodec is an autogenerated mock type for the ChainSpecificAddressCodec type
func NewChainSpecificAddressCodec ¶
func NewChainSpecificAddressCodec(t interface {
mock.TestingT
Cleanup(func())
}) *ChainSpecificAddressCodec
NewChainSpecificAddressCodec creates a new instance of ChainSpecificAddressCodec. 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 (*ChainSpecificAddressCodec) AddressBytesToString ¶
func (_mock *ChainSpecificAddressCodec) AddressBytesToString(bytes []byte) (string, error)
AddressBytesToString provides a mock function for the type ChainSpecificAddressCodec
func (*ChainSpecificAddressCodec) AddressStringToBytes ¶
func (_mock *ChainSpecificAddressCodec) AddressStringToBytes(s string) ([]byte, error)
AddressStringToBytes provides a mock function for the type ChainSpecificAddressCodec
func (*ChainSpecificAddressCodec) EXPECT ¶
func (_m *ChainSpecificAddressCodec) EXPECT() *ChainSpecificAddressCodec_Expecter
func (*ChainSpecificAddressCodec) OracleIDAsAddressBytes ¶
func (_mock *ChainSpecificAddressCodec) OracleIDAsAddressBytes(oracleID uint8) ([]byte, error)
OracleIDAsAddressBytes provides a mock function for the type ChainSpecificAddressCodec
func (*ChainSpecificAddressCodec) TransmitterBytesToString ¶
func (_mock *ChainSpecificAddressCodec) TransmitterBytesToString(bytes []byte) (string, error)
TransmitterBytesToString provides a mock function for the type ChainSpecificAddressCodec
type ChainSpecificAddressCodec_AddressBytesToString_Call ¶
ChainSpecificAddressCodec_AddressBytesToString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddressBytesToString'
func (*ChainSpecificAddressCodec_AddressBytesToString_Call) Return ¶
func (_c *ChainSpecificAddressCodec_AddressBytesToString_Call) Return(s string, err error) *ChainSpecificAddressCodec_AddressBytesToString_Call
func (*ChainSpecificAddressCodec_AddressBytesToString_Call) Run ¶
func (_c *ChainSpecificAddressCodec_AddressBytesToString_Call) Run(run func(bytes []byte)) *ChainSpecificAddressCodec_AddressBytesToString_Call
func (*ChainSpecificAddressCodec_AddressBytesToString_Call) RunAndReturn ¶
func (_c *ChainSpecificAddressCodec_AddressBytesToString_Call) RunAndReturn(run func(bytes []byte) (string, error)) *ChainSpecificAddressCodec_AddressBytesToString_Call
type ChainSpecificAddressCodec_AddressStringToBytes_Call ¶
ChainSpecificAddressCodec_AddressStringToBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddressStringToBytes'
func (*ChainSpecificAddressCodec_AddressStringToBytes_Call) Return ¶
func (_c *ChainSpecificAddressCodec_AddressStringToBytes_Call) Return(bytes []byte, err error) *ChainSpecificAddressCodec_AddressStringToBytes_Call
func (*ChainSpecificAddressCodec_AddressStringToBytes_Call) Run ¶
func (_c *ChainSpecificAddressCodec_AddressStringToBytes_Call) Run(run func(s string)) *ChainSpecificAddressCodec_AddressStringToBytes_Call
func (*ChainSpecificAddressCodec_AddressStringToBytes_Call) RunAndReturn ¶
func (_c *ChainSpecificAddressCodec_AddressStringToBytes_Call) RunAndReturn(run func(s string) ([]byte, error)) *ChainSpecificAddressCodec_AddressStringToBytes_Call
type ChainSpecificAddressCodec_Expecter ¶
type ChainSpecificAddressCodec_Expecter struct {
// contains filtered or unexported fields
}
func (*ChainSpecificAddressCodec_Expecter) AddressBytesToString ¶
func (_e *ChainSpecificAddressCodec_Expecter) AddressBytesToString(bytes interface{}) *ChainSpecificAddressCodec_AddressBytesToString_Call
AddressBytesToString is a helper method to define mock.On call
- bytes []byte
func (*ChainSpecificAddressCodec_Expecter) AddressStringToBytes ¶
func (_e *ChainSpecificAddressCodec_Expecter) AddressStringToBytes(s interface{}) *ChainSpecificAddressCodec_AddressStringToBytes_Call
AddressStringToBytes is a helper method to define mock.On call
- s string
func (*ChainSpecificAddressCodec_Expecter) OracleIDAsAddressBytes ¶
func (_e *ChainSpecificAddressCodec_Expecter) OracleIDAsAddressBytes(oracleID interface{}) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
OracleIDAsAddressBytes is a helper method to define mock.On call
- oracleID uint8
func (*ChainSpecificAddressCodec_Expecter) TransmitterBytesToString ¶
func (_e *ChainSpecificAddressCodec_Expecter) TransmitterBytesToString(bytes interface{}) *ChainSpecificAddressCodec_TransmitterBytesToString_Call
TransmitterBytesToString is a helper method to define mock.On call
- bytes []byte
type ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call ¶
ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OracleIDAsAddressBytes'
func (*ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) Return ¶
func (_c *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) Return(bytes []byte, err error) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
func (*ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) Run ¶
func (_c *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) Run(run func(oracleID uint8)) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
func (*ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) RunAndReturn ¶
func (_c *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) RunAndReturn(run func(oracleID uint8) ([]byte, error)) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call
type ChainSpecificAddressCodec_TransmitterBytesToString_Call ¶
ChainSpecificAddressCodec_TransmitterBytesToString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransmitterBytesToString'
func (*ChainSpecificAddressCodec_TransmitterBytesToString_Call) Run ¶
func (_c *ChainSpecificAddressCodec_TransmitterBytesToString_Call) Run(run func(bytes []byte)) *ChainSpecificAddressCodec_TransmitterBytesToString_Call
func (*ChainSpecificAddressCodec_TransmitterBytesToString_Call) RunAndReturn ¶
func (_c *ChainSpecificAddressCodec_TransmitterBytesToString_Call) RunAndReturn(run func(bytes []byte) (string, error)) *ChainSpecificAddressCodec_TransmitterBytesToString_Call
type SourceChainExtraDataCodec ¶
SourceChainExtraDataCodec is an autogenerated mock type for the SourceChainExtraDataCodec type
func NewSourceChainExtraDataCodec ¶
func NewSourceChainExtraDataCodec(t interface {
mock.TestingT
Cleanup(func())
}) *SourceChainExtraDataCodec
NewSourceChainExtraDataCodec creates a new instance of SourceChainExtraDataCodec. 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 (*SourceChainExtraDataCodec) DecodeDestExecDataToMap ¶
func (_mock *SourceChainExtraDataCodec) DecodeDestExecDataToMap(destExecData ccipocr3.Bytes) (map[string]any, error)
DecodeDestExecDataToMap provides a mock function for the type SourceChainExtraDataCodec
func (*SourceChainExtraDataCodec) DecodeExtraArgsToMap ¶
func (_mock *SourceChainExtraDataCodec) DecodeExtraArgsToMap(extraArgs ccipocr3.Bytes) (map[string]any, error)
DecodeExtraArgsToMap provides a mock function for the type SourceChainExtraDataCodec
func (*SourceChainExtraDataCodec) EXPECT ¶
func (_m *SourceChainExtraDataCodec) EXPECT() *SourceChainExtraDataCodec_Expecter
type SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call ¶
SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecodeDestExecDataToMap'
func (*SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) Return ¶
func (_c *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) Return(stringToV map[string]any, err error) *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call
func (*SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) Run ¶
func (_c *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) Run(run func(destExecData ccipocr3.Bytes)) *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call
func (*SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) RunAndReturn ¶
func (_c *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) RunAndReturn(run func(destExecData ccipocr3.Bytes) (map[string]any, error)) *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call
type SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call ¶
SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecodeExtraArgsToMap'
func (*SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) Return ¶
func (_c *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) Return(stringToV map[string]any, err error) *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call
func (*SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) Run ¶
func (_c *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) Run(run func(extraArgs ccipocr3.Bytes)) *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call
func (*SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) RunAndReturn ¶
func (_c *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) RunAndReturn(run func(extraArgs ccipocr3.Bytes) (map[string]any, error)) *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call
type SourceChainExtraDataCodec_Expecter ¶
type SourceChainExtraDataCodec_Expecter struct {
// contains filtered or unexported fields
}
func (*SourceChainExtraDataCodec_Expecter) DecodeDestExecDataToMap ¶
func (_e *SourceChainExtraDataCodec_Expecter) DecodeDestExecDataToMap(destExecData interface{}) *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call
DecodeDestExecDataToMap is a helper method to define mock.On call
- destExecData ccipocr3.Bytes
func (*SourceChainExtraDataCodec_Expecter) DecodeExtraArgsToMap ¶
func (_e *SourceChainExtraDataCodec_Expecter) DecodeExtraArgsToMap(extraArgs interface{}) *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call
DecodeExtraArgsToMap is a helper method to define mock.On call
- extraArgs ccipocr3.Bytes