Documentation ¶
Overview ¶
Package srv implements a server for the Aite service. Aite manipulates the state and performance of interfaces within a container's network namespace.
Index ¶
Constants ¶
View Source
const ( // MaxUint32 is the maximum uint32 value. In netem a number of values are // expressed by indicating the proportion of max uint32. MaxUint32 uint32 = 0xFFFFFFFF )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S ¶
type S struct { *apb.UnimplementedAiteServer // contains filtered or unexported fields }
S is the wrapper for the Aite service implementation.
func (*S) SetInterface ¶
func (s *S) SetInterface(ctx context.Context, req *apb.SetInterfaceRequest) (*apb.SetInterfaceResponse, error)
SetInterfaceState implements the InterfaceState RPC for the Aite service. It manipulates parameters of the interface including impairments.
Click to show internal directories.
Click to hide internal directories.