Versions in this module Expand all Collapse all v0 v0.1.0 Feb 22, 2023 Changes in this version + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type AddHostBody struct + Id string + Instance string + Mac string + UserData string + type AddHostJSONRequestBody = AddHostBody + type AddPortForward struct + Host string + HostPort int + PublicIp string + PublicPort int + type AddPortForwardJSONRequestBody = AddPortForward + type AddPublicIPBody struct + Address string + Router string + type AddPublicIpJSONRequestBody = AddPublicIPBody + type AddPublicSubnetBody struct + Subnet string + type AddPublicSubnetJSONRequestBody = AddPublicSubnetBody + type CreateNetworkBody struct + SubnetSize *int + type CreateNetworkJSONRequestBody = CreateNetworkBody + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type GenerateRouterBootDataJSONRequestBody = RouterBootDataRequest + type GetPortForwardsParams struct + Host *string + Ip *string + type Host struct + Addresses []string + Id string + Instance string + Mac string + Network string + type Network struct + Id string + Subnet string + Vlan *int + type NewHostDetails struct + Addresses []string + Vlan int + type NewRouterBootData struct + Biosdata string + type PortForward struct + Host string + HostPort int + Id string + PublicIp string + PublicPort int + type PublicIP struct + Address string + Router string + Subnet string + type PublicSubnet struct + Id string + Subnet string + type Router struct + Id string + Instance string + type RouterBootDataRequest struct + Hostname string + type ServerInterface interface + AddHost func(ctx echo.Context, id string) error + AddPortForward func(ctx echo.Context) error + AddPublicIp func(ctx echo.Context, subnet string) error + AddPublicSubnet func(ctx echo.Context) error + AddRouter func(ctx echo.Context) error + CreateNetwork func(ctx echo.Context) error + DeletePortForward func(ctx echo.Context, id string) error + GenerateRouterBootData func(ctx echo.Context) error + GetHostsByNetwork func(ctx echo.Context, id string) error + GetNetwork func(ctx echo.Context, id string) error + GetPortForwards func(ctx echo.Context, params GetPortForwardsParams) error + GetPublicIps func(ctx echo.Context, subnet string) error + GetPublicSubnet func(ctx echo.Context, subnet string) error + GetRouters func(ctx echo.Context) error + ListAllNetworks func(ctx echo.Context) error + ListPublicSubnets func(ctx echo.Context) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) AddHost(ctx echo.Context) error + func (w *ServerInterfaceWrapper) AddPortForward(ctx echo.Context) error + func (w *ServerInterfaceWrapper) AddPublicIp(ctx echo.Context) error + func (w *ServerInterfaceWrapper) AddPublicSubnet(ctx echo.Context) error + func (w *ServerInterfaceWrapper) AddRouter(ctx echo.Context) error + func (w *ServerInterfaceWrapper) CreateNetwork(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeletePortForward(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GenerateRouterBootData(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetHostsByNetwork(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetNetwork(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetPortForwards(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetPublicIps(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetPublicSubnet(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetRouters(ctx echo.Context) error + func (w *ServerInterfaceWrapper) ListAllNetworks(ctx echo.Context) error + func (w *ServerInterfaceWrapper) ListPublicSubnets(ctx echo.Context) error