config

package
v0.0.0-...-9e5c272 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use AzureBlob.ProtoReflect.Descriptor instead.

func (*AzureBlob) GetAccessKey

func (x *AzureBlob) GetAccessKey() string

func (*AzureBlob) GetRetry

func (x *AzureBlob) GetRetry() int32

func (*AzureBlob) GetStorageAccount

func (x *AzureBlob) GetStorageAccount() string

func (*AzureBlob) GetStorageContainer

func (x *AzureBlob) GetStorageContainer() string

func (*AzureBlob) ProtoMessage

func (*AzureBlob) ProtoMessage()

func (*AzureBlob) ProtoReflect

func (x *AzureBlob) ProtoReflect() protoreflect.Message

func (*AzureBlob) Reset

func (x *AzureBlob) Reset()

func (*AzureBlob) String

func (x *AzureBlob) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Database.ProtoReflect.Descriptor instead.

func (*Database) GetMaxConnIdleTime

func (x *Database) GetMaxConnIdleTime() *durationpb.Duration

func (*Database) GetMaxConnLifeTime

func (x *Database) GetMaxConnLifeTime() *durationpb.Duration

func (*Database) GetMaxIdleConn

func (x *Database) GetMaxIdleConn() int32

func (*Database) GetMaxOpenConn

func (x *Database) GetMaxOpenConn() int32

func (*Database) GetSource

func (x *Database) GetSource() string

func (*Database) ProtoMessage

func (*Database) ProtoMessage()

func (*Database) ProtoReflect

func (x *Database) ProtoReflect() protoreflect.Message

func (*Database) Reset

func (x *Database) Reset()

func (*Database) String

func (x *Database) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Presto.ProtoReflect.Descriptor instead.

func (*Presto) GetAddr

func (x *Presto) GetAddr() string

func (*Presto) GetMaxIdleConn

func (x *Presto) GetMaxIdleConn() int32

func (*Presto) GetMaxOpenConn

func (x *Presto) GetMaxOpenConn() int32

func (*Presto) GetPassword

func (x *Presto) GetPassword() string

func (*Presto) GetUsername

func (x *Presto) GetUsername() string

func (*Presto) ProtoMessage

func (*Presto) ProtoMessage()

func (*Presto) ProtoReflect

func (x *Presto) ProtoReflect() protoreflect.Message

func (*Presto) Reset

func (x *Presto) Reset()

func (*Presto) String

func (x *Presto) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Redis.ProtoReflect.Descriptor instead.

func (*Redis) GetAddr

func (x *Redis) GetAddr() string

func (*Redis) GetDialTimeout

func (x *Redis) GetDialTimeout() *durationpb.Duration

func (*Redis) GetPassword

func (x *Redis) GetPassword() string

func (*Redis) GetPoolSize

func (x *Redis) GetPoolSize() int64

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

func (*Redis) Reset

func (x *Redis) Reset()

func (*Redis) String

func (x *Redis) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL