Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoDefaultRoute ¶
AutoDefaultRoute returns an IP of the default gateway, calculated according to the following rules:
- IPv4, netlen < 32: the last addr from the network
- IPv4, netlen = 32: onlink 10.11.11.11 (must be configured on dummy-interface on the host)
- IPv6: the last addr from the network
Types ¶
type ServiceServer ¶
type ServiceServer struct {
*services.ServiceServer
}
func (*ServiceServer) BuildImage ¶
func (s *ServiceServer) BuildImage(ctx context.Context, req *pb.BuildImageRequest) (*pb.BuildImageResponse, error)
func (*ServiceServer) Init ¶
func (s *ServiceServer) Init(inner *services.ServiceServer)
func (*ServiceServer) Name ¶
func (s *ServiceServer) Name() string
func (*ServiceServer) Register ¶
func (s *ServiceServer) Register(server *grpc.Server)
Click to show internal directories.
Click to hide internal directories.