Documentation ¶
Overview ¶
Package test provides a mock type for IPAM module
Index ¶
- type MockIpam
- func (mock *MockIpam) GetHomePodIP(ctx context.Context, in *liqonetIpam.GetHomePodIPRequest, ...) (*liqonetIpam.GetHomePodIPResponse, error)
- func (mock *MockIpam) MapEndpointIP(ctx context.Context, in *liqonetIpam.MapRequest, opts ...grpc.CallOption) (*liqonetIpam.MapResponse, error)
- func (mock *MockIpam) UnmapEndpointIP(ctx context.Context, in *liqonetIpam.UnmapRequest, opts ...grpc.CallOption) (*liqonetIpam.UnmapResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIpam ¶
MockIpam mocks the IPAM module.
func (*MockIpam) GetHomePodIP ¶
func (mock *MockIpam) GetHomePodIP( ctx context.Context, in *liqonetIpam.GetHomePodIPRequest, opts ...grpc.CallOption) (*liqonetIpam.GetHomePodIPResponse, error)
GetHomePodIP mocks the corresponding func in IPAM.
func (*MockIpam) MapEndpointIP ¶
func (mock *MockIpam) MapEndpointIP( ctx context.Context, in *liqonetIpam.MapRequest, opts ...grpc.CallOption) (*liqonetIpam.MapResponse, error)
MapEndpointIP mocks the corresponding func in IPAM.
func (*MockIpam) UnmapEndpointIP ¶
func (mock *MockIpam) UnmapEndpointIP( ctx context.Context, in *liqonetIpam.UnmapRequest, opts ...grpc.CallOption) (*liqonetIpam.UnmapResponse, error)
UnmapEndpointIP mocks the corresponding func in IPAM.
Click to show internal directories.
Click to hide internal directories.