deployment

package
v0.6.6 Latest Latest
Warning

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

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

Documentation

Overview

Package deployment implements the Deployment resource domain.

The Deployment domain is responsible for managing the lifecycle of Deployment resources. It receives commands from the Engine, resolves resource specifications into validated contracts, delegates processing to the application layer, and records reconciliation outcomes through conditions and events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployDomain

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

DeployDomain implements the Deployment resource domain.

func New

func New(deploymentMediatorIn *deploymentMediator.Mediator, deploymentServiceIn *deployapp.DeploymentService, domainCache *cache.Cache, reader client.Reader, eventRecorder *events.EventRecorder, log logr.Logger) *DeployDomain

New returns a new DeployDomain instance configured with the necessary dependencies.

func (*DeployDomain) CanCreate

func (d *DeployDomain) CanCreate(obj client.Object) bool

CanCreate reports whether the supplied object can be processed as a Deploy create operation.

func (*DeployDomain) CanDelete

func (d *DeployDomain) CanDelete(obj client.Object) bool

CanDelete reports whether the supplied object can be processed as a Deploy delete operation.

func (*DeployDomain) CanUpdate

func (d *DeployDomain) CanUpdate(oldObj, newObj client.Object) bool

CanUpdate reports whether the supplied update should trigger Deploy reconciliation by comparing the specifications of the old and new objects.

func (*DeployDomain) GVK

GVK tells the engine.Engine which CRD type this domain handles.

func (*DeployDomain) Handle

func (d *DeployDomain) Handle(ctx context.Context, cmd command.Command) error

Handle executes command.Command operations routed by the Engine.

Jump to

Keyboard shortcuts

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