repositoryimpl

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YAMLRepository

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

func NewYAMLRepository

func NewYAMLRepository(s storage.Storage) *YAMLRepository

func (*YAMLRepository) Create

func (r *YAMLRepository) Create(ctx context.Context, a *agent.Agent) error

func (*YAMLRepository) Delete

func (r *YAMLRepository) Delete(ctx context.Context, id string) error

func (*YAMLRepository) FindByName

func (r *YAMLRepository) FindByName(ctx context.Context, projectID, name string) (*agent.Agent, error)

func (*YAMLRepository) Get

func (r *YAMLRepository) Get(ctx context.Context, id string) (*agent.Agent, error)

func (*YAMLRepository) List

func (r *YAMLRepository) List(ctx context.Context, projectID string, limit, offset int) ([]*agent.Agent, int, error)

func (*YAMLRepository) Update

func (r *YAMLRepository) Update(ctx context.Context, a *agent.Agent) error

Jump to

Keyboard shortcuts

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