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

resource

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	WorkingCandidate      = shared.WorkingCandidate
	StampedCandidate      = shared.StampedCandidate
	ResourcePathMaxLength = shared.ResourcePathMaxLength
	PolicyVersion         = shared.PolicyVersion
)

Variables

View Source
var (
	ErrResource       = shared.ErrResource
	ErrResourceDenied = shared.ErrResourceDenied
	ErrResourceStale  = shared.ErrResourceStale
	ErrInvalid        = shared.ErrInvalid
)

Functions

func ContentFingerprint

func ContentFingerprint(raw []byte) string

func MetadataExpiryExtends

func MetadataExpiryExtends(next, held time.Time) bool

func MetadataExpiryValid

func MetadataExpiryValid(until, now time.Time) bool

func MinimumMetadataExpiry

func MinimumMetadataExpiry(left, right time.Time) time.Time

func SameResolvedResource

func SameResolvedResource(a, b ResolvedResource) bool

func SelectionParametersDigest

func SelectionParametersDigest(parameters map[string]any) (string, error)

func ValidResourceKind

func ValidResourceKind(value string) bool

func WithMetadataExpiry

func WithMetadataExpiry(ctx context.Context, until time.Time) (context.Context, context.CancelFunc)

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

type PolicyID = shared.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 ObjectPolicyID(tenantID, accountID, studioKind, workspaceID, kind, objectID string) (PolicyID, error)

func WorkspacePolicyID

func WorkspacePolicyID(tenantID, accountID, studioKind, workspaceID string) (PolicyID, error)

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.

Directories

Path Synopsis
Package user defines canonical identities beneath a user's resource namespace.
Package user defines canonical identities beneath a user's resource namespace.

Jump to

Keyboard shortcuts

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