Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvaluationStorage ¶
type EvaluationStorage interface {
Store(ctx context.Context, results []goals.GoalEvaluationQueryResult, storageId string, log skill.Logger) error
}
func NewEvaluationStorage ¶
func NewEvaluationStorage(ctx context.Context) (EvaluationStorage, error)
NewEvaluationStorage creates a new EvaluationStorage object based on the LOCAL_DEBUG environment variable.
func NewFsStorage ¶
func NewFsStorage(ctx context.Context) (EvaluationStorage, error)
type GcsStorage ¶
type GcsStorage struct {
// contains filtered or unexported fields
}
func NewGcsStorage ¶
func NewGcsStorage(ctx context.Context) (*GcsStorage, error)
func (*GcsStorage) Store ¶
func (gcs *GcsStorage) Store(ctx context.Context, results []goals.GoalEvaluationQueryResult, storageId string, log skill.Logger) error
Click to show internal directories.
Click to hide internal directories.