admin

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL