repositoryimpl

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 7 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, t *template.Template) error

func (*YAMLRepository) Delete

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

func (*YAMLRepository) FindByConfigName

func (r *YAMLRepository) FindByConfigName(ctx context.Context, entityType, name string) (*template.Template, error)

func (*YAMLRepository) Get

func (*YAMLRepository) List

func (r *YAMLRepository) List(ctx context.Context, entityType string, limit, offset int) ([]*template.Template, int, error)

func (*YAMLRepository) Update

func (r *YAMLRepository) Update(ctx context.Context, t *template.Template) error

Jump to

Keyboard shortcuts

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