conf

package
v0.0.0-...-a6c131b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_conf_conf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Bootstrap

type Bootstrap struct {
	Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Data   *Data   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Mirror *Mirror `protobuf:"bytes,3,opt,name=mirror,proto3" json:"mirror,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

func (*Bootstrap) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) GetMirror

func (x *Bootstrap) GetMirror() *Mirror

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

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

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

type Data

type Data struct {
	TencentOss *Data_TencentOSS `protobuf:"bytes,1,opt,name=tencent_oss,json=tencentOss,proto3" json:"tencent_oss,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

func (*Data) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetTencentOss

func (x *Data) GetTencentOss() *Data_TencentOSS

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type Data_TencentOSS

type Data_TencentOSS struct {
	BucketUrl string               `protobuf:"bytes,1,opt,name=bucket_url,json=bucketUrl,proto3" json:"bucket_url,omitempty"`
	SecretId  string               `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	SecretKey string               `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Timeout   *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Data_TencentOSS) Descriptor deprecated

func (*Data_TencentOSS) Descriptor() ([]byte, []int)

Deprecated: Use Data_TencentOSS.ProtoReflect.Descriptor instead.

func (*Data_TencentOSS) GetBucketUrl

func (x *Data_TencentOSS) GetBucketUrl() string

func (*Data_TencentOSS) GetSecretId

func (x *Data_TencentOSS) GetSecretId() string

func (*Data_TencentOSS) GetSecretKey

func (x *Data_TencentOSS) GetSecretKey() string

func (*Data_TencentOSS) GetTimeout

func (x *Data_TencentOSS) GetTimeout() *durationpb.Duration

func (*Data_TencentOSS) ProtoMessage

func (*Data_TencentOSS) ProtoMessage()

func (*Data_TencentOSS) ProtoReflect

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

func (*Data_TencentOSS) Reset

func (x *Data_TencentOSS) Reset()

func (*Data_TencentOSS) String

func (x *Data_TencentOSS) String() string

type Mirror

type Mirror struct {
	ServerName string               `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	Upstream   string               `protobuf:"bytes,2,opt,name=upstream,proto3" json:"upstream,omitempty"`
	H2         bool                 `protobuf:"varint,3,opt,name=h2,proto3" json:"h2,omitempty"`
	Insecure   bool                 `protobuf:"varint,4,opt,name=insecure,proto3" json:"insecure,omitempty"`
	WithoutTls bool                 `protobuf:"varint,5,opt,name=without_tls,json=withoutTls,proto3" json:"without_tls,omitempty"`
	Timeout    *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Mirror) Descriptor deprecated

func (*Mirror) Descriptor() ([]byte, []int)

Deprecated: Use Mirror.ProtoReflect.Descriptor instead.

func (*Mirror) GetH2

func (x *Mirror) GetH2() bool

func (*Mirror) GetInsecure

func (x *Mirror) GetInsecure() bool

func (*Mirror) GetServerName

func (x *Mirror) GetServerName() string

func (*Mirror) GetTimeout

func (x *Mirror) GetTimeout() *durationpb.Duration

func (*Mirror) GetUpstream

func (x *Mirror) GetUpstream() string

func (*Mirror) GetWithoutTls

func (x *Mirror) GetWithoutTls() bool

func (*Mirror) ProtoMessage

func (*Mirror) ProtoMessage()

func (*Mirror) ProtoReflect

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

func (*Mirror) Reset

func (x *Mirror) Reset()

func (*Mirror) String

func (x *Mirror) String() string

type Server

type Server struct {
	Connect *Server_Connect `protobuf:"bytes,1,opt,name=connect,proto3" json:"connect,omitempty"`
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

func (*Server) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetConnect

func (x *Server) GetConnect() *Server_Connect

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

type Server_Connect

type Server_Connect struct {
	Network string               `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Addr    string               `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Tls     bool                 `protobuf:"varint,4,opt,name=tls,proto3" json:"tls,omitempty"`
	Cert    string               `protobuf:"bytes,5,opt,name=cert,proto3" json:"cert,omitempty"`
	Key     string               `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_Connect) Descriptor deprecated

func (*Server_Connect) Descriptor() ([]byte, []int)

Deprecated: Use Server_Connect.ProtoReflect.Descriptor instead.

func (*Server_Connect) GetAddr

func (x *Server_Connect) GetAddr() string

func (*Server_Connect) GetCert

func (x *Server_Connect) GetCert() string

func (*Server_Connect) GetKey

func (x *Server_Connect) GetKey() string

func (*Server_Connect) GetNetwork

func (x *Server_Connect) GetNetwork() string

func (*Server_Connect) GetTimeout

func (x *Server_Connect) GetTimeout() *durationpb.Duration

func (*Server_Connect) GetTls

func (x *Server_Connect) GetTls() bool

func (*Server_Connect) ProtoMessage

func (*Server_Connect) ProtoMessage()

func (*Server_Connect) ProtoReflect

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

func (*Server_Connect) Reset

func (x *Server_Connect) Reset()

func (*Server_Connect) String

func (x *Server_Connect) String() string

Jump to

Keyboard shortcuts

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