Documentation ¶
Index ¶
- func MakePGMigrationCMD() cli.Command
- func RegisterPGFlags(f []cli.Flag) []cli.Flag
- func RegisterPprofFlags(f []cli.Flag) []cli.Flag
- func RegisterProbeFlags(f []cli.Flag) []cli.Flag
- func RegisterPromFlags(f []cli.Flag) []cli.Flag
- func RegisterRedisClientFlags(f []cli.Flag) []cli.Flag
- func RegisterS3ClientFlags(f []cli.Flag) []cli.Flag
- type PG
- type PGMigration
- type Pprof
- type Probe
- type Prom
- type RedisClient
- type S3Client
- type Servable
- type Serve
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePGMigrationCMD ¶
func RegisterProbeFlags ¶
RegisterProbeFlags registers cli flags for Probe
func RegisterRedisClientFlags ¶
RegisterRedisClientFlags registers cli flags for RedisClient
Types ¶
type PGMigration ¶
type PGMigration struct {
// contains filtered or unexported fields
}
func NewPGMigration ¶
func NewPGMigration(db *PG) *PGMigration
func (*PGMigration) Run ¶
func (s *PGMigration) Run(a ...string) error
type Probe ¶
type Probe struct {
// contains filtered or unexported fields
}
Probe provides simple HTTP-service for Kubernetes liveness and readiness checking
type RedisClient ¶
type RedisClient struct {
// contains filtered or unexported fields
}
RedisClient makes Redis Client from cli and environment variables Automatically hanldles Sentinel configuration
func NewRedisClient ¶
func NewRedisClient(c *cli.Context) *RedisClient
NewRedisClient initializes RedisClient
func (*RedisClient) Get ¶
func (s *RedisClient) Get() redis.UniversalClient
Get gets redis.UniversalCleint
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
S3Client makes AWS SDK S3 Client from cli and environment variables
func NewS3Client ¶
NewS3Client initializes S3Client
Click to show internal directories.
Click to hide internal directories.