Documentation
¶
Index ¶
- type YAMLRepository
- func (r *YAMLRepository) Create(ctx context.Context, t *template.Template) error
- func (r *YAMLRepository) Delete(ctx context.Context, id string) error
- func (r *YAMLRepository) FindByConfigName(ctx context.Context, entityType, name string) (*template.Template, error)
- func (r *YAMLRepository) Get(ctx context.Context, id string) (*template.Template, error)
- func (r *YAMLRepository) List(ctx context.Context, entityType string, limit, offset int) ([]*template.Template, int, error)
- func (r *YAMLRepository) Update(ctx context.Context, t *template.Template) error
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) Delete ¶
func (r *YAMLRepository) Delete(ctx context.Context, id string) error
func (*YAMLRepository) FindByConfigName ¶
Click to show internal directories.
Click to hide internal directories.