ports

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeRepository

type NodeRepository interface {
	FindByID(ctx context.Context, id string) (*domain.Node, error)
	FindByHostname(ctx context.Context, hostname string) (*domain.Node, error)
	ListByRegion(ctx context.Context, region string) ([]*domain.Node, error)
	ListAll(ctx context.Context) ([]*domain.Node, error)
	Save(ctx context.Context, node *domain.Node) error
}

NodeRepository is the persistence port for Node aggregates.

Jump to

Keyboard shortcuts

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