kubernetes/pkg/controller/nodeipam/ipam/sync/sync_test.go

var (
	_
	clusterCIDRRange
	_
)

type fakeEvent

type fakeAPIs

func (f *fakeAPIs) Alias(ctx context.Context, node *v1.Node) (*net.IPNet, error) {}

func (f *fakeAPIs) AddAlias(ctx context.Context, node *v1.Node, cidrRange *net.IPNet) error {}

func (f *fakeAPIs) Node(ctx context.Context, name string) (*v1.Node, error) {}

func (f *fakeAPIs) UpdateNodePodCIDR(ctx context.Context, node *v1.Node, cidrRange *net.IPNet) error {}

func (f *fakeAPIs) UpdateNodeNetworkUnavailable(nodeName string, unavailable bool) error {}

func (f *fakeAPIs) EmitNodeWarningEvent(nodeName, reason, fmtStr string, args ...interface{}

func (f *fakeAPIs) ReportResult(err error) {}

func (f *fakeAPIs) ResyncTimeout() time.Duration {}

func (f *fakeAPIs) dumpTrace() {}

var nodeWithoutCIDRRange

var nodeWithCIDRRange

func TestNodeSyncUpdate(t *testing.T) {}

func TestNodeSyncResync(t *testing.T) {}

func TestNodeSyncDelete(t *testing.T) {}