Documentation ¶
Index ¶
- Variables
- func RegisterConfigServiceServer(s *grpc.Server, srv ConfigServiceServer)
- type ConfigServiceClient
- type ConfigServiceServer
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)
- func (m *Configuration) GetDatabase() *DatabaseConfiguration
- func (m *Configuration) GetEmail() *EmailConfiguration
- func (m *Configuration) GetFeatures() *Features
- func (m *Configuration) GetServices() *Services
- func (m *Configuration) Marshal() (dAtA []byte, err error)
- func (m *Configuration) MarshalTo(dAtA []byte) (int, error)
- func (m *Configuration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Configuration) ProtoMessage()
- func (m *Configuration) Reset()
- func (m *Configuration) Size() (n int)
- func (m *Configuration) String() string
- func (m *Configuration) Unmarshal(dAtA []byte) error
- func (m *Configuration) Validate() error
- func (m *Configuration) XXX_DiscardUnknown()
- func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Configuration) XXX_Merge(src proto.Message)
- func (m *Configuration) XXX_Size() int
- func (m *Configuration) XXX_Unmarshal(b []byte) error
- type ConfigurationValidationError
- func (e ConfigurationValidationError) Cause() error
- func (e ConfigurationValidationError) Error() string
- func (e ConfigurationValidationError) ErrorName() string
- func (e ConfigurationValidationError) Field() string
- func (e ConfigurationValidationError) Key() bool
- func (e ConfigurationValidationError) Reason() string
- type DatabaseConfiguration
- func (*DatabaseConfiguration) Descriptor() ([]byte, []int)
- func (m *DatabaseConfiguration) GetCharset() string
- func (m *DatabaseConfiguration) GetConnMaxLifetime() *time.Duration
- func (m *DatabaseConfiguration) GetDatabase() string
- func (m *DatabaseConfiguration) GetDialect() DatabaseDialect
- func (m *DatabaseConfiguration) GetHost() string
- func (m *DatabaseConfiguration) GetLogging() bool
- func (m *DatabaseConfiguration) GetMaxIdleConns() uint32
- func (m *DatabaseConfiguration) GetMaxOpenConns() uint32
- func (m *DatabaseConfiguration) GetPassword() string
- func (m *DatabaseConfiguration) GetPort() uint32
- func (m *DatabaseConfiguration) GetSingularize() bool
- func (m *DatabaseConfiguration) GetUsername() string
- func (m *DatabaseConfiguration) GetUtc() bool
- func (m *DatabaseConfiguration) Marshal() (dAtA []byte, err error)
- func (m *DatabaseConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *DatabaseConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DatabaseConfiguration) ProtoMessage()
- func (m *DatabaseConfiguration) Reset()
- func (m *DatabaseConfiguration) Size() (n int)
- func (m *DatabaseConfiguration) String() string
- func (d *DatabaseConfiguration) URL() (url string, err error)
- func (m *DatabaseConfiguration) Unmarshal(dAtA []byte) error
- func (m *DatabaseConfiguration) Validate() error
- func (m *DatabaseConfiguration) XXX_DiscardUnknown()
- func (m *DatabaseConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabaseConfiguration) XXX_Merge(src proto.Message)
- func (m *DatabaseConfiguration) XXX_Size() int
- func (m *DatabaseConfiguration) XXX_Unmarshal(b []byte) error
- type DatabaseConfigurationValidationError
- func (e DatabaseConfigurationValidationError) Cause() error
- func (e DatabaseConfigurationValidationError) Error() string
- func (e DatabaseConfigurationValidationError) ErrorName() string
- func (e DatabaseConfigurationValidationError) Field() string
- func (e DatabaseConfigurationValidationError) Key() bool
- func (e DatabaseConfigurationValidationError) Reason() string
- type DatabaseDialect
- type EmailConfiguration
- func (*EmailConfiguration) Descriptor() ([]byte, []int)
- func (m *EmailConfiguration) GetEmailServer() string
- func (m *EmailConfiguration) GetFrom() string
- func (m *EmailConfiguration) GetPassword() string
- func (m *EmailConfiguration) GetPort() uint32
- func (m *EmailConfiguration) GetUsername() string
- func (m *EmailConfiguration) Marshal() (dAtA []byte, err error)
- func (m *EmailConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *EmailConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EmailConfiguration) ProtoMessage()
- func (m *EmailConfiguration) Reset()
- func (m *EmailConfiguration) Size() (n int)
- func (m *EmailConfiguration) String() string
- func (m *EmailConfiguration) Unmarshal(dAtA []byte) error
- func (m *EmailConfiguration) Validate() error
- func (m *EmailConfiguration) XXX_DiscardUnknown()
- func (m *EmailConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmailConfiguration) XXX_Merge(src proto.Message)
- func (m *EmailConfiguration) XXX_Size() int
- func (m *EmailConfiguration) XXX_Unmarshal(b []byte) error
- type EmailConfigurationValidationError
- func (e EmailConfigurationValidationError) Cause() error
- func (e EmailConfigurationValidationError) Error() string
- func (e EmailConfigurationValidationError) ErrorName() string
- func (e EmailConfigurationValidationError) Field() string
- func (e EmailConfigurationValidationError) Key() bool
- func (e EmailConfigurationValidationError) Reason() string
- type Features
- func (*Features) Descriptor() ([]byte, []int)
- func (m *Features) GetMetrics() *Features_Metrics
- func (m *Features) GetReqlogs() *Features_Reqlogs
- func (m *Features) GetTls() *Features_TLS
- func (m *Features) GetTracing() *Features_Tracing
- func (m *Features) GetTranslogs() *Features_Translogs
- func (m *Features) GetValidator() *Features_Validator
- func (m *Features) Marshal() (dAtA []byte, err error)
- func (m *Features) MarshalTo(dAtA []byte) (int, error)
- func (m *Features) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Features) ProtoMessage()
- func (m *Features) Reset()
- func (m *Features) Size() (n int)
- func (m *Features) String() string
- func (m *Features) Unmarshal(dAtA []byte) error
- func (m *Features) Validate() error
- func (m *Features) XXX_DiscardUnknown()
- func (m *Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features) XXX_Merge(src proto.Message)
- func (m *Features) XXX_Size() int
- func (m *Features) XXX_Unmarshal(b []byte) error
- type FeaturesValidationError
- type Features_Metrics
- func (*Features_Metrics) Descriptor() ([]byte, []int)
- func (m *Features_Metrics) GetAddress() string
- func (m *Features_Metrics) GetEnabled() bool
- func (m *Features_Metrics) GetFlushInterval() uint64
- func (m *Features_Metrics) Marshal() (dAtA []byte, err error)
- func (m *Features_Metrics) MarshalTo(dAtA []byte) (int, error)
- func (m *Features_Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Features_Metrics) ProtoMessage()
- func (m *Features_Metrics) Reset()
- func (m *Features_Metrics) Size() (n int)
- func (m *Features_Metrics) String() string
- func (m *Features_Metrics) Unmarshal(dAtA []byte) error
- func (m *Features_Metrics) Validate() error
- func (m *Features_Metrics) XXX_DiscardUnknown()
- func (m *Features_Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features_Metrics) XXX_Merge(src proto.Message)
- func (m *Features_Metrics) XXX_Size() int
- func (m *Features_Metrics) XXX_Unmarshal(b []byte) error
- type Features_MetricsValidationError
- func (e Features_MetricsValidationError) Cause() error
- func (e Features_MetricsValidationError) Error() string
- func (e Features_MetricsValidationError) ErrorName() string
- func (e Features_MetricsValidationError) Field() string
- func (e Features_MetricsValidationError) Key() bool
- func (e Features_MetricsValidationError) Reason() string
- type Features_Reqlogs
- func (*Features_Reqlogs) Descriptor() ([]byte, []int)
- func (m *Features_Reqlogs) GetEnabled() bool
- func (m *Features_Reqlogs) Marshal() (dAtA []byte, err error)
- func (m *Features_Reqlogs) MarshalTo(dAtA []byte) (int, error)
- func (m *Features_Reqlogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Features_Reqlogs) ProtoMessage()
- func (m *Features_Reqlogs) Reset()
- func (m *Features_Reqlogs) Size() (n int)
- func (m *Features_Reqlogs) String() string
- func (m *Features_Reqlogs) Unmarshal(dAtA []byte) error
- func (m *Features_Reqlogs) Validate() error
- func (m *Features_Reqlogs) XXX_DiscardUnknown()
- func (m *Features_Reqlogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features_Reqlogs) XXX_Merge(src proto.Message)
- func (m *Features_Reqlogs) XXX_Size() int
- func (m *Features_Reqlogs) XXX_Unmarshal(b []byte) error
- type Features_ReqlogsValidationError
- func (e Features_ReqlogsValidationError) Cause() error
- func (e Features_ReqlogsValidationError) Error() string
- func (e Features_ReqlogsValidationError) ErrorName() string
- func (e Features_ReqlogsValidationError) Field() string
- func (e Features_ReqlogsValidationError) Key() bool
- func (e Features_ReqlogsValidationError) Reason() string
- type Features_TLS
- func (*Features_TLS) Descriptor() ([]byte, []int)
- func (m *Features_TLS) GetCaFile() string
- func (m *Features_TLS) GetCertFile() string
- func (m *Features_TLS) GetEnabled() bool
- func (m *Features_TLS) GetKeyFile() string
- func (m *Features_TLS) GetServername() string
- func (m *Features_TLS) Marshal() (dAtA []byte, err error)
- func (m *Features_TLS) MarshalTo(dAtA []byte) (int, error)
- func (m *Features_TLS) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Features_TLS) ProtoMessage()
- func (m *Features_TLS) Reset()
- func (m *Features_TLS) Size() (n int)
- func (m *Features_TLS) String() string
- func (m *Features_TLS) Unmarshal(dAtA []byte) error
- func (m *Features_TLS) Validate() error
- func (m *Features_TLS) XXX_DiscardUnknown()
- func (m *Features_TLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features_TLS) XXX_Merge(src proto.Message)
- func (m *Features_TLS) XXX_Size() int
- func (m *Features_TLS) XXX_Unmarshal(b []byte) error
- type Features_TLSValidationError
- func (e Features_TLSValidationError) Cause() error
- func (e Features_TLSValidationError) Error() string
- func (e Features_TLSValidationError) ErrorName() string
- func (e Features_TLSValidationError) Field() string
- func (e Features_TLSValidationError) Key() bool
- func (e Features_TLSValidationError) Reason() string
- type Features_Tracing
- func (*Features_Tracing) Descriptor() ([]byte, []int)
- func (m *Features_Tracing) GetAddress() string
- func (m *Features_Tracing) GetEnabled() bool
- func (m *Features_Tracing) GetFlushInterval() uint64
- func (m *Features_Tracing) Marshal() (dAtA []byte, err error)
- func (m *Features_Tracing) MarshalTo(dAtA []byte) (int, error)
- func (m *Features_Tracing) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Features_Tracing) ProtoMessage()
- func (m *Features_Tracing) Reset()
- func (m *Features_Tracing) Size() (n int)
- func (m *Features_Tracing) String() string
- func (m *Features_Tracing) Unmarshal(dAtA []byte) error
- func (m *Features_Tracing) Validate() error
- func (m *Features_Tracing) XXX_DiscardUnknown()
- func (m *Features_Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features_Tracing) XXX_Merge(src proto.Message)
- func (m *Features_Tracing) XXX_Size() int
- func (m *Features_Tracing) XXX_Unmarshal(b []byte) error
- type Features_TracingValidationError
- func (e Features_TracingValidationError) Cause() error
- func (e Features_TracingValidationError) Error() string
- func (e Features_TracingValidationError) ErrorName() string
- func (e Features_TracingValidationError) Field() string
- func (e Features_TracingValidationError) Key() bool
- func (e Features_TracingValidationError) Reason() string
- type Features_Translogs
- func (*Features_Translogs) Descriptor() ([]byte, []int)
- func (m *Features_Translogs) GetEnabled() bool
- func (m *Features_Translogs) GetTopic() string
- func (m *Features_Translogs) Marshal() (dAtA []byte, err error)
- func (m *Features_Translogs) MarshalTo(dAtA []byte) (int, error)
- func (m *Features_Translogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Features_Translogs) ProtoMessage()
- func (m *Features_Translogs) Reset()
- func (m *Features_Translogs) Size() (n int)
- func (m *Features_Translogs) String() string
- func (m *Features_Translogs) Unmarshal(dAtA []byte) error
- func (m *Features_Translogs) Validate() error
- func (m *Features_Translogs) XXX_DiscardUnknown()
- func (m *Features_Translogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features_Translogs) XXX_Merge(src proto.Message)
- func (m *Features_Translogs) XXX_Size() int
- func (m *Features_Translogs) XXX_Unmarshal(b []byte) error
- type Features_TranslogsValidationError
- func (e Features_TranslogsValidationError) Cause() error
- func (e Features_TranslogsValidationError) Error() string
- func (e Features_TranslogsValidationError) ErrorName() string
- func (e Features_TranslogsValidationError) Field() string
- func (e Features_TranslogsValidationError) Key() bool
- func (e Features_TranslogsValidationError) Reason() string
- type Features_Validator
- func (*Features_Validator) Descriptor() ([]byte, []int)
- func (m *Features_Validator) GetEnabled() bool
- func (m *Features_Validator) Marshal() (dAtA []byte, err error)
- func (m *Features_Validator) MarshalTo(dAtA []byte) (int, error)
- func (m *Features_Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Features_Validator) ProtoMessage()
- func (m *Features_Validator) Reset()
- func (m *Features_Validator) Size() (n int)
- func (m *Features_Validator) String() string
- func (m *Features_Validator) Unmarshal(dAtA []byte) error
- func (m *Features_Validator) Validate() error
- func (m *Features_Validator) XXX_DiscardUnknown()
- func (m *Features_Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features_Validator) XXX_Merge(src proto.Message)
- func (m *Features_Validator) XXX_Size() int
- func (m *Features_Validator) XXX_Unmarshal(b []byte) error
- type Features_ValidatorValidationError
- func (e Features_ValidatorValidationError) Cause() error
- func (e Features_ValidatorValidationError) Error() string
- func (e Features_ValidatorValidationError) ErrorName() string
- func (e Features_ValidatorValidationError) Field() string
- func (e Features_ValidatorValidationError) Key() bool
- func (e Features_ValidatorValidationError) Reason() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetDeadline() uint32
- func (m *Service) GetEndpoint() string
- func (m *Service) GetVersion() string
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (m *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
- func (m *Service) Validate() error
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type ServiceValidationError
- type Services
- func (*Services) Descriptor() ([]byte, []int)
- func (m *Services) GetAccount() *Service
- func (m *Services) GetEmailer() *Service
- func (m *Services) GetGreeter() *Service
- func (m *Services) GetRecorder() *Service
- func (m *Services) Marshal() (dAtA []byte, err error)
- func (m *Services) MarshalTo(dAtA []byte) (int, error)
- func (m *Services) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Services) ProtoMessage()
- func (m *Services) Reset()
- func (m *Services) Size() (n int)
- func (m *Services) String() string
- func (m *Services) Unmarshal(dAtA []byte) error
- func (m *Services) Validate() error
- func (m *Services) XXX_DiscardUnknown()
- func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Services) XXX_Merge(src proto.Message)
- func (m *Services) XXX_Size() int
- func (m *Services) XXX_Unmarshal(b []byte) error
- type ServicesValidationError
- type UnimplementedConfigServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group") )
var DatabaseDialect_name = map[int32]string{
0: "Unspecified",
1: "Postgre",
2: "MySQL",
3: "SQLite3",
}
var DatabaseDialect_value = map[string]int32{
"Unspecified": 0,
"Postgre": 1,
"MySQL": 2,
"SQLite3": 3,
}
Functions ¶
func RegisterConfigServiceServer ¶
func RegisterConfigServiceServer(s *grpc.Server, srv ConfigServiceServer)
Types ¶
type ConfigServiceClient ¶
type ConfigServiceClient interface { Get(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Configuration, error) Set(ctx context.Context, in *Configuration, opts ...grpc.CallOption) (*empty.Empty, error) }
ConfigServiceClient is the client API for ConfigService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConfigServiceClient ¶
func NewConfigServiceClient(cc *grpc.ClientConn) ConfigServiceClient
type ConfigServiceServer ¶
type ConfigServiceServer interface { Get(context.Context, *empty.Empty) (*Configuration, error) Set(context.Context, *Configuration) (*empty.Empty, error) }
ConfigServiceServer is the server API for ConfigService service.
type Configuration ¶
type Configuration struct { Database *DatabaseConfiguration `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"` Email *EmailConfiguration `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Features *Features `protobuf:"bytes,5,opt,name=features,proto3" json:"features,omitempty"` Services *Services `protobuf:"bytes,6,opt,name=services,proto3" json:"services,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Configuration) Descriptor ¶
func (*Configuration) Descriptor() ([]byte, []int)
func (*Configuration) GetDatabase ¶
func (m *Configuration) GetDatabase() *DatabaseConfiguration
func (*Configuration) GetEmail ¶
func (m *Configuration) GetEmail() *EmailConfiguration
func (*Configuration) GetFeatures ¶
func (m *Configuration) GetFeatures() *Features
func (*Configuration) GetServices ¶
func (m *Configuration) GetServices() *Services
func (*Configuration) Marshal ¶
func (m *Configuration) Marshal() (dAtA []byte, err error)
func (*Configuration) MarshalToSizedBuffer ¶
func (m *Configuration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) Reset ¶
func (m *Configuration) Reset()
func (*Configuration) Size ¶
func (m *Configuration) Size() (n int)
func (*Configuration) String ¶
func (m *Configuration) String() string
func (*Configuration) Unmarshal ¶
func (m *Configuration) Unmarshal(dAtA []byte) error
func (*Configuration) Validate ¶
func (m *Configuration) Validate() error
Validate is disabled for Configuration. This method will always return nil.
func (*Configuration) XXX_DiscardUnknown ¶
func (m *Configuration) XXX_DiscardUnknown()
func (*Configuration) XXX_Marshal ¶
func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Configuration) XXX_Merge ¶
func (m *Configuration) XXX_Merge(src proto.Message)
func (*Configuration) XXX_Size ¶
func (m *Configuration) XXX_Size() int
func (*Configuration) XXX_Unmarshal ¶
func (m *Configuration) XXX_Unmarshal(b []byte) error
type ConfigurationValidationError ¶
type ConfigurationValidationError struct {
// contains filtered or unexported fields
}
ConfigurationValidationError is the validation error returned by Configuration.Validate if the designated constraints aren't met.
func (ConfigurationValidationError) Cause ¶
func (e ConfigurationValidationError) Cause() error
Cause function returns cause value.
func (ConfigurationValidationError) Error ¶
func (e ConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigurationValidationError) ErrorName ¶
func (e ConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigurationValidationError) Field ¶
func (e ConfigurationValidationError) Field() string
Field function returns field value.
func (ConfigurationValidationError) Key ¶
func (e ConfigurationValidationError) Key() bool
Key function returns key value.
func (ConfigurationValidationError) Reason ¶
func (e ConfigurationValidationError) Reason() string
Reason function returns reason value.
type DatabaseConfiguration ¶
type DatabaseConfiguration struct { Dialect DatabaseDialect `` /* 175-byte string literal not displayed */ Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty" yaml:",omitempty" valid:"host"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty" yaml:",omitempty" default:"5432" valid:"port"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty" valid:"alphanum,required"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty" valid:"alphanum,required"` Database string `protobuf:"bytes,6,opt,name=database,proto3" json:"database,omitempty" valid:"type(string),required"` Charset string `protobuf:"bytes,7,opt,name=charset,proto3" json:"charset,omitempty" yaml:",omitempty" default:"utf8"` Utc bool `protobuf:"varint,8,opt,name=utc,proto3" json:"utc,omitempty" yaml:",omitempty" default:"true"` Logging bool `protobuf:"varint,9,opt,name=logging,proto3" json:"logging,omitempty" yaml:",omitempty" default:"false"` Singularize bool `protobuf:"varint,10,opt,name=singularize,proto3" json:"singularize,omitempty" yaml:",omitempty" default:"false"` MaxOpenConns uint32 `` /* 145-byte string literal not displayed */ MaxIdleConns uint32 `` /* 145-byte string literal not displayed */ ConnMaxLifetime *time.Duration `` /* 169-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DatabaseConfiguration) Descriptor ¶
func (*DatabaseConfiguration) Descriptor() ([]byte, []int)
func (*DatabaseConfiguration) GetCharset ¶
func (m *DatabaseConfiguration) GetCharset() string
func (*DatabaseConfiguration) GetConnMaxLifetime ¶
func (m *DatabaseConfiguration) GetConnMaxLifetime() *time.Duration
func (*DatabaseConfiguration) GetDatabase ¶
func (m *DatabaseConfiguration) GetDatabase() string
func (*DatabaseConfiguration) GetDialect ¶
func (m *DatabaseConfiguration) GetDialect() DatabaseDialect
func (*DatabaseConfiguration) GetHost ¶
func (m *DatabaseConfiguration) GetHost() string
func (*DatabaseConfiguration) GetLogging ¶
func (m *DatabaseConfiguration) GetLogging() bool
func (*DatabaseConfiguration) GetMaxIdleConns ¶
func (m *DatabaseConfiguration) GetMaxIdleConns() uint32
func (*DatabaseConfiguration) GetMaxOpenConns ¶
func (m *DatabaseConfiguration) GetMaxOpenConns() uint32
func (*DatabaseConfiguration) GetPassword ¶
func (m *DatabaseConfiguration) GetPassword() string
func (*DatabaseConfiguration) GetPort ¶
func (m *DatabaseConfiguration) GetPort() uint32
func (*DatabaseConfiguration) GetSingularize ¶
func (m *DatabaseConfiguration) GetSingularize() bool
func (*DatabaseConfiguration) GetUsername ¶
func (m *DatabaseConfiguration) GetUsername() string
func (*DatabaseConfiguration) GetUtc ¶
func (m *DatabaseConfiguration) GetUtc() bool
func (*DatabaseConfiguration) Marshal ¶
func (m *DatabaseConfiguration) Marshal() (dAtA []byte, err error)
func (*DatabaseConfiguration) MarshalTo ¶
func (m *DatabaseConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*DatabaseConfiguration) MarshalToSizedBuffer ¶
func (m *DatabaseConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DatabaseConfiguration) ProtoMessage ¶
func (*DatabaseConfiguration) ProtoMessage()
func (*DatabaseConfiguration) Reset ¶
func (m *DatabaseConfiguration) Reset()
func (*DatabaseConfiguration) Size ¶
func (m *DatabaseConfiguration) Size() (n int)
func (*DatabaseConfiguration) String ¶
func (m *DatabaseConfiguration) String() string
func (*DatabaseConfiguration) URL ¶
func (d *DatabaseConfiguration) URL() (url string, err error)
URL returns a connection string for the database.
func (*DatabaseConfiguration) Unmarshal ¶
func (m *DatabaseConfiguration) Unmarshal(dAtA []byte) error
func (*DatabaseConfiguration) Validate ¶
func (m *DatabaseConfiguration) Validate() error
Validate checks the field values on DatabaseConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DatabaseConfiguration) XXX_DiscardUnknown ¶
func (m *DatabaseConfiguration) XXX_DiscardUnknown()
func (*DatabaseConfiguration) XXX_Marshal ¶
func (m *DatabaseConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabaseConfiguration) XXX_Merge ¶
func (m *DatabaseConfiguration) XXX_Merge(src proto.Message)
func (*DatabaseConfiguration) XXX_Size ¶
func (m *DatabaseConfiguration) XXX_Size() int
func (*DatabaseConfiguration) XXX_Unmarshal ¶
func (m *DatabaseConfiguration) XXX_Unmarshal(b []byte) error
type DatabaseConfigurationValidationError ¶
type DatabaseConfigurationValidationError struct {
// contains filtered or unexported fields
}
DatabaseConfigurationValidationError is the validation error returned by DatabaseConfiguration.Validate if the designated constraints aren't met.
func (DatabaseConfigurationValidationError) Cause ¶
func (e DatabaseConfigurationValidationError) Cause() error
Cause function returns cause value.
func (DatabaseConfigurationValidationError) Error ¶
func (e DatabaseConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (DatabaseConfigurationValidationError) ErrorName ¶
func (e DatabaseConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (DatabaseConfigurationValidationError) Field ¶
func (e DatabaseConfigurationValidationError) Field() string
Field function returns field value.
func (DatabaseConfigurationValidationError) Key ¶
func (e DatabaseConfigurationValidationError) Key() bool
Key function returns key value.
func (DatabaseConfigurationValidationError) Reason ¶
func (e DatabaseConfigurationValidationError) Reason() string
Reason function returns reason value.
type DatabaseDialect ¶
type DatabaseDialect int32
const ( DatabaseDialect_Unspecified DatabaseDialect = 0 DatabaseDialect_Postgre DatabaseDialect = 1 DatabaseDialect_MySQL DatabaseDialect = 2 DatabaseDialect_SQLite3 DatabaseDialect = 3 )
func (DatabaseDialect) EnumDescriptor ¶
func (DatabaseDialect) EnumDescriptor() ([]byte, []int)
func (DatabaseDialect) String ¶
func (x DatabaseDialect) String() string
type EmailConfiguration ¶
type EmailConfiguration struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" yaml:"username"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` EmailServer string `protobuf:"bytes,3,opt,name=email_server,json=emailServer,proto3" json:"email_server,omitempty" yaml:"email_server"` Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty" yaml:",omitempty" default:"587" valid:"port"` From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty" valid:"email,optional"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmailConfiguration) Descriptor ¶
func (*EmailConfiguration) Descriptor() ([]byte, []int)
func (*EmailConfiguration) GetEmailServer ¶
func (m *EmailConfiguration) GetEmailServer() string
func (*EmailConfiguration) GetFrom ¶
func (m *EmailConfiguration) GetFrom() string
func (*EmailConfiguration) GetPassword ¶
func (m *EmailConfiguration) GetPassword() string
func (*EmailConfiguration) GetPort ¶
func (m *EmailConfiguration) GetPort() uint32
func (*EmailConfiguration) GetUsername ¶
func (m *EmailConfiguration) GetUsername() string
func (*EmailConfiguration) Marshal ¶
func (m *EmailConfiguration) Marshal() (dAtA []byte, err error)
func (*EmailConfiguration) MarshalTo ¶
func (m *EmailConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*EmailConfiguration) MarshalToSizedBuffer ¶
func (m *EmailConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EmailConfiguration) ProtoMessage ¶
func (*EmailConfiguration) ProtoMessage()
func (*EmailConfiguration) Reset ¶
func (m *EmailConfiguration) Reset()
func (*EmailConfiguration) Size ¶
func (m *EmailConfiguration) Size() (n int)
func (*EmailConfiguration) String ¶
func (m *EmailConfiguration) String() string
func (*EmailConfiguration) Unmarshal ¶
func (m *EmailConfiguration) Unmarshal(dAtA []byte) error
func (*EmailConfiguration) Validate ¶
func (m *EmailConfiguration) Validate() error
Validate checks the field values on EmailConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*EmailConfiguration) XXX_DiscardUnknown ¶
func (m *EmailConfiguration) XXX_DiscardUnknown()
func (*EmailConfiguration) XXX_Marshal ¶
func (m *EmailConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmailConfiguration) XXX_Merge ¶
func (m *EmailConfiguration) XXX_Merge(src proto.Message)
func (*EmailConfiguration) XXX_Size ¶
func (m *EmailConfiguration) XXX_Size() int
func (*EmailConfiguration) XXX_Unmarshal ¶
func (m *EmailConfiguration) XXX_Unmarshal(b []byte) error
type EmailConfigurationValidationError ¶
type EmailConfigurationValidationError struct {
// contains filtered or unexported fields
}
EmailConfigurationValidationError is the validation error returned by EmailConfiguration.Validate if the designated constraints aren't met.
func (EmailConfigurationValidationError) Cause ¶
func (e EmailConfigurationValidationError) Cause() error
Cause function returns cause value.
func (EmailConfigurationValidationError) Error ¶
func (e EmailConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (EmailConfigurationValidationError) ErrorName ¶
func (e EmailConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (EmailConfigurationValidationError) Field ¶
func (e EmailConfigurationValidationError) Field() string
Field function returns field value.
func (EmailConfigurationValidationError) Key ¶
func (e EmailConfigurationValidationError) Key() bool
Key function returns key value.
func (EmailConfigurationValidationError) Reason ¶
func (e EmailConfigurationValidationError) Reason() string
Reason function returns reason value.
type Features ¶
type Features struct { Metrics *Features_Metrics `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"` Tracing *Features_Tracing `protobuf:"bytes,2,opt,name=tracing,proto3" json:"tracing,omitempty"` Tls *Features_TLS `protobuf:"bytes,3,opt,name=tls,proto3" json:"tls,omitempty"` Validator *Features_Validator `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"` Reqlogs *Features_Reqlogs `protobuf:"bytes,5,opt,name=reqlogs,proto3" json:"reqlogs,omitempty"` Translogs *Features_Translogs `protobuf:"bytes,6,opt,name=translogs,proto3" json:"translogs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Features) Descriptor ¶
func (*Features) GetMetrics ¶
func (m *Features) GetMetrics() *Features_Metrics
func (*Features) GetReqlogs ¶
func (m *Features) GetReqlogs() *Features_Reqlogs
func (*Features) GetTls ¶
func (m *Features) GetTls() *Features_TLS
func (*Features) GetTracing ¶
func (m *Features) GetTracing() *Features_Tracing
func (*Features) GetTranslogs ¶
func (m *Features) GetTranslogs() *Features_Translogs
func (*Features) GetValidator ¶
func (m *Features) GetValidator() *Features_Validator
func (*Features) MarshalToSizedBuffer ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) Validate ¶
Validate checks the field values on Features with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Features) XXX_DiscardUnknown ¶
func (m *Features) XXX_DiscardUnknown()
func (*Features) XXX_Marshal ¶
func (*Features) XXX_Unmarshal ¶
type FeaturesValidationError ¶
type FeaturesValidationError struct {
// contains filtered or unexported fields
}
FeaturesValidationError is the validation error returned by Features.Validate if the designated constraints aren't met.
func (FeaturesValidationError) Cause ¶
func (e FeaturesValidationError) Cause() error
Cause function returns cause value.
func (FeaturesValidationError) Error ¶
func (e FeaturesValidationError) Error() string
Error satisfies the builtin error interface
func (FeaturesValidationError) ErrorName ¶
func (e FeaturesValidationError) ErrorName() string
ErrorName returns error name.
func (FeaturesValidationError) Field ¶
func (e FeaturesValidationError) Field() string
Field function returns field value.
func (FeaturesValidationError) Key ¶
func (e FeaturesValidationError) Key() bool
Key function returns key value.
func (FeaturesValidationError) Reason ¶
func (e FeaturesValidationError) Reason() string
Reason function returns reason value.
type Features_Metrics ¶
type Features_Metrics struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" yaml:",omitempty" default:"false"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` FlushInterval uint64 `` /* 152-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Features_Metrics) Descriptor ¶
func (*Features_Metrics) Descriptor() ([]byte, []int)
func (*Features_Metrics) GetAddress ¶
func (m *Features_Metrics) GetAddress() string
func (*Features_Metrics) GetEnabled ¶
func (m *Features_Metrics) GetEnabled() bool
func (*Features_Metrics) GetFlushInterval ¶
func (m *Features_Metrics) GetFlushInterval() uint64
func (*Features_Metrics) Marshal ¶
func (m *Features_Metrics) Marshal() (dAtA []byte, err error)
func (*Features_Metrics) MarshalToSizedBuffer ¶
func (m *Features_Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Features_Metrics) ProtoMessage ¶
func (*Features_Metrics) ProtoMessage()
func (*Features_Metrics) Reset ¶
func (m *Features_Metrics) Reset()
func (*Features_Metrics) Size ¶
func (m *Features_Metrics) Size() (n int)
func (*Features_Metrics) String ¶
func (m *Features_Metrics) String() string
func (*Features_Metrics) Unmarshal ¶
func (m *Features_Metrics) Unmarshal(dAtA []byte) error
func (*Features_Metrics) Validate ¶
func (m *Features_Metrics) Validate() error
Validate checks the field values on Features_Metrics with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Features_Metrics) XXX_DiscardUnknown ¶
func (m *Features_Metrics) XXX_DiscardUnknown()
func (*Features_Metrics) XXX_Marshal ¶
func (m *Features_Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Features_Metrics) XXX_Merge ¶
func (m *Features_Metrics) XXX_Merge(src proto.Message)
func (*Features_Metrics) XXX_Size ¶
func (m *Features_Metrics) XXX_Size() int
func (*Features_Metrics) XXX_Unmarshal ¶
func (m *Features_Metrics) XXX_Unmarshal(b []byte) error
type Features_MetricsValidationError ¶
type Features_MetricsValidationError struct {
// contains filtered or unexported fields
}
Features_MetricsValidationError is the validation error returned by Features_Metrics.Validate if the designated constraints aren't met.
func (Features_MetricsValidationError) Cause ¶
func (e Features_MetricsValidationError) Cause() error
Cause function returns cause value.
func (Features_MetricsValidationError) Error ¶
func (e Features_MetricsValidationError) Error() string
Error satisfies the builtin error interface
func (Features_MetricsValidationError) ErrorName ¶
func (e Features_MetricsValidationError) ErrorName() string
ErrorName returns error name.
func (Features_MetricsValidationError) Field ¶
func (e Features_MetricsValidationError) Field() string
Field function returns field value.
func (Features_MetricsValidationError) Key ¶
func (e Features_MetricsValidationError) Key() bool
Key function returns key value.
func (Features_MetricsValidationError) Reason ¶
func (e Features_MetricsValidationError) Reason() string
Reason function returns reason value.
type Features_Reqlogs ¶
type Features_Reqlogs struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" yaml:",omitempty" default:"false"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Features_Reqlogs) Descriptor ¶
func (*Features_Reqlogs) Descriptor() ([]byte, []int)
func (*Features_Reqlogs) GetEnabled ¶
func (m *Features_Reqlogs) GetEnabled() bool
func (*Features_Reqlogs) Marshal ¶
func (m *Features_Reqlogs) Marshal() (dAtA []byte, err error)
func (*Features_Reqlogs) MarshalToSizedBuffer ¶
func (m *Features_Reqlogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Features_Reqlogs) ProtoMessage ¶
func (*Features_Reqlogs) ProtoMessage()
func (*Features_Reqlogs) Reset ¶
func (m *Features_Reqlogs) Reset()
func (*Features_Reqlogs) Size ¶
func (m *Features_Reqlogs) Size() (n int)
func (*Features_Reqlogs) String ¶
func (m *Features_Reqlogs) String() string
func (*Features_Reqlogs) Unmarshal ¶
func (m *Features_Reqlogs) Unmarshal(dAtA []byte) error
func (*Features_Reqlogs) Validate ¶
func (m *Features_Reqlogs) Validate() error
Validate checks the field values on Features_Reqlogs with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Features_Reqlogs) XXX_DiscardUnknown ¶
func (m *Features_Reqlogs) XXX_DiscardUnknown()
func (*Features_Reqlogs) XXX_Marshal ¶
func (m *Features_Reqlogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Features_Reqlogs) XXX_Merge ¶
func (m *Features_Reqlogs) XXX_Merge(src proto.Message)
func (*Features_Reqlogs) XXX_Size ¶
func (m *Features_Reqlogs) XXX_Size() int
func (*Features_Reqlogs) XXX_Unmarshal ¶
func (m *Features_Reqlogs) XXX_Unmarshal(b []byte) error
type Features_ReqlogsValidationError ¶
type Features_ReqlogsValidationError struct {
// contains filtered or unexported fields
}
Features_ReqlogsValidationError is the validation error returned by Features_Reqlogs.Validate if the designated constraints aren't met.
func (Features_ReqlogsValidationError) Cause ¶
func (e Features_ReqlogsValidationError) Cause() error
Cause function returns cause value.
func (Features_ReqlogsValidationError) Error ¶
func (e Features_ReqlogsValidationError) Error() string
Error satisfies the builtin error interface
func (Features_ReqlogsValidationError) ErrorName ¶
func (e Features_ReqlogsValidationError) ErrorName() string
ErrorName returns error name.
func (Features_ReqlogsValidationError) Field ¶
func (e Features_ReqlogsValidationError) Field() string
Field function returns field value.
func (Features_ReqlogsValidationError) Key ¶
func (e Features_ReqlogsValidationError) Key() bool
Key function returns key value.
func (Features_ReqlogsValidationError) Reason ¶
func (e Features_ReqlogsValidationError) Reason() string
Reason function returns reason value.
type Features_TLS ¶
type Features_TLS struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" yaml:",omitempty" default:"false"` CertFile string `` /* 132-byte string literal not displayed */ KeyFile string `` /* 128-byte string literal not displayed */ CaFile string `protobuf:"bytes,4,opt,name=ca_file,json=caFile,proto3" json:"ca_file,omitempty" yaml:"ca_file" valid:"type(string),required"` Servername string `protobuf:"bytes,5,opt,name=servername,proto3" json:"servername,omitempty" yaml:",omitempty" default:"'*'"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Features_TLS) Descriptor ¶
func (*Features_TLS) Descriptor() ([]byte, []int)
func (*Features_TLS) GetCaFile ¶
func (m *Features_TLS) GetCaFile() string
func (*Features_TLS) GetCertFile ¶
func (m *Features_TLS) GetCertFile() string
func (*Features_TLS) GetEnabled ¶
func (m *Features_TLS) GetEnabled() bool
func (*Features_TLS) GetKeyFile ¶
func (m *Features_TLS) GetKeyFile() string
func (*Features_TLS) GetServername ¶
func (m *Features_TLS) GetServername() string
func (*Features_TLS) Marshal ¶
func (m *Features_TLS) Marshal() (dAtA []byte, err error)
func (*Features_TLS) MarshalToSizedBuffer ¶
func (m *Features_TLS) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Features_TLS) ProtoMessage ¶
func (*Features_TLS) ProtoMessage()
func (*Features_TLS) Reset ¶
func (m *Features_TLS) Reset()
func (*Features_TLS) Size ¶
func (m *Features_TLS) Size() (n int)
func (*Features_TLS) String ¶
func (m *Features_TLS) String() string
func (*Features_TLS) Unmarshal ¶
func (m *Features_TLS) Unmarshal(dAtA []byte) error
func (*Features_TLS) Validate ¶
func (m *Features_TLS) Validate() error
Validate checks the field values on Features_TLS with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Features_TLS) XXX_DiscardUnknown ¶
func (m *Features_TLS) XXX_DiscardUnknown()
func (*Features_TLS) XXX_Marshal ¶
func (m *Features_TLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Features_TLS) XXX_Merge ¶
func (m *Features_TLS) XXX_Merge(src proto.Message)
func (*Features_TLS) XXX_Size ¶
func (m *Features_TLS) XXX_Size() int
func (*Features_TLS) XXX_Unmarshal ¶
func (m *Features_TLS) XXX_Unmarshal(b []byte) error
type Features_TLSValidationError ¶
type Features_TLSValidationError struct {
// contains filtered or unexported fields
}
Features_TLSValidationError is the validation error returned by Features_TLS.Validate if the designated constraints aren't met.
func (Features_TLSValidationError) Cause ¶
func (e Features_TLSValidationError) Cause() error
Cause function returns cause value.
func (Features_TLSValidationError) Error ¶
func (e Features_TLSValidationError) Error() string
Error satisfies the builtin error interface
func (Features_TLSValidationError) ErrorName ¶
func (e Features_TLSValidationError) ErrorName() string
ErrorName returns error name.
func (Features_TLSValidationError) Field ¶
func (e Features_TLSValidationError) Field() string
Field function returns field value.
func (Features_TLSValidationError) Key ¶
func (e Features_TLSValidationError) Key() bool
Key function returns key value.
func (Features_TLSValidationError) Reason ¶
func (e Features_TLSValidationError) Reason() string
Reason function returns reason value.
type Features_Tracing ¶
type Features_Tracing struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" yaml:",omitempty" default:"false"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` FlushInterval uint64 `` /* 152-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Features_Tracing) Descriptor ¶
func (*Features_Tracing) Descriptor() ([]byte, []int)
func (*Features_Tracing) GetAddress ¶
func (m *Features_Tracing) GetAddress() string
func (*Features_Tracing) GetEnabled ¶
func (m *Features_Tracing) GetEnabled() bool
func (*Features_Tracing) GetFlushInterval ¶
func (m *Features_Tracing) GetFlushInterval() uint64
func (*Features_Tracing) Marshal ¶
func (m *Features_Tracing) Marshal() (dAtA []byte, err error)
func (*Features_Tracing) MarshalToSizedBuffer ¶
func (m *Features_Tracing) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Features_Tracing) ProtoMessage ¶
func (*Features_Tracing) ProtoMessage()
func (*Features_Tracing) Reset ¶
func (m *Features_Tracing) Reset()
func (*Features_Tracing) Size ¶
func (m *Features_Tracing) Size() (n int)
func (*Features_Tracing) String ¶
func (m *Features_Tracing) String() string
func (*Features_Tracing) Unmarshal ¶
func (m *Features_Tracing) Unmarshal(dAtA []byte) error
func (*Features_Tracing) Validate ¶
func (m *Features_Tracing) Validate() error
Validate checks the field values on Features_Tracing with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Features_Tracing) XXX_DiscardUnknown ¶
func (m *Features_Tracing) XXX_DiscardUnknown()
func (*Features_Tracing) XXX_Marshal ¶
func (m *Features_Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Features_Tracing) XXX_Merge ¶
func (m *Features_Tracing) XXX_Merge(src proto.Message)
func (*Features_Tracing) XXX_Size ¶
func (m *Features_Tracing) XXX_Size() int
func (*Features_Tracing) XXX_Unmarshal ¶
func (m *Features_Tracing) XXX_Unmarshal(b []byte) error
type Features_TracingValidationError ¶
type Features_TracingValidationError struct {
// contains filtered or unexported fields
}
Features_TracingValidationError is the validation error returned by Features_Tracing.Validate if the designated constraints aren't met.
func (Features_TracingValidationError) Cause ¶
func (e Features_TracingValidationError) Cause() error
Cause function returns cause value.
func (Features_TracingValidationError) Error ¶
func (e Features_TracingValidationError) Error() string
Error satisfies the builtin error interface
func (Features_TracingValidationError) ErrorName ¶
func (e Features_TracingValidationError) ErrorName() string
ErrorName returns error name.
func (Features_TracingValidationError) Field ¶
func (e Features_TracingValidationError) Field() string
Field function returns field value.
func (Features_TracingValidationError) Key ¶
func (e Features_TracingValidationError) Key() bool
Key function returns key value.
func (Features_TracingValidationError) Reason ¶
func (e Features_TracingValidationError) Reason() string
Reason function returns reason value.
type Features_Translogs ¶
type Features_Translogs struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" yaml:",omitempty" default:"false"` Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Features_Translogs) Descriptor ¶
func (*Features_Translogs) Descriptor() ([]byte, []int)
func (*Features_Translogs) GetEnabled ¶
func (m *Features_Translogs) GetEnabled() bool
func (*Features_Translogs) GetTopic ¶
func (m *Features_Translogs) GetTopic() string
func (*Features_Translogs) Marshal ¶
func (m *Features_Translogs) Marshal() (dAtA []byte, err error)
func (*Features_Translogs) MarshalTo ¶
func (m *Features_Translogs) MarshalTo(dAtA []byte) (int, error)
func (*Features_Translogs) MarshalToSizedBuffer ¶
func (m *Features_Translogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Features_Translogs) ProtoMessage ¶
func (*Features_Translogs) ProtoMessage()
func (*Features_Translogs) Reset ¶
func (m *Features_Translogs) Reset()
func (*Features_Translogs) Size ¶
func (m *Features_Translogs) Size() (n int)
func (*Features_Translogs) String ¶
func (m *Features_Translogs) String() string
func (*Features_Translogs) Unmarshal ¶
func (m *Features_Translogs) Unmarshal(dAtA []byte) error
func (*Features_Translogs) Validate ¶
func (m *Features_Translogs) Validate() error
Validate checks the field values on Features_Translogs with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Features_Translogs) XXX_DiscardUnknown ¶
func (m *Features_Translogs) XXX_DiscardUnknown()
func (*Features_Translogs) XXX_Marshal ¶
func (m *Features_Translogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Features_Translogs) XXX_Merge ¶
func (m *Features_Translogs) XXX_Merge(src proto.Message)
func (*Features_Translogs) XXX_Size ¶
func (m *Features_Translogs) XXX_Size() int
func (*Features_Translogs) XXX_Unmarshal ¶
func (m *Features_Translogs) XXX_Unmarshal(b []byte) error
type Features_TranslogsValidationError ¶
type Features_TranslogsValidationError struct {
// contains filtered or unexported fields
}
Features_TranslogsValidationError is the validation error returned by Features_Translogs.Validate if the designated constraints aren't met.
func (Features_TranslogsValidationError) Cause ¶
func (e Features_TranslogsValidationError) Cause() error
Cause function returns cause value.
func (Features_TranslogsValidationError) Error ¶
func (e Features_TranslogsValidationError) Error() string
Error satisfies the builtin error interface
func (Features_TranslogsValidationError) ErrorName ¶
func (e Features_TranslogsValidationError) ErrorName() string
ErrorName returns error name.
func (Features_TranslogsValidationError) Field ¶
func (e Features_TranslogsValidationError) Field() string
Field function returns field value.
func (Features_TranslogsValidationError) Key ¶
func (e Features_TranslogsValidationError) Key() bool
Key function returns key value.
func (Features_TranslogsValidationError) Reason ¶
func (e Features_TranslogsValidationError) Reason() string
Reason function returns reason value.
type Features_Validator ¶
type Features_Validator struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" yaml:",omitempty" default:"false"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Features_Validator) Descriptor ¶
func (*Features_Validator) Descriptor() ([]byte, []int)
func (*Features_Validator) GetEnabled ¶
func (m *Features_Validator) GetEnabled() bool
func (*Features_Validator) Marshal ¶
func (m *Features_Validator) Marshal() (dAtA []byte, err error)
func (*Features_Validator) MarshalTo ¶
func (m *Features_Validator) MarshalTo(dAtA []byte) (int, error)
func (*Features_Validator) MarshalToSizedBuffer ¶
func (m *Features_Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Features_Validator) ProtoMessage ¶
func (*Features_Validator) ProtoMessage()
func (*Features_Validator) Reset ¶
func (m *Features_Validator) Reset()
func (*Features_Validator) Size ¶
func (m *Features_Validator) Size() (n int)
func (*Features_Validator) String ¶
func (m *Features_Validator) String() string
func (*Features_Validator) Unmarshal ¶
func (m *Features_Validator) Unmarshal(dAtA []byte) error
func (*Features_Validator) Validate ¶
func (m *Features_Validator) Validate() error
Validate checks the field values on Features_Validator with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Features_Validator) XXX_DiscardUnknown ¶
func (m *Features_Validator) XXX_DiscardUnknown()
func (*Features_Validator) XXX_Marshal ¶
func (m *Features_Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Features_Validator) XXX_Merge ¶
func (m *Features_Validator) XXX_Merge(src proto.Message)
func (*Features_Validator) XXX_Size ¶
func (m *Features_Validator) XXX_Size() int
func (*Features_Validator) XXX_Unmarshal ¶
func (m *Features_Validator) XXX_Unmarshal(b []byte) error
type Features_ValidatorValidationError ¶
type Features_ValidatorValidationError struct {
// contains filtered or unexported fields
}
Features_ValidatorValidationError is the validation error returned by Features_Validator.Validate if the designated constraints aren't met.
func (Features_ValidatorValidationError) Cause ¶
func (e Features_ValidatorValidationError) Cause() error
Cause function returns cause value.
func (Features_ValidatorValidationError) Error ¶
func (e Features_ValidatorValidationError) Error() string
Error satisfies the builtin error interface
func (Features_ValidatorValidationError) ErrorName ¶
func (e Features_ValidatorValidationError) ErrorName() string
ErrorName returns error name.
func (Features_ValidatorValidationError) Field ¶
func (e Features_ValidatorValidationError) Field() string
Field function returns field value.
func (Features_ValidatorValidationError) Key ¶
func (e Features_ValidatorValidationError) Key() bool
Key function returns key value.
func (Features_ValidatorValidationError) Reason ¶
func (e Features_ValidatorValidationError) Reason() string
Reason function returns reason value.
type Service ¶
type Service struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty" yaml:"endpoint" required:"true"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" yaml:"version" default:"v0.1.0"` Deadline uint32 `protobuf:"varint,3,opt,name=deadline,proto3" json:"deadline,omitempty" yaml:",omitempty" default:"10"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Service) Descriptor ¶
func (*Service) GetDeadline ¶
func (*Service) GetEndpoint ¶
func (*Service) GetVersion ¶
func (*Service) MarshalToSizedBuffer ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) Validate ¶
Validate checks the field values on Service with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Service) XXX_DiscardUnknown ¶
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶
func (*Service) XXX_Unmarshal ¶
type ServiceValidationError ¶
type ServiceValidationError struct {
// contains filtered or unexported fields
}
ServiceValidationError is the validation error returned by Service.Validate if the designated constraints aren't met.
func (ServiceValidationError) Cause ¶
func (e ServiceValidationError) Cause() error
Cause function returns cause value.
func (ServiceValidationError) Error ¶
func (e ServiceValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceValidationError) ErrorName ¶
func (e ServiceValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceValidationError) Field ¶
func (e ServiceValidationError) Field() string
Field function returns field value.
func (ServiceValidationError) Key ¶
func (e ServiceValidationError) Key() bool
Key function returns key value.
func (ServiceValidationError) Reason ¶
func (e ServiceValidationError) Reason() string
Reason function returns reason value.
type Services ¶
type Services struct { Account *Service `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Greeter *Service `protobuf:"bytes,2,opt,name=greeter,proto3" json:"greeter,omitempty"` Emailer *Service `protobuf:"bytes,3,opt,name=emailer,proto3" json:"emailer,omitempty"` Recorder *Service `protobuf:"bytes,4,opt,name=recorder,proto3" json:"recorder,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Services) Descriptor ¶
func (*Services) GetAccount ¶
func (*Services) GetEmailer ¶
func (*Services) GetGreeter ¶
func (*Services) GetRecorder ¶
func (*Services) MarshalToSizedBuffer ¶
func (*Services) ProtoMessage ¶
func (*Services) ProtoMessage()
func (*Services) Validate ¶
Validate checks the field values on Services with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Services) XXX_DiscardUnknown ¶
func (m *Services) XXX_DiscardUnknown()
func (*Services) XXX_Marshal ¶
func (*Services) XXX_Unmarshal ¶
type ServicesValidationError ¶
type ServicesValidationError struct {
// contains filtered or unexported fields
}
ServicesValidationError is the validation error returned by Services.Validate if the designated constraints aren't met.
func (ServicesValidationError) Cause ¶
func (e ServicesValidationError) Cause() error
Cause function returns cause value.
func (ServicesValidationError) Error ¶
func (e ServicesValidationError) Error() string
Error satisfies the builtin error interface
func (ServicesValidationError) ErrorName ¶
func (e ServicesValidationError) ErrorName() string
ErrorName returns error name.
func (ServicesValidationError) Field ¶
func (e ServicesValidationError) Field() string
Field function returns field value.
func (ServicesValidationError) Key ¶
func (e ServicesValidationError) Key() bool
Key function returns key value.
func (ServicesValidationError) Reason ¶
func (e ServicesValidationError) Reason() string
Reason function returns reason value.
type UnimplementedConfigServiceServer ¶
type UnimplementedConfigServiceServer struct { }
UnimplementedConfigServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedConfigServiceServer) Get ¶
func (*UnimplementedConfigServiceServer) Get(ctx context.Context, req *empty.Empty) (*Configuration, error)
func (*UnimplementedConfigServiceServer) Set ¶
func (*UnimplementedConfigServiceServer) Set(ctx context.Context, req *Configuration) (*empty.Empty, error)