workerconfig

package
v1.29.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CurrentVersion = 1
)

Variables

View Source
var ErrWorkerProfileDisabled = errors.New("iris bot webhook worker profile is disabled")

Functions

This section is empty.

Types

type IrisBotWebhookWorkerProfile

type IrisBotWebhookWorkerProfile struct {
	Version    int                                   `json:"version"`
	ProfileID  string                                `json:"profile_id"`
	Delivery   irisWebhookDeliveryWorkerProfile      `json:"delivery"`
	Receive    botWebhookReceiveWorkerProfile        `json:"receive"`
	BotPool    botPoolWorkerProfile                  `json:"bot_pool"`
	Validation irisBotWebhookWorkerProfileValidation `json:"validation"`
}

func DecodeIrisBotWebhookWorkerProfileFromRuntimeDiagnostics

func DecodeIrisBotWebhookWorkerProfileFromRuntimeDiagnostics(reader io.Reader) (IrisBotWebhookWorkerProfile, error)

func DefaultIrisBotWebhookWorkerProfile added in v1.29.0

func DefaultIrisBotWebhookWorkerProfile() IrisBotWebhookWorkerProfile

func (IrisBotWebhookWorkerProfile) CanonicalJSON

func (p IrisBotWebhookWorkerProfile) CanonicalJSON() []byte

func (IrisBotWebhookWorkerProfile) ProfileHash

func (p IrisBotWebhookWorkerProfile) ProfileHash() string

func (IrisBotWebhookWorkerProfile) Validate

func (p IrisBotWebhookWorkerProfile) Validate() error

type RuntimeWorkerProfileEnvelope added in v1.29.0

type RuntimeWorkerProfileEnvelope struct {
	ProfileID      string
	ProfileVersion int
	ProducerHash   string
	Profile        IrisBotWebhookWorkerProfile
}

RuntimeWorkerProfileEnvelope는 Iris diagnostics가 게시한 profile identity와 payload를 함께 보존한다.

func DecodeRuntimeWorkerProfileEnvelope added in v1.29.0

func DecodeRuntimeWorkerProfileEnvelope(reader io.Reader) (RuntimeWorkerProfileEnvelope, error)

DecodeRuntimeWorkerProfileEnvelope는 Iris runtime diagnostics의 worker profile envelope를 해석한다.

Jump to

Keyboard shortcuts

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