Documentation ¶
Index ¶
- Variables
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetApp() *conf.AppConfig
- func (x *Bootstrap) GetData() *conf.Data
- func (x *Bootstrap) GetLogging() *conf.Logging
- func (x *Bootstrap) GetSaas() *SaasConf
- func (x *Bootstrap) GetSecurity() *conf.Security
- func (x *Bootstrap) GetServices() *conf.Services
- func (x *Bootstrap) GetTracing() *conf.Tracers
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- func (m *Bootstrap) Validate() error
- func (m *Bootstrap) ValidateAll() error
- type BootstrapMultiError
- type BootstrapValidationError
- type DatabaseTemplate
- func (*DatabaseTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseTemplate) GetName() string
- func (x *DatabaseTemplate) GetTemplate() string
- func (*DatabaseTemplate) ProtoMessage()
- func (x *DatabaseTemplate) ProtoReflect() protoreflect.Message
- func (x *DatabaseTemplate) Reset()
- func (x *DatabaseTemplate) String() string
- func (m *DatabaseTemplate) Validate() error
- func (m *DatabaseTemplate) ValidateAll() error
- type DatabaseTemplateMultiError
- type DatabaseTemplateValidationError
- func (e DatabaseTemplateValidationError) Cause() error
- func (e DatabaseTemplateValidationError) Error() string
- func (e DatabaseTemplateValidationError) ErrorName() string
- func (e DatabaseTemplateValidationError) Field() string
- func (e DatabaseTemplateValidationError) Key() bool
- func (e DatabaseTemplateValidationError) Reason() string
- type SaasConf
- func (*SaasConf) Descriptor() ([]byte, []int)deprecated
- func (x *SaasConf) GetDatabase() []*DatabaseTemplate
- func (*SaasConf) ProtoMessage()
- func (x *SaasConf) ProtoReflect() protoreflect.Message
- func (x *SaasConf) Reset()
- func (x *SaasConf) String() string
- func (m *SaasConf) Validate() error
- func (m *SaasConf) ValidateAll() error
- type SaasConfMultiError
- type SaasConfValidationError
Constants ¶
This section is empty.
Variables ¶
var File_saas_private_conf_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
type Bootstrap struct { Data *conf.Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Security *conf.Security `protobuf:"bytes,3,opt,name=security,proto3" json:"security,omitempty"` Services *conf.Services `protobuf:"bytes,4,opt,name=services,proto3" json:"services,omitempty"` Logging *conf.Logging `protobuf:"bytes,6,opt,name=logging,proto3" json:"logging,omitempty"` Tracing *conf.Tracers `protobuf:"bytes,7,opt,name=tracing,proto3" json:"tracing,omitempty"` App *conf.AppConfig `protobuf:"bytes,8,opt,name=app,proto3" json:"app,omitempty"` Saas *SaasConf `protobuf:"bytes,20,opt,name=saas,proto3" json:"saas,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetLogging ¶
func (*Bootstrap) GetSecurity ¶
func (*Bootstrap) GetServices ¶
func (*Bootstrap) GetTracing ¶
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
func (*Bootstrap) Validate ¶
Validate checks the field values on Bootstrap with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Bootstrap) ValidateAll ¶
ValidateAll checks the field values on Bootstrap with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BootstrapMultiError, or nil if none found.
type BootstrapMultiError ¶
type BootstrapMultiError []error
BootstrapMultiError is an error wrapping multiple validation errors returned by Bootstrap.ValidateAll() if the designated constraints aren't met.
func (BootstrapMultiError) AllErrors ¶
func (m BootstrapMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BootstrapMultiError) Error ¶
func (m BootstrapMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BootstrapValidationError ¶
type BootstrapValidationError struct {
// contains filtered or unexported fields
}
BootstrapValidationError is the validation error returned by Bootstrap.Validate if the designated constraints aren't met.
func (BootstrapValidationError) Cause ¶
func (e BootstrapValidationError) Cause() error
Cause function returns cause value.
func (BootstrapValidationError) Error ¶
func (e BootstrapValidationError) Error() string
Error satisfies the builtin error interface
func (BootstrapValidationError) ErrorName ¶
func (e BootstrapValidationError) ErrorName() string
ErrorName returns error name.
func (BootstrapValidationError) Field ¶
func (e BootstrapValidationError) Field() string
Field function returns field value.
func (BootstrapValidationError) Key ¶
func (e BootstrapValidationError) Key() bool
Key function returns key value.
func (BootstrapValidationError) Reason ¶
func (e BootstrapValidationError) Reason() string
Reason function returns reason value.
type DatabaseTemplate ¶
type DatabaseTemplate struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*DatabaseTemplate) Descriptor
deprecated
func (*DatabaseTemplate) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseTemplate.ProtoReflect.Descriptor instead.
func (*DatabaseTemplate) GetName ¶
func (x *DatabaseTemplate) GetName() string
func (*DatabaseTemplate) GetTemplate ¶
func (x *DatabaseTemplate) GetTemplate() string
func (*DatabaseTemplate) ProtoMessage ¶
func (*DatabaseTemplate) ProtoMessage()
func (*DatabaseTemplate) ProtoReflect ¶
func (x *DatabaseTemplate) ProtoReflect() protoreflect.Message
func (*DatabaseTemplate) Reset ¶
func (x *DatabaseTemplate) Reset()
func (*DatabaseTemplate) String ¶
func (x *DatabaseTemplate) String() string
func (*DatabaseTemplate) Validate ¶
func (m *DatabaseTemplate) Validate() error
Validate checks the field values on DatabaseTemplate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DatabaseTemplate) ValidateAll ¶
func (m *DatabaseTemplate) ValidateAll() error
ValidateAll checks the field values on DatabaseTemplate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DatabaseTemplateMultiError, or nil if none found.
type DatabaseTemplateMultiError ¶
type DatabaseTemplateMultiError []error
DatabaseTemplateMultiError is an error wrapping multiple validation errors returned by DatabaseTemplate.ValidateAll() if the designated constraints aren't met.
func (DatabaseTemplateMultiError) AllErrors ¶
func (m DatabaseTemplateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DatabaseTemplateMultiError) Error ¶
func (m DatabaseTemplateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DatabaseTemplateValidationError ¶
type DatabaseTemplateValidationError struct {
// contains filtered or unexported fields
}
DatabaseTemplateValidationError is the validation error returned by DatabaseTemplate.Validate if the designated constraints aren't met.
func (DatabaseTemplateValidationError) Cause ¶
func (e DatabaseTemplateValidationError) Cause() error
Cause function returns cause value.
func (DatabaseTemplateValidationError) Error ¶
func (e DatabaseTemplateValidationError) Error() string
Error satisfies the builtin error interface
func (DatabaseTemplateValidationError) ErrorName ¶
func (e DatabaseTemplateValidationError) ErrorName() string
ErrorName returns error name.
func (DatabaseTemplateValidationError) Field ¶
func (e DatabaseTemplateValidationError) Field() string
Field function returns field value.
func (DatabaseTemplateValidationError) Key ¶
func (e DatabaseTemplateValidationError) Key() bool
Key function returns key value.
func (DatabaseTemplateValidationError) Reason ¶
func (e DatabaseTemplateValidationError) Reason() string
Reason function returns reason value.
type SaasConf ¶
type SaasConf struct { Database []*DatabaseTemplate `protobuf:"bytes,1,rep,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*SaasConf) Descriptor
deprecated
func (*SaasConf) GetDatabase ¶
func (x *SaasConf) GetDatabase() []*DatabaseTemplate
func (*SaasConf) ProtoMessage ¶
func (*SaasConf) ProtoMessage()
func (*SaasConf) ProtoReflect ¶
func (x *SaasConf) ProtoReflect() protoreflect.Message
func (*SaasConf) Validate ¶
Validate checks the field values on SaasConf with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SaasConf) ValidateAll ¶
ValidateAll checks the field values on SaasConf with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SaasConfMultiError, or nil if none found.
type SaasConfMultiError ¶
type SaasConfMultiError []error
SaasConfMultiError is an error wrapping multiple validation errors returned by SaasConf.ValidateAll() if the designated constraints aren't met.
func (SaasConfMultiError) AllErrors ¶
func (m SaasConfMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SaasConfMultiError) Error ¶
func (m SaasConfMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SaasConfValidationError ¶
type SaasConfValidationError struct {
// contains filtered or unexported fields
}
SaasConfValidationError is the validation error returned by SaasConf.Validate if the designated constraints aren't met.
func (SaasConfValidationError) Cause ¶
func (e SaasConfValidationError) Cause() error
Cause function returns cause value.
func (SaasConfValidationError) Error ¶
func (e SaasConfValidationError) Error() string
Error satisfies the builtin error interface
func (SaasConfValidationError) ErrorName ¶
func (e SaasConfValidationError) ErrorName() string
ErrorName returns error name.
func (SaasConfValidationError) Field ¶
func (e SaasConfValidationError) Field() string
Field function returns field value.
func (SaasConfValidationError) Key ¶
func (e SaasConfValidationError) Key() bool
Key function returns key value.
func (SaasConfValidationError) Reason ¶
func (e SaasConfValidationError) Reason() string
Reason function returns reason value.