config

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssistantDeltaFlushInterval

func AssistantDeltaFlushInterval(configuration *copilotv1.AdapterConfig) time.Duration

AssistantDeltaFlushInterval converts the in-memory batch window to a duration.

func AssistantDeltaMaxBytes

func AssistantDeltaMaxBytes(configuration *copilotv1.AdapterConfig) int

AssistantDeltaMaxBytes returns the durable event's byte limit.

func AssistantDeltaMaxEvents

func AssistantDeltaMaxEvents(configuration *copilotv1.AdapterConfig) int

AssistantDeltaMaxEvents returns the maximum source receipts retained per batch.

func AssistantDeltaSourceMaxBytes

func AssistantDeltaSourceMaxBytes(configuration *copilotv1.AdapterConfig) int

AssistantDeltaSourceMaxBytes returns the accepted source delta byte limit.

func DefaultAdapterConfig

func DefaultAdapterConfig() *copilotv1.AdapterConfig

DefaultAdapterConfig parses the checked-in default document into the generated contract. The document is checked by the service's configuration tests.

func DefaultPageLimit

func DefaultPageLimit(configuration *copilotv1.AdapterConfig) int32

DefaultPageLimit returns the declared fallback for list endpoint page sizes.

func DurableTransitionTimeout

func DurableTransitionTimeout(configuration *copilotv1.AdapterConfig) time.Duration

DurableTransitionTimeout converts the configured persistence budget.

func EventStreamPageSize

func EventStreamPageSize(configuration *copilotv1.AdapterConfig) int32

EventStreamPageSize returns the declared number of rows drained by one poll.

func EventStreamPollInterval

func EventStreamPollInterval(configuration *copilotv1.AdapterConfig) time.Duration

EventStreamPollInterval converts the declared polling interval to a duration.

func ParseAdapterConfig

func ParseAdapterConfig(document []byte) (*copilotv1.AdapterConfig, error)

ParseAdapterConfig parses one ProtoJSON configuration document and validates its fields against the generated Liquid Proto contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

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