Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(secrets SecretService, verifier RuntimeVerifier) (*Handler, error)
func NewBound ¶ added in v0.4.8
func NewBound(secrets SecretService, verifier RuntimeVerifier, app string) (*Handler, error)
NewBound creates the per-application Runtime Broker surface. The application identity is already fixed by mTLS/runtime identity, so canonical bound routes do not repeat /apps/{app}. Legacy app-qualified routes remain available for compatibility with existing clients.
func NewBoundWithoutCapabilities ¶ added in v0.4.8
func NewBoundWithoutCapabilities(secrets SecretService, verifier RuntimeVerifier, app string) (*Handler, error)
type RuntimeVerifier ¶
type SecretService ¶
type SecretService interface {
CreateDynamic(context.Context, string, []byte) (applicationsecret.Reference, error)
ReadDynamic(context.Context, string, applicationsecret.Reference) ([]byte, error)
RotateDynamic(context.Context, string, applicationsecret.Reference, []byte) error
DeleteDynamic(context.Context, string, applicationsecret.Reference) error
}
Click to show internal directories.
Click to hide internal directories.