sdk

package
v0.15.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: AGPL-3.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeededUUID

func SeededUUID(seedMap map[string]string) (uuid.UUID, error)

SeededUUID generates a consistent UUID for the same seedMap. This is useful for generating consistent StreamIDs across executions.

Types

type AgentAuthConfig

type AgentAuthConfig struct {
	ClientID     string
	ClientSecret string
}

type Client

type Client struct {
	Evidence *evidenceClient

	RiskTemplate *riskTemplateClient

	SubjectTemplate *subjectTemplateClient

	Heartbeat *heartbeatClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(client *http.Client, config *Config) *Client

func (*Client) NewRequest

func (c *Client) NewRequest(ctx context.Context, method string, path string, reader io.Reader) (*http.Response, error)

type Config

type Config struct {
	BaseURL string
	Logger  *zap.SugaredLogger

	AgentAuth *AgentAuthConfig
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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