kubernetes/cmd/kube-proxy/app/conntrack.go

type Conntracker

type realConntracker

var errReadOnlySysFS

func (rct realConntracker) SetMax(ctx context.Context, max int) error {}

func (rct realConntracker) SetTCPEstablishedTimeout(ctx context.Context, seconds int) error {}

func (rct realConntracker) SetTCPCloseWaitTimeout(ctx context.Context, seconds int) error {}

func (rct realConntracker) SetTCPBeLiberal(ctx context.Context, value int) error {}

func (rct realConntracker) SetUDPTimeout(ctx context.Context, seconds int) error {}

func (rct realConntracker) SetUDPStreamTimeout(ctx context.Context, seconds int) error {}

func (rct realConntracker) setIntSysCtl(ctx context.Context, name string, value int) error {}

// isSysFSWritable checks /proc/mounts to see whether sysfs is 'rw' or not.
func (rct realConntracker) isSysFSWritable(ctx context.Context) (bool, error) {}

func readIntStringFile(filename string) (int, error) {}

func writeIntStringFile(filename string, value int) error {}