process_binding

package
v0.51.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package process_binding provides CRUD helpers for process bindings in the platform-account ObjectStore.

Index

Constants

View Source
const ProcessBindingKeyPrefix = "process-binding"

ProcessBindingKeyPrefix is the prefix for process binding keys.

Variables

This section is empty.

Functions

func GetProcessBinding

func GetProcessBinding(ctx context.Context, store kvtx.Store, spaceID, objectKey string) (*s4wave_process.ProcessBinding, error)

GetProcessBinding reads the ProcessBinding from the store. Returns nil, nil if the key is not found.

func ListProcessBindings

func ListProcessBindings(ctx context.Context, store kvtx.Store, spaceID string) ([]*s4wave_process.ProcessBinding, error)

ListProcessBindings lists all process bindings for a given space.

func ProcessBindingKey

func ProcessBindingKey(spaceID, objectKey string) []byte

ProcessBindingKey returns the KV key for a process binding. Key format: process-binding/{spaceID}/{objectKey}

func SetProcessBinding

func SetProcessBinding(ctx context.Context, store kvtx.Store, spaceID, objectKey string, binding *s4wave_process.ProcessBinding) error

SetProcessBinding writes the ProcessBinding to the store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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