conf

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT 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 {
	Name    string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version string  `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Server  *Server `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"`
	Data    *Data   `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Tracer  *Tracer `protobuf:"bytes,5,opt,name=tracer,proto3" json:"tracer,omitempty"`
	Tasks   []*Task `protobuf:"bytes,6,rep,name=tasks,proto3" json:"tasks,omitempty"`
	Client  *Client `protobuf:"bytes,7,opt,name=client,proto3" json:"client,omitempty"`
	Log     *Log    `protobuf:"bytes,8,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

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

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetClient

func (x *Bootstrap) GetClient() *Client

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) GetLog added in v1.1.1

func (x *Bootstrap) GetLog() *Log

func (*Bootstrap) GetName

func (x *Bootstrap) GetName() string

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

func (*Bootstrap) GetTasks

func (x *Bootstrap) GetTasks() []*Task

func (*Bootstrap) GetTracer

func (x *Bootstrap) GetTracer() *Tracer

func (*Bootstrap) GetVersion

func (x *Bootstrap) GetVersion() string

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 Client

type Client struct {
	Health  bool                 `protobuf:"varint,1,opt,name=health,proto3" json:"health,omitempty"`
	Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Auth    string               `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*Client) Descriptor deprecated

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

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetAuth

func (x *Client) GetAuth() string

func (*Client) GetHealth added in v1.1.0

func (x *Client) GetHealth() bool

func (*Client) GetTimeout added in v1.1.0

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

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) ProtoReflect

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

func (*Client) Reset

func (x *Client) Reset()

func (*Client) String

func (x *Client) String() string

type Data

type Data struct {
	Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Redis    *Data_Redis    `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetDatabase

func (x *Data) GetDatabase() *Data_Database

func (*Data) GetRedis

func (x *Data) GetRedis() *Data_Redis

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_Database

type Data_Database struct {
	Dsn      string            `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"`
	Driver   string            `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"`
	Endpoint string            `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Username string            `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Password string            `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	Schema   string            `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
	Query    string            `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"`
	Tenants  map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Data_Database) Descriptor deprecated

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

Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.

func (*Data_Database) GetDriver

func (x *Data_Database) GetDriver() string

func (*Data_Database) GetDsn

func (x *Data_Database) GetDsn() string

func (*Data_Database) GetEndpoint added in v1.1.0

func (x *Data_Database) GetEndpoint() string

func (*Data_Database) GetPassword added in v1.1.0

func (x *Data_Database) GetPassword() string

func (*Data_Database) GetQuery added in v1.1.0

func (x *Data_Database) GetQuery() string

func (*Data_Database) GetSchema added in v1.1.0

func (x *Data_Database) GetSchema() string

func (*Data_Database) GetTenants added in v1.0.3

func (x *Data_Database) GetTenants() map[string]string

func (*Data_Database) GetUsername added in v1.1.0

func (x *Data_Database) GetUsername() string

func (*Data_Database) ProtoMessage

func (*Data_Database) ProtoMessage()

func (*Data_Database) ProtoReflect

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

func (*Data_Database) Reset

func (x *Data_Database) Reset()

func (*Data_Database) String

func (x *Data_Database) String() string

type Data_Redis

type Data_Redis struct {
	Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"`
	// contains filtered or unexported fields
}

func (*Data_Redis) Descriptor deprecated

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

Deprecated: Use Data_Redis.ProtoReflect.Descriptor instead.

func (*Data_Redis) GetDsn

func (x *Data_Redis) GetDsn() string

func (*Data_Redis) ProtoMessage

func (*Data_Redis) ProtoMessage()

func (*Data_Redis) ProtoReflect

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

func (*Data_Redis) Reset

func (x *Data_Redis) Reset()

func (*Data_Redis) String

func (x *Data_Redis) String() string

type Log added in v1.1.1

type Log struct {
	Level   string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
	JSON    bool   `protobuf:"varint,2,opt,name=JSON,proto3" json:"JSON,omitempty"`
	ShowSQL bool   `protobuf:"varint,3,opt,name=showSQL,proto3" json:"showSQL,omitempty"`
	// contains filtered or unexported fields
}

func (*Log) Descriptor deprecated added in v1.1.1

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetJSON added in v1.1.1

func (x *Log) GetJSON() bool

func (*Log) GetLevel added in v1.1.1

func (x *Log) GetLevel() string

func (*Log) GetShowSQL added in v1.1.1

func (x *Log) GetShowSQL() bool

func (*Log) ProtoMessage added in v1.1.1

func (*Log) ProtoMessage()

func (*Log) ProtoReflect added in v1.1.1

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

func (*Log) Reset added in v1.1.1

func (x *Log) Reset()

func (*Log) String added in v1.1.1

func (x *Log) String() string

type Server

type Server struct {
	Prod       bool         `protobuf:"varint,1,opt,name=prod,proto3" json:"prod,omitempty"`
	MachineId  string       `protobuf:"bytes,2,opt,name=machineId,proto3" json:"machineId,omitempty"`
	Http       *Server_HTTP `protobuf:"bytes,3,opt,name=http,proto3" json:"http,omitempty"`
	Grpc       *Server_GRPC `protobuf:"bytes,4,opt,name=grpc,proto3" json:"grpc,omitempty"`
	Language   string       `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"`
	Idempotent bool         `protobuf:"varint,6,opt,name=idempotent,proto3" json:"idempotent,omitempty"`
	Validate   bool         `protobuf:"varint,7,opt,name=validate,proto3" json:"validate,omitempty"`
	Nocache    bool         `protobuf:"varint,8,opt,name=nocache,proto3" json:"nocache,omitempty"`
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

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

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetGrpc

func (x *Server) GetGrpc() *Server_GRPC

func (*Server) GetHttp

func (x *Server) GetHttp() *Server_HTTP

func (*Server) GetIdempotent added in v1.0.2

func (x *Server) GetIdempotent() bool

func (*Server) GetLanguage added in v1.0.1

func (x *Server) GetLanguage() string

func (*Server) GetMachineId

func (x *Server) GetMachineId() string

func (*Server) GetNocache added in v1.1.0

func (x *Server) GetNocache() bool

func (*Server) GetProd added in v1.1.0

func (x *Server) GetProd() bool

func (*Server) GetValidate added in v1.0.2

func (x *Server) GetValidate() bool

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_GRPC

type Server_GRPC 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"`
	// contains filtered or unexported fields
}

func (*Server_GRPC) Descriptor deprecated

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

Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.

func (*Server_GRPC) GetAddr

func (x *Server_GRPC) GetAddr() string

func (*Server_GRPC) GetNetwork

func (x *Server_GRPC) GetNetwork() string

func (*Server_GRPC) GetTimeout

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

func (*Server_GRPC) ProtoMessage

func (*Server_GRPC) ProtoMessage()

func (*Server_GRPC) ProtoReflect

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

func (*Server_GRPC) Reset

func (x *Server_GRPC) Reset()

func (*Server_GRPC) String

func (x *Server_GRPC) String() string

type Server_HTTP

type Server_HTTP 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"`
	// contains filtered or unexported fields
}

func (*Server_HTTP) Descriptor deprecated

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

Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.

func (*Server_HTTP) GetAddr

func (x *Server_HTTP) GetAddr() string

func (*Server_HTTP) GetNetwork

func (x *Server_HTTP) GetNetwork() string

func (*Server_HTTP) GetTimeout

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

func (*Server_HTTP) ProtoMessage

func (*Server_HTTP) ProtoMessage()

func (*Server_HTTP) ProtoReflect

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

func (*Server_HTTP) Reset

func (x *Server_HTTP) Reset()

func (*Server_HTTP) String

func (x *Server_HTTP) String() string

type Task

type Task struct {
	Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	Uuid     string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Expr     string `protobuf:"bytes,3,opt,name=expr,proto3" json:"expr,omitempty"`
	Timeout  int64  `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Retry    int64  `protobuf:"varint,5,opt,name=retry,proto3" json:"retry,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetCategory

func (x *Task) GetCategory() string

func (*Task) GetExpr

func (x *Task) GetExpr() string

func (*Task) GetRetry

func (x *Task) GetRetry() int64

func (*Task) GetTimeout

func (x *Task) GetTimeout() int64

func (*Task) GetUuid

func (x *Task) GetUuid() string

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

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

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

type Tracer

type Tracer struct {
	Enable bool           `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	Otlp   *Tracer_Otlp   `protobuf:"bytes,2,opt,name=otlp,proto3" json:"otlp,omitempty"`
	Stdout *Tracer_Stdout `protobuf:"bytes,3,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// contains filtered or unexported fields
}

func (*Tracer) Descriptor deprecated

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

Deprecated: Use Tracer.ProtoReflect.Descriptor instead.

func (*Tracer) GetEnable

func (x *Tracer) GetEnable() bool

func (*Tracer) GetOtlp

func (x *Tracer) GetOtlp() *Tracer_Otlp

func (*Tracer) GetStdout

func (x *Tracer) GetStdout() *Tracer_Stdout

func (*Tracer) ProtoMessage

func (*Tracer) ProtoMessage()

func (*Tracer) ProtoReflect

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

func (*Tracer) Reset

func (x *Tracer) Reset()

func (*Tracer) String

func (x *Tracer) String() string

type Tracer_Otlp

type Tracer_Otlp struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Insecure bool   `protobuf:"varint,2,opt,name=insecure,proto3" json:"insecure,omitempty"`
	// contains filtered or unexported fields
}

func (*Tracer_Otlp) Descriptor deprecated

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

Deprecated: Use Tracer_Otlp.ProtoReflect.Descriptor instead.

func (*Tracer_Otlp) GetEndpoint

func (x *Tracer_Otlp) GetEndpoint() string

func (*Tracer_Otlp) GetInsecure

func (x *Tracer_Otlp) GetInsecure() bool

func (*Tracer_Otlp) ProtoMessage

func (*Tracer_Otlp) ProtoMessage()

func (*Tracer_Otlp) ProtoReflect

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

func (*Tracer_Otlp) Reset

func (x *Tracer_Otlp) Reset()

func (*Tracer_Otlp) String

func (x *Tracer_Otlp) String() string

type Tracer_Stdout

type Tracer_Stdout struct {
	PrettyPrint bool `protobuf:"varint,1,opt,name=prettyPrint,proto3" json:"prettyPrint,omitempty"`
	// contains filtered or unexported fields
}

func (*Tracer_Stdout) Descriptor deprecated

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

Deprecated: Use Tracer_Stdout.ProtoReflect.Descriptor instead.

func (*Tracer_Stdout) GetPrettyPrint

func (x *Tracer_Stdout) GetPrettyPrint() bool

func (*Tracer_Stdout) ProtoMessage

func (*Tracer_Stdout) ProtoMessage()

func (*Tracer_Stdout) ProtoReflect

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

func (*Tracer_Stdout) Reset

func (x *Tracer_Stdout) Reset()

func (*Tracer_Stdout) String

func (x *Tracer_Stdout) String() string

Jump to

Keyboard shortcuts

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