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