common

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentLineage

type AgentLineage struct {
	AgentID            string `json:"agent_id"`
	DelegatedBy        string `json:"delegated_by,omitempty"`
	DelegationRecordID string `json:"delegation_record_id,omitempty"`
}
type AgentLink struct {
	Identity string `json:"identity"`
	Role     string `json:"role"`
}

type PolicyRef

type PolicyRef struct {
	PolicyID       string   `json:"policy_id,omitempty"`
	PolicyVersion  string   `json:"policy_version,omitempty"`
	PolicyDigest   string   `json:"policy_digest,omitempty"`
	MatchedRuleIDs []string `json:"matched_rule_ids,omitempty"`
}

type RelationshipEdge

type RelationshipEdge struct {
	Kind string              `json:"kind"`
	From RelationshipNodeRef `json:"from"`
	To   RelationshipNodeRef `json:"to"`
}

type RelationshipEnvelope

type RelationshipEnvelope struct {
	ParentRef        *RelationshipNodeRef `json:"parent_ref,omitempty"`
	EntityRefs       []RelationshipRef    `json:"entity_refs,omitempty"`
	PolicyRef        *PolicyRef           `json:"policy_ref,omitempty"`
	AgentChain       []AgentLink          `json:"agent_chain,omitempty"`
	Edges            []RelationshipEdge   `json:"edges,omitempty"`
	ParentRecordID   string               `json:"parent_record_id,omitempty"`
	RelatedRecordIDs []string             `json:"related_record_ids,omitempty"`
	RelatedEntityIDs []string             `json:"related_entity_ids,omitempty"`
	AgentLineage     []AgentLineage       `json:"agent_lineage,omitempty"`
}

type RelationshipNodeRef

type RelationshipNodeRef struct {
	Kind string `json:"kind"`
	ID   string `json:"id"`
}

type RelationshipRef

type RelationshipRef struct {
	Kind string `json:"kind"`
	ID   string `json:"id"`
}

Jump to

Keyboard shortcuts

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