Documentation
¶
Overview ¶
Package s3store is a generated GoMock package.
Index ¶
- Constants
- func NewHistoryArchiver(container *archiver.HistoryBootstrapContainer, config *Config) (archiver.HistoryArchiver, error)
- func NewVisibilityArchiver(container *archiver.VisibilityBootstrapContainer, config *Config) (archiver.VisibilityArchiver, error)
- type Config
- type MockQueryParser
- type MockQueryParserMockRecorder
- type QueryParser
Constants ¶
const ( // URIScheme is the scheme for the s3 implementation using a plain bucket name. URIScheme = "s3" // URISchemeAccessPoint is the scheme for S3 access point URIs. // Format: s3-ap://<account-id>/<access-point-name>[/<path>] // The region is injected from the archiver's configured AWS region, // so the same URI works across all regions (useful for global domains). URISchemeAccessPoint = "s3-ap" )
const ( WorkflowTypeName = "WorkflowTypeName" WorkflowID = "WorkflowID" StartTime = "StartTime" CloseTime = "CloseTime" SearchPrecision = "SearchPrecision" )
All allowed fields for filtering
const ( PrecisionDay = "Day" PrecisionHour = "Hour" PrecisionMinute = "Minute" PrecisionSecond = "Second" )
Precision specific values
Variables ¶
This section is empty.
Functions ¶
func NewHistoryArchiver ¶
func NewHistoryArchiver( container *archiver.HistoryBootstrapContainer, config *Config, ) (archiver.HistoryArchiver, error)
NewHistoryArchiver creates a new archiver.HistoryArchiver based on s3
func NewVisibilityArchiver ¶
func NewVisibilityArchiver( container *archiver.VisibilityBootstrapContainer, config *Config, ) (archiver.VisibilityArchiver, error)
NewVisibilityArchiver creates a new archiver.VisibilityArchiver based on s3
Types ¶
type Config ¶
type Config struct {
Region string `yaml:"region"`
Endpoint *string `yaml:"endpoint"`
S3ForcePathStyle bool `yaml:"s3ForcePathStyle"`
}
Config contains the config for S3 archiver
type MockQueryParser ¶
type MockQueryParser struct {
// contains filtered or unexported fields
}
MockQueryParser is a mock of QueryParser interface.
func NewMockQueryParser ¶
func NewMockQueryParser(ctrl *gomock.Controller) *MockQueryParser
NewMockQueryParser creates a new mock instance.
func (*MockQueryParser) EXPECT ¶
func (m *MockQueryParser) EXPECT() *MockQueryParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQueryParser) Parse ¶
func (m *MockQueryParser) Parse(query string) (*parsedQuery, error)
Parse mocks base method.
type MockQueryParserMockRecorder ¶
type MockQueryParserMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryParserMockRecorder is the mock recorder for MockQueryParser.
type QueryParser ¶
QueryParser parses a limited SQL where clause into a struct
func NewQueryParser ¶
func NewQueryParser() QueryParser
NewQueryParser creates a new query parser for filestore