Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalHTTPRequester ¶
type InternalHTTPRequester interface {
DoRequest(ctx context.Context, req *httpingress_v1alpha.InternalHttpRequest) (*httpingress_v1alpha.InternalHttpResponse, error)
}
InternalHTTPRequester is an interface for making internal HTTP requests to app sandboxes. This is implemented by httpingress.Server.
type Server ¶
type Server struct {
Log *slog.Logger
EC *entityserver.Client
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( log *slog.Logger, ec *entityserver.Client, ingress InternalHTTPRequester, logWriter observability.LogWriter, ) *Server
func (*Server) DescribeMethods ¶
func (s *Server) DescribeMethods(ctx context.Context, state *admin_v1alpha.AdminDescribeMethods) error
func (*Server) Invoke ¶
func (s *Server) Invoke(ctx context.Context, state *admin_v1alpha.AdminInvoke) error
func (*Server) ListMethods ¶
func (s *Server) ListMethods(ctx context.Context, state *admin_v1alpha.AdminListMethods) error
Click to show internal directories.
Click to hide internal directories.