data

package
v0.0.0-...-43e95df Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Blob_engineeringsignal_data              = "engineeringsignalcollectorprddata"
	Directory_engineeringsignal_raw          = "signal_raw"
	Directory_engineeringsignal_standardized = "signal_standardized"
	Directory_engineeringpolicy_result       = "policy_result"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobService

type BlobService interface {
	Save(toSend *models.SignalEvent, target string, path string) error
}

func NewBlobService

func NewBlobService() BlobService

func NewS3BlobService

func NewS3BlobService() BlobService

type DynamoDbRepository

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

func (*DynamoDbRepository) SavePolicyResult

func (repository *DynamoDbRepository) SavePolicyResult(id string, data *policy.PolicyResult) error

func (*DynamoDbRepository) SaveStandardDataModel

func (repository *DynamoDbRepository) SaveStandardDataModel(id string, objectType string, data *map[string]interface{}) error

type Repository

type Repository interface {
	SavePolicyResult(id string, data *policy.PolicyResult) error
	SaveStandardDataModel(id string, objectType string, data *map[string]interface{}) error
}

func NewDataRepository

func NewDataRepository() Repository

type S3BlobService

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

func (*S3BlobService) Save

func (service *S3BlobService) Save(event *models.SignalEvent, target string, path string) error

Jump to

Keyboard shortcuts

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