resolution

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

Adapter dispatches resolution for any supported CR type to that type's own resolution adapter, based on the object's concrete Go type.

func NewAdapter

func NewAdapter() *Adapter

NewAdapter constructs an Adapter wired up with every supported CR type's own resolution adapter.

func (*Adapter) Resolve

func (a *Adapter) Resolve(ctx context.Context, obj client.Object) error

Resolve dispatches obj to the resolution adapter matching its concrete type. Route and Domain are not yet wired up.

Directories

Path Synopsis
build
adapter
Package adapter implements the Build resolution Adapter.
Package adapter implements the Build resolution Adapter.
contract
Package contract implements the Build CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedBuildSpec) to the protobuf contract type (contractv1.BuildSpec).
Package contract implements the Build CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedBuildSpec) to the protobuf contract type (contractv1.BuildSpec).
resolve
Package resolve implements resolution for the Build CR.
Package resolve implements resolution for the Build CR.
deployment
adapter
Package adapter implements the Deployment resolution Adapter.
Package adapter implements the Deployment resolution Adapter.
contract
Package contract implements the Deployment CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedDeploymentSpec) to the protobuf contract type (environmentscontractv1alpha1.DeploymentSpec).
Package contract implements the Deployment CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedDeploymentSpec) to the protobuf contract type (environmentscontractv1alpha1.DeploymentSpec).
resolve
Package resolve implements resolution for the Deployment CR.
Package resolve implements resolution for the Deployment CR.
domain
adapter
Package adapter implements the Domain resolution Adapter.
Package adapter implements the Domain resolution Adapter.
contract
Package contract owns the proto projection for Domain — a one-way mapping from the typed resolve.ResolvedDomainSpec to the canonical proto DomainSpec used for content-addressable hashing, audit trails, and gRPC API responses.
Package contract owns the proto projection for Domain — a one-way mapping from the typed resolve.ResolvedDomainSpec to the canonical proto DomainSpec used for content-addressable hashing, audit trails, and gRPC API responses.
resolve
Package resolve implements resolution for the Domain CR.
Package resolve implements resolution for the Domain CR.
environment
contract
Package contract implements the Environment CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedEnvironmentSpec) to the protobuf contract type (environmentscontractv1alpha1.EnvironmentSpec).
Package contract implements the Environment CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedEnvironmentSpec) to the protobuf contract type (environmentscontractv1alpha1.EnvironmentSpec).
resolve
Package resolve implements resolution for the Environment CR.
Package resolve implements resolution for the Environment CR.
githubevent
adapter
Package adapter implements the GitHubEvent resolution Adapter.
Package adapter implements the GitHubEvent resolution Adapter.
contract
Package contract implements the GitHubEvent CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedGitHubEventSpec) to the protobuf contract type (eventscontractv1alpha1.GitHubEventSpec).
Package contract implements the GitHubEvent CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedGitHubEventSpec) to the protobuf contract type (eventscontractv1alpha1.GitHubEventSpec).
resolve
Package resolve implements resolution for the GitHubEvent CR.
Package resolve implements resolution for the GitHubEvent CR.
gitrepository
adapter
Package adapter implements the GitRepository resolution Adapter.
Package adapter implements the GitRepository resolution Adapter.
contract
Package contract implements the GitRepository CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedGitRepositorySpec) to the protobuf contract type (sourcescontractv1alpha1.GitRepositorySpec).
Package contract implements the GitRepository CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedGitRepositorySpec) to the protobuf contract type (sourcescontractv1alpha1.GitRepositorySpec).
resolve
Package resolve implements resolution for the GitRepository CR.
Package resolve implements resolution for the GitRepository CR.
packages
adapter
Package adapter implements the Package resolution Adapter.
Package adapter implements the Package resolution Adapter.
contract
Package contract implements the Package CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedPackageSpec) to the protobuf contract type (contractv1.PackageSpec).
Package contract implements the Package CR contract adapter — the one-way projection from the resolved runtime spec (resolve.ResolvedPackageSpec) to the protobuf contract type (contractv1.PackageSpec).
resolve
Package resolve implements resolution for the Package CR.
Package resolve implements resolution for the Package CR.
route
adapter
Package adapter implements the Route resolution Adapter.
Package adapter implements the Route resolution Adapter.
contract
Package contract owns the proto projection for Route — a one-way mapping from the typed resolve.ResolvedRouteSpec to the canonical proto RouteSpec used for content-addressable hashing, audit trails, and gRPC API responses.
Package contract owns the proto projection for Route — a one-way mapping from the typed resolve.ResolvedRouteSpec to the canonical proto RouteSpec used for content-addressable hashing, audit trails, and gRPC API responses.
resolve
Package resolve implements resolution for the Route CR.
Package resolve implements resolution for the Route CR.
serviceunit
adapter
Package adapter implements the ServiceUnit resolution Adapter.
Package adapter implements the ServiceUnit resolution Adapter.
contract
Package contract owns the proto projection for ServiceUnit — the one-way projection from the resolved runtime spec (resolve.ResolvedServiceUnitSpec) to the protobuf contract type (environmentscontractv1alpha1.ServiceUnitSpec).
Package contract owns the proto projection for ServiceUnit — the one-way projection from the resolved runtime spec (resolve.ResolvedServiceUnitSpec) to the protobuf contract type (environmentscontractv1alpha1.ServiceUnitSpec).
resolve
Package resolve implements resolution for the ServiceUnit CR.
Package resolve implements resolution for the ServiceUnit CR.

Jump to

Keyboard shortcuts

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