Documentation
¶
Index ¶
- Constants
- Variables
- func ContentFingerprint(raw []byte) string
- func MetadataExpiryExtends(next, held time.Time) bool
- func MetadataExpiryValid(until, now time.Time) bool
- func MinimumMetadataExpiry(left, right time.Time) time.Time
- func SameResolvedResource(a, b ResolvedResource) bool
- func SelectionParametersDigest(parameters map[string]any) (string, error)
- func ValidResourceKind(value string) bool
- func WithMetadataExpiry(ctx context.Context, until time.Time) (context.Context, context.CancelFunc)
- type CanonicalActor
- type LocalResource
- type PolicyID
- type RenewalAuthorizer
- type ResolvedResource
- type ResourceAuthority
- type ResourceAuthorityFunc
- type ResourceCandidate
- type ResourceDecision
- type ResourceRef
- type ResourceResolver
- type ResourceRevisionPolicy
- type ResourceSource
- type ResourceURI
- type SelectionBinding
- type SelectionHMAC
- type VerifiedActor
- type WorkspaceListScope
Constants ¶
const ( WorkingCandidate = shared.WorkingCandidate StampedCandidate = shared.StampedCandidate ResourcePathMaxLength = shared.ResourcePathMaxLength PolicyVersion = shared.PolicyVersion )
Variables ¶
var ( ErrResource = shared.ErrResource ErrResourceDenied = shared.ErrResourceDenied ErrResourceStale = shared.ErrResourceStale ErrInvalid = shared.ErrInvalid )
Functions ¶
func ContentFingerprint ¶
func MetadataExpiryExtends ¶
func MetadataExpiryValid ¶
func SameResolvedResource ¶
func SameResolvedResource(a, b ResolvedResource) bool
func ValidResourceKind ¶
func WithMetadataExpiry ¶
Types ¶
type CanonicalActor ¶
type CanonicalActor = shared.CanonicalActor
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type LocalResource ¶
type LocalResource = shared.LocalResource
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type PolicyID ¶
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
func ObjectPolicyID ¶
func WorkspacePolicyID ¶
type RenewalAuthorizer ¶
type RenewalAuthorizer = shared.RenewalAuthorizer
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResolvedResource ¶
type ResolvedResource = shared.ResolvedResource
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceAuthority ¶
type ResourceAuthority = shared.ResourceAuthority
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceAuthorityFunc ¶
type ResourceAuthorityFunc = shared.ResourceAuthorityFunc
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceCandidate ¶
type ResourceCandidate = shared.ResourceCandidate
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceDecision ¶
type ResourceDecision = shared.ResourceDecision
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceRef ¶
type ResourceRef = shared.ResourceRef
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceResolver ¶
type ResourceResolver = shared.ResourceResolver
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceRevisionPolicy ¶
type ResourceRevisionPolicy = shared.ResourceRevisionPolicy
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceSource ¶
type ResourceSource = shared.ResourceSource
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type ResourceURI ¶
type ResourceURI = shared.ResourceURI
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
func ParseResourceURI ¶
func ParseResourceURI(value string) (ResourceURI, error)
type SelectionBinding ¶
type SelectionBinding = shared.SelectionBinding
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type SelectionHMAC ¶
type SelectionHMAC = shared.SelectionHMAC
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
func NewSelectionHMAC ¶
func NewSelectionHMAC(key []byte) (*SelectionHMAC, error)
type VerifiedActor ¶
type VerifiedActor = shared.VerifiedActor
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.
type WorkspaceListScope ¶
type WorkspaceListScope = shared.WorkspaceListScope
These aliases keep existing Agently imports source-compatible while Forge owns the resource contract. No independent resource identity or revision implementation remains in this module.