Documentation ¶
Index ¶
Constants ¶
View Source
const ( DataStorageUnknown DataStorage = "unknown" DataStorageS3 DataStorage = "s3" DataStorageFile DataStorage = "file" S3CredentialUnknown S3CredentialType = "unknown" S3CredentialStatic S3CredentialType = "static" S3CredentialIAM S3CredentialType = "iam" )
View Source
const ( BeaconHttpFlagName = "l1-beacon-http" BeaconHttpClientTimeoutFlagName = "l1-beacon-client-timeout" BeaconHttpEnforceJson = "l1-beacon-enforce-json" DataStoreFlagName = "data-store" S3CredentialTypeFlagName = "s3-credential-type" S3EndpointFlagName = "s3-endpoint" S3EndpointHttpsFlagName = "s3-endpoint-https" S3CompressFlagName = "s3-compress" S3AccessKeyFlagName = "s3-access-key" S3SecretAccessKeyFlagName = "s3-secret-access-key" S3BucketFlagName = "s3-bucket" S3PathFlagName = "s3-path" FileStorageDirectoryFlagName = "file-directory" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BeaconConfig ¶
func NewBeaconConfig ¶
func NewBeaconConfig(cliCtx *cli.Context) BeaconConfig
func (BeaconConfig) Check ¶
func (c BeaconConfig) Check() error
type DataStorage ¶
type DataStorage string
type S3CredentialType ¶
type S3CredentialType string
type StorageConfig ¶
type StorageConfig struct { DataStorageType DataStorage S3Config S3Config FileStorageDirectory string }
func NewStorageConfig ¶
func NewStorageConfig(cliCtx *cli.Context) StorageConfig
func (StorageConfig) Check ¶
func (c StorageConfig) Check() error
Click to show internal directories.
Click to hide internal directories.