Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EdgeKeyNameGenerator ¶
type EdgeKeyNameGenerator struct {
Info *InstanceInfo
}
Fulfills the aws_utils/uploader.S3KeyNameGenerator interface.
func (*EdgeKeyNameGenerator) GetKeyName ¶
func (gen *EdgeKeyNameGenerator) GetKeyName(filename string) string
type EnvInstanceFetcher ¶
type EnvInstanceFetcher struct{}
func (*EnvInstanceFetcher) GetAutoScaleGroup ¶
func (e *EnvInstanceFetcher) GetAutoScaleGroup() string
func (*EnvInstanceFetcher) GetClusterName ¶
func (e *EnvInstanceFetcher) GetClusterName() string
func (*EnvInstanceFetcher) GetHost ¶
func (e *EnvInstanceFetcher) GetHost() string
type InstanceInfo ¶
type InstanceInfo struct { Service string Cluster string AutoScaleGroup string Node string LoggingDir string }
func BuildInstanceInfo ¶
func BuildInstanceInfo(fetcher InstanceInfoFetcher, serviceName string, loggingDir string) *InstanceInfo
We provide service name incase there are multiple types of services running on this box
type InstanceInfoFetcher ¶
type ProcessorKeyNameGenerator ¶
type ProcessorKeyNameGenerator struct {
Info *InstanceInfo
}
Fulfills the aws_utils/uploader.S3KeyNameGenerator interface.
func (*ProcessorKeyNameGenerator) GetKeyName ¶
func (gen *ProcessorKeyNameGenerator) GetKeyName(filename string) string
type ReplayKeyNameGenerator ¶
type ReplayKeyNameGenerator struct { Info *InstanceInfo RunTag string }
Fulfills the aws_utils/uploader.S3KeyNameGenerator interface.
func (*ReplayKeyNameGenerator) GetKeyName ¶
func (gen *ReplayKeyNameGenerator) GetKeyName(filename string) string
Click to show internal directories.
Click to hide internal directories.