Documentation
¶
Index ¶
- Variables
- type AzureBlob
- func (*AzureBlob) Descriptor() ([]byte, []int)deprecated
- func (x *AzureBlob) GetAccessKey() string
- func (x *AzureBlob) GetRetry() int32
- func (x *AzureBlob) GetStorageAccount() string
- func (x *AzureBlob) GetStorageContainer() string
- func (*AzureBlob) ProtoMessage()
- func (x *AzureBlob) ProtoReflect() protoreflect.Message
- func (x *AzureBlob) Reset()
- func (x *AzureBlob) String() string
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetMaxConnIdleTime() *durationpb.Duration
- func (x *Database) GetMaxConnLifeTime() *durationpb.Duration
- func (x *Database) GetMaxIdleConn() int32
- func (x *Database) GetMaxOpenConn() int32
- func (x *Database) GetSource() string
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- type Presto
- func (*Presto) Descriptor() ([]byte, []int)deprecated
- func (x *Presto) GetAddr() string
- func (x *Presto) GetMaxIdleConn() int32
- func (x *Presto) GetMaxOpenConn() int32
- func (x *Presto) GetPassword() string
- func (x *Presto) GetUsername() string
- func (*Presto) ProtoMessage()
- func (x *Presto) ProtoReflect() protoreflect.Message
- func (x *Presto) Reset()
- func (x *Presto) String() string
- type Redis
- func (*Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Redis) GetAddr() string
- func (x *Redis) GetDialTimeout() *durationpb.Duration
- func (x *Redis) GetPassword() string
- func (x *Redis) GetPoolSize() int64
- func (x *Redis) GetPoolTimeout() *durationpb.Duration
- func (x *Redis) GetReadTimeout() *durationpb.Duration
- func (x *Redis) GetWriteTimeout() *durationpb.Duration
- func (*Redis) ProtoMessage()
- func (x *Redis) ProtoReflect() protoreflect.Message
- func (x *Redis) Reset()
- func (x *Redis) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_infra_config_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AzureBlob ¶
type AzureBlob struct { StorageAccount string `protobuf:"bytes,1,opt,name=storage_account,json=storageAccount,proto3" json:"storage_account,omitempty"` AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` StorageContainer string `protobuf:"bytes,3,opt,name=storage_container,json=storageContainer,proto3" json:"storage_container,omitempty"` Retry int32 `protobuf:"varint,4,opt,name=retry,proto3" json:"retry,omitempty"` // contains filtered or unexported fields }
func (*AzureBlob) Descriptor
deprecated
func (*AzureBlob) GetAccessKey ¶
func (*AzureBlob) GetStorageAccount ¶
func (*AzureBlob) GetStorageContainer ¶
func (*AzureBlob) ProtoMessage ¶
func (*AzureBlob) ProtoMessage()
func (*AzureBlob) ProtoReflect ¶
func (x *AzureBlob) ProtoReflect() protoreflect.Message
type Database ¶
type Database struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` MaxOpenConn int32 `protobuf:"varint,2,opt,name=max_open_conn,json=maxOpenConn,proto3" json:"max_open_conn,omitempty"` MaxIdleConn int32 `protobuf:"varint,3,opt,name=max_idle_conn,json=maxIdleConn,proto3" json:"max_idle_conn,omitempty"` MaxConnLifeTime *durationpb.Duration `protobuf:"bytes,4,opt,name=max_conn_life_time,json=maxConnLifeTime,proto3" json:"max_conn_life_time,omitempty"` MaxConnIdleTime *durationpb.Duration `protobuf:"bytes,5,opt,name=max_conn_idle_time,json=maxConnIdleTime,proto3" json:"max_conn_idle_time,omitempty"` // contains filtered or unexported fields }
func (*Database) Descriptor
deprecated
func (*Database) GetMaxConnIdleTime ¶
func (x *Database) GetMaxConnIdleTime() *durationpb.Duration
func (*Database) GetMaxConnLifeTime ¶
func (x *Database) GetMaxConnLifeTime() *durationpb.Duration
func (*Database) GetMaxIdleConn ¶
func (*Database) GetMaxOpenConn ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type Presto ¶
type Presto struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` MaxOpenConn int32 `protobuf:"varint,4,opt,name=max_open_conn,json=maxOpenConn,proto3" json:"max_open_conn,omitempty"` MaxIdleConn int32 `protobuf:"varint,5,opt,name=max_idle_conn,json=maxIdleConn,proto3" json:"max_idle_conn,omitempty"` // contains filtered or unexported fields }
func (*Presto) Descriptor
deprecated
func (*Presto) GetMaxIdleConn ¶
func (*Presto) GetMaxOpenConn ¶
func (*Presto) GetPassword ¶
func (*Presto) GetUsername ¶
func (*Presto) ProtoMessage ¶
func (*Presto) ProtoMessage()
func (*Presto) ProtoReflect ¶
func (x *Presto) ProtoReflect() protoreflect.Message
type Redis ¶
type Redis struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` ReadTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"` DialTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=dial_timeout,json=dialTimeout,proto3" json:"dial_timeout,omitempty"` PoolTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=pool_timeout,json=poolTimeout,proto3" json:"pool_timeout,omitempty"` PoolSize int64 `protobuf:"varint,7,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"` // contains filtered or unexported fields }
func (*Redis) Descriptor
deprecated
func (*Redis) GetDialTimeout ¶
func (x *Redis) GetDialTimeout() *durationpb.Duration
func (*Redis) GetPassword ¶
func (*Redis) GetPoolSize ¶
func (*Redis) GetPoolTimeout ¶
func (x *Redis) GetPoolTimeout() *durationpb.Duration
func (*Redis) GetReadTimeout ¶
func (x *Redis) GetReadTimeout() *durationpb.Duration
func (*Redis) GetWriteTimeout ¶
func (x *Redis) GetWriteTimeout() *durationpb.Duration
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
func (*Redis) ProtoReflect ¶
func (x *Redis) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.