Help us shape the future of Go! Take the 2026 Go Developer Survey

clientworkflow

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package clientworkflow composes destination discovery and feature negotiation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	URL         string
	Descriptor  api.InstanceResponseV2
	Query       *queryclient.Client
	Destination *collector.Destination
}

func Resolve

func Resolve(ctx context.Context, settings config.SyncSettings) (Session, error)

func (Session) Require

func (s Session) Require(permission serverfeatures.Permission, capabilities ...serverfeatures.Capability) error

func (Session) VerifyIngestion

func (s Session) VerifyIngestion(ctx context.Context) error

VerifyIngestion negotiates the raw contract before capture can mutate local state. Read-only workflows never need access to the ingestion transport.

Jump to

Keyboard shortcuts

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