recorderstorage

package
v0.0.0-...-539d32a Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureReplayStorage

type AzureReplayStorage struct {
	AccountName    string
	AccountKey     string
	ContainerName  string
	EndpointSuffix string
}

func (AzureReplayStorage) TypeName

func (a AzureReplayStorage) TypeName() string

func (AzureReplayStorage) Upload

func (a AzureReplayStorage) Upload(gZipFilePath, target string) (err error)

type ESCommandStorage

type ESCommandStorage struct {
	Hosts   []string
	Index   string
	DocType string

	InsecureSkipVerify bool
}

func (ESCommandStorage) BulkSave

func (es ESCommandStorage) BulkSave(commands []*model.Command) (err error)

func (ESCommandStorage) TypeName

func (es ESCommandStorage) TypeName() string

type NullStorage

type NullStorage struct {
}

func NewNullStorage

func NewNullStorage() (storage NullStorage)

func (NullStorage) BulkSave

func (f NullStorage) BulkSave(commands []*model.Command) (err error)

func (NullStorage) TypeName

func (f NullStorage) TypeName() string

func (NullStorage) Upload

func (f NullStorage) Upload(gZipFile, target string) (err error)

type OBSReplayStorage

type OBSReplayStorage struct {
	Endpoint  string
	Bucket    string
	AccessKey string
	SecretKey string
}

func (OBSReplayStorage) TypeName

func (o OBSReplayStorage) TypeName() string

func (OBSReplayStorage) Upload

func (o OBSReplayStorage) Upload(gZipFilePath, target string) (err error)

type OSSReplayStorage

type OSSReplayStorage struct {
	Endpoint  string
	Bucket    string
	AccessKey string
	SecretKey string
}

func (OSSReplayStorage) TypeName

func (o OSSReplayStorage) TypeName() string

func (OSSReplayStorage) Upload

func (o OSSReplayStorage) Upload(gZipFilePath, target string) (err error)

type S3ReplayStorage

type S3ReplayStorage struct {
	Bucket    string
	Region    string
	AccessKey string
	SecretKey string
	Endpoint  string
}

func (S3ReplayStorage) TypeName

func (s S3ReplayStorage) TypeName() string

func (S3ReplayStorage) Upload

func (s S3ReplayStorage) Upload(gZipFilePath, target string) (err error)

type ServerStorage

type ServerStorage struct {
	StorageType string
	JmsService  *service.JMService
}

func (ServerStorage) BulkSave

func (s ServerStorage) BulkSave(commands []*model.Command) (err error)

func (ServerStorage) TypeName

func (s ServerStorage) TypeName() string

func (ServerStorage) Upload

func (s ServerStorage) Upload(gZipFilePath, target string) (err error)

Jump to

Keyboard shortcuts

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