Documentation ¶
Index ¶
- type MetalLBClient
- func (_m *MetalLBClient) CreateIPPassthrough(ctx context.Context, directive v1beta2.ClusterIPPassthroughDirective) error
- func (_m *MetalLBClient) DetectPoolChanges(ctx context.Context) (<-chan struct{}, error)
- func (_m *MetalLBClient) GetIPAddressStatusForLease(ctx context.Context, leaseID typesv1beta2.LeaseID) ([]v1beta2.IPLeaseState, error)
- func (_m *MetalLBClient) GetIPAddressUsage(ctx context.Context) (uint, uint, error)
- func (_m *MetalLBClient) GetIPPassthroughs(ctx context.Context) ([]v1beta2.IPPassthrough, error)
- func (_m *MetalLBClient) PurgeIPPassthrough(ctx context.Context, directive v1beta2.ClusterIPPassthroughDirective) error
- func (_m *MetalLBClient) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetalLBClient ¶
MetalLBClient is an autogenerated mock type for the Client type
func NewMetalLBClient ¶
func NewMetalLBClient(t testing.TB) *MetalLBClient
NewMetalLBClient creates a new instance of MetalLBClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*MetalLBClient) CreateIPPassthrough ¶
func (_m *MetalLBClient) CreateIPPassthrough(ctx context.Context, directive v1beta2.ClusterIPPassthroughDirective) error
CreateIPPassthrough provides a mock function with given fields: ctx, directive
func (*MetalLBClient) DetectPoolChanges ¶
func (_m *MetalLBClient) DetectPoolChanges(ctx context.Context) (<-chan struct{}, error)
DetectPoolChanges provides a mock function with given fields: ctx
func (*MetalLBClient) GetIPAddressStatusForLease ¶
func (_m *MetalLBClient) GetIPAddressStatusForLease(ctx context.Context, leaseID typesv1beta2.LeaseID) ([]v1beta2.IPLeaseState, error)
GetIPAddressStatusForLease provides a mock function with given fields: ctx, leaseID
func (*MetalLBClient) GetIPAddressUsage ¶
GetIPAddressUsage provides a mock function with given fields: ctx
func (*MetalLBClient) GetIPPassthroughs ¶
func (_m *MetalLBClient) GetIPPassthroughs(ctx context.Context) ([]v1beta2.IPPassthrough, error)
GetIPPassthroughs provides a mock function with given fields: ctx
func (*MetalLBClient) PurgeIPPassthrough ¶
func (_m *MetalLBClient) PurgeIPPassthrough(ctx context.Context, directive v1beta2.ClusterIPPassthroughDirective) error
PurgeIPPassthrough provides a mock function with given fields: ctx, directive
func (*MetalLBClient) Stop ¶
func (_m *MetalLBClient) Stop()
Stop provides a mock function with given fields: