Documentation
¶
Index ¶
- type FIFOLock
- type FallbackConn
- func (f *FallbackConn) Close() error
- func (f *FallbackConn) LocalAddr() net.Addr
- func (f *FallbackConn) Read(b []byte) (n int, err error)
- func (f *FallbackConn) RemoteAddr() net.Addr
- func (f *FallbackConn) SetDeadline(t time.Time) error
- func (f *FallbackConn) SetReadDeadline(t time.Time) error
- func (f *FallbackConn) SetWriteDeadline(t time.Time) error
- func (f *FallbackConn) Write(b []byte) (int, error)
- type FallbackCount
- func (f *FallbackCount) Attach(conn net.Conn, id uuid.UUID, addr string) (net.Conn, error)
- func (f *FallbackCount) Close() error
- func (f *FallbackCount) DeleteExecLimit(id uuid.UUID) error
- func (f *FallbackCount) DeleteLimit(addr netutil.IPv6, id uuid.UUID) error
- func (f *FallbackCount) Detach(addr string, id uuid.UUID, ipv6 netutil.IPv6) error
- func (f *FallbackCount) Reason() string
- func (f *FallbackCount) SetExecLimit(id uuid.UUID, limit bitrate.Bitrate) error
- func (f *FallbackCount) SetLimit(addr string, id uuid.UUID, limit bitrate.Bitrate) error
- func (f *FallbackCount) SetReason(reason string)
- func (f *FallbackCount) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FIFOLock ¶
type FIFOLock struct {
// contains filtered or unexported fields
}
func NewFIFOLock ¶
func NewFIFOLock() *FIFOLock
type FallbackConn ¶
type FallbackConn struct {
// contains filtered or unexported fields
}
func (*FallbackConn) Close ¶
func (f *FallbackConn) Close() error
func (*FallbackConn) LocalAddr ¶
func (f *FallbackConn) LocalAddr() net.Addr
func (*FallbackConn) RemoteAddr ¶
func (f *FallbackConn) RemoteAddr() net.Addr
func (*FallbackConn) SetDeadline ¶
func (f *FallbackConn) SetDeadline(t time.Time) error
func (*FallbackConn) SetReadDeadline ¶
func (f *FallbackConn) SetReadDeadline(t time.Time) error
func (*FallbackConn) SetWriteDeadline ¶
func (f *FallbackConn) SetWriteDeadline(t time.Time) error
type FallbackCount ¶
type FallbackCount struct {
// contains filtered or unexported fields
}
func NewFallbackCount ¶
func NewFallbackCount() (*FallbackCount, error)
func (*FallbackCount) Close ¶
func (f *FallbackCount) Close() error
func (*FallbackCount) DeleteExecLimit ¶
func (f *FallbackCount) DeleteExecLimit(id uuid.UUID) error
func (*FallbackCount) DeleteLimit ¶
func (*FallbackCount) Reason ¶ added in v0.3.0
func (f *FallbackCount) Reason() string
Reason is the recorded reason, or empty when unknown.
func (*FallbackCount) SetExecLimit ¶
func (*FallbackCount) SetReason ¶ added in v0.3.0
func (f *FallbackCount) SetReason(reason string)
SetReason records why this counter stands in for eBPF. It is called once, by the constructor that chose the fallback, before the counter is shared.
func (*FallbackCount) Type ¶
func (f *FallbackCount) Type() string
Click to show internal directories.
Click to hide internal directories.