Documentation
¶
Overview ¶
Package standardresources materializes release-owned resource bundles from a verified release artifact manifest and explicit deployment bindings.
Index ¶
Constants ¶
View Source
const ( AgentCompartment = "agent-compartment" DurableCoding = "durable-coding" ArchitectureAMD64 = "amd64" PoolAMD64 = "standard-amd64" AgentGateway = "agent-gateway.secondbox.internal" PlatformGateway = "platform-gateway.secondbox.internal" )
View Source
const BundleSchemaVersion = "secondbox.standard-bundle/v2"
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(manifest releasecontract.ArtifactManifest, selection Selection) (resourceapply.Document, error)
Build resolves execution asset digests only from the already-validated artifact manifest. Consumer repositories never copy release digests.
func ProfileLineage ¶
func ProfileLineage(name, runtimeDigest, toolchainDigest string) (resourceapply.Profile, error)
ProfileLineage returns the complete ordered lineage for one architecture-qualified standard Profile.
Types ¶
type BundleDocument ¶
type BundleDocument struct {
SchemaVersion string `json:"schemaVersion"`
Name string `json:"name"`
Architecture string `json:"architecture"`
RunnerPoolSelector string `json:"runnerPoolSelector"`
LogicalGateway string `json:"logicalGateway"`
SignedManifestDigest string `json:"signedManifestDigest"`
RuntimeBundleDigest string `json:"runtimeBundleDigest"`
ToolchainBundleDigest string `json:"toolchainBundleDigest"`
Profile resourceapply.Profile `json:"profile"`
ParameterSchema json.RawMessage `json:"parameterSchema"`
}
func DecodeDocument ¶
func DecodeDocument(data []byte) (BundleDocument, error)
func Documents ¶
func Documents(signedManifestDigest, runtimeBundleDigest, toolchainBundleDigest string) ([]BundleDocument, error)
func (BundleDocument) Validate ¶
func (document BundleDocument) Validate() error
type PoolBinding ¶
type Selection ¶
type Selection struct {
Bundles []string
Pools map[string]PoolBinding
}
Click to show internal directories.
Click to hide internal directories.