platformflow

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IAMServiceGatewayManifest

func IAMServiceGatewayManifest() gatewayx.Manifest

IAMServiceGatewayManifest is the generated-equivalent output of protoc-gen-go-gateway for validation/iamservice/api/iam/v1/iam.proto.

func IAMServiceKernelModule

func IAMServiceKernelModule() serverx.ServiceModule

IAMServiceKernelModule is generated-equivalent output of protoc-gen-go-kernel.

func RegisterIAMServiceGRPCServer

func RegisterIAMServiceGRPCServer(s grpc.ServiceRegistrar, srv iamGRPCServer)

func RegisterPlatformGatewayGRPCInvokers

func RegisterPlatformGatewayGRPCInvokers(registry *gatewayx.InvokerRegistry, iam IAMServiceClient, skill SkillServiceClient) error

RegisterPlatformGatewayGRPCInvokers is the generated shape used by Gateway. It uses generated gRPC clients, not in-memory service function calls.

func RegisterPlatformGatewayInvokers

func RegisterPlatformGatewayInvokers(registry *gatewayx.InvokerRegistry, iam iamService, skill *skillService, skillHandler middleware.Handler) error

RegisterPlatformGatewayInvokers is generated-equivalent Gateway -> service gRPC binding registration.

func RegisterSkillServiceGRPCServer

func RegisterSkillServiceGRPCServer(s grpc.ServiceRegistrar, handler middleware.Handler)

func SkillServiceAccessResolver

func SkillServiceAccessResolver(ctx context.Context, operation string, req any) (accessx.Check, bool, error)

SkillServiceAccessResolver maps proto access policy to accessx.Check. The Check is executed by accessx.Guard inside SkillService, not by Gateway.

func SkillServiceGatewayManifest

func SkillServiceGatewayManifest() gatewayx.Manifest

SkillServiceGatewayManifest is the generated-equivalent output of protoc-gen-go-gateway for a skill service proto.

func SkillServiceKernelModule

func SkillServiceKernelModule() serverx.ServiceModule

SkillServiceKernelModule is generated-equivalent output of protoc-gen-go-kernel.

func SkillServiceRequestInfoResolver

func SkillServiceRequestInfoResolver(ctx context.Context, operation string, req any) (requestx.Info, bool, error)

SkillServiceRequestInfoResolver is the generated-equivalent output of protoc-gen-go-authz. It makes SkillService the authoritative authn/authz enforcement point after Gateway performs passive token relay.

Types

type IAMServiceClient

type IAMServiceClient interface {
	Login(ctx context.Context, in LoginRequest, opts ...grpc.CallOption) (LoginReply, error)
}

func NewIAMServiceClient

func NewIAMServiceClient(cc grpc.ClientConnInterface) IAMServiceClient

type SkillServiceClient

type SkillServiceClient interface {
	GetSkill(ctx context.Context, in GetSkillRequest, opts ...grpc.CallOption) (Skill, error)
}

Jump to

Keyboard shortcuts

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