Documentation
¶
Index ¶
- Variables
- type Caches
- func (*Caches) Descriptor() ([]byte, []int)deprecated
- func (x *Caches) GetActive() string
- func (x *Caches) GetConfigs() []*v11.CacheConfig
- func (x *Caches) GetDefault() string
- func (*Caches) ProtoMessage()
- func (x *Caches) ProtoReflect() protoreflect.Message
- func (x *Caches) Reset()
- func (x *Caches) String() string
- func (m *Caches) Validate() error
- func (m *Caches) ValidateAll() error
- type CachesMultiError
- type CachesValidationError
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetCaches() *Caches
- func (x *Data) GetCustomize() *structpb.Struct
- func (x *Data) GetDatabases() *Databases
- func (x *Data) GetDocuments() *Documents
- func (x *Data) GetObjectStores() *ObjectStores
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- func (m *Data) Validate() error
- func (m *Data) ValidateAll() error
- type DataMultiError
- type DataValidationError
- type Databases
- func (*Databases) Descriptor() ([]byte, []int)deprecated
- func (x *Databases) GetActive() string
- func (x *Databases) GetConfigs() []*v12.DatabaseConfig
- func (x *Databases) GetDefault() string
- func (*Databases) ProtoMessage()
- func (x *Databases) ProtoReflect() protoreflect.Message
- func (x *Databases) Reset()
- func (x *Databases) String() string
- func (m *Databases) Validate() error
- func (m *Databases) ValidateAll() error
- type DatabasesMultiError
- type DatabasesValidationError
- type Documents
- func (*Documents) Descriptor() ([]byte, []int)deprecated
- func (x *Documents) GetActive() string
- func (x *Documents) GetConfigs() []*v12.DocumentConfig
- func (x *Documents) GetDefault() string
- func (*Documents) ProtoMessage()
- func (x *Documents) ProtoReflect() protoreflect.Message
- func (x *Documents) Reset()
- func (x *Documents) String() string
- func (m *Documents) Validate() error
- func (m *Documents) ValidateAll() error
- type DocumentsMultiError
- type DocumentsValidationError
- type ObjectStores
- func (*ObjectStores) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectStores) GetActive() string
- func (x *ObjectStores) GetConfigs() []*v1.ObjectStoreConfig
- func (x *ObjectStores) GetDefault() string
- func (*ObjectStores) ProtoMessage()
- func (x *ObjectStores) ProtoReflect() protoreflect.Message
- func (x *ObjectStores) Reset()
- func (x *ObjectStores) String() string
- func (m *ObjectStores) Validate() error
- func (m *ObjectStores) ValidateAll() error
- type ObjectStoresMultiError
- type ObjectStoresValidationError
- func (e ObjectStoresValidationError) Cause() error
- func (e ObjectStoresValidationError) Error() string
- func (e ObjectStoresValidationError) ErrorName() string
- func (e ObjectStoresValidationError) Field() string
- func (e ObjectStoresValidationError) Key() bool
- func (e ObjectStoresValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_config_data_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Caches ¶
type Caches struct {
// Default cache name.
Default *string `protobuf:"bytes,1,opt,name=default,proto3,oneof" json:"default,omitempty"`
// Active cache name, overrides default.
Active *string `protobuf:"bytes,2,opt,name=active,proto3,oneof" json:"active,omitempty"`
// List of named Cache configurations.
Configs []*v11.CacheConfig `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"`
// contains filtered or unexported fields
}
Caches is a collection of named Cache configurations.
func (*Caches) Descriptor
deprecated
func (*Caches) GetConfigs ¶
func (x *Caches) GetConfigs() []*v11.CacheConfig
func (*Caches) GetDefault ¶
func (*Caches) ProtoMessage ¶
func (*Caches) ProtoMessage()
func (*Caches) ProtoReflect ¶
func (x *Caches) ProtoReflect() protoreflect.Message
func (*Caches) Validate ¶
Validate checks the field values on Caches 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 (*Caches) ValidateAll ¶
ValidateAll checks the field values on Caches 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 CachesMultiError, or nil if none found.
type CachesMultiError ¶
type CachesMultiError []error
CachesMultiError is an error wrapping multiple validation errors returned by Caches.ValidateAll() if the designated constraints aren't met.
func (CachesMultiError) AllErrors ¶
func (m CachesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CachesMultiError) Error ¶
func (m CachesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CachesValidationError ¶
type CachesValidationError struct {
// contains filtered or unexported fields
}
CachesValidationError is the validation error returned by Caches.Validate if the designated constraints aren't met.
func (CachesValidationError) Cause ¶
func (e CachesValidationError) Cause() error
Cause function returns cause value.
func (CachesValidationError) Error ¶
func (e CachesValidationError) Error() string
Error satisfies the builtin error interface
func (CachesValidationError) ErrorName ¶
func (e CachesValidationError) ErrorName() string
ErrorName returns error name.
func (CachesValidationError) Field ¶
func (e CachesValidationError) Field() string
Field function returns field value.
func (CachesValidationError) Key ¶
func (e CachesValidationError) Key() bool
Key function returns key value.
func (CachesValidationError) Reason ¶
func (e CachesValidationError) Reason() string
Reason function returns reason value.
type Data ¶
type Data struct {
// FileStore configurations.
ObjectStores *ObjectStores `protobuf:"bytes,1,opt,name=object_stores,proto3,oneof" json:"object_stores,omitempty"`
// Cache configurations.
Caches *Caches `protobuf:"bytes,2,opt,name=caches,proto3,oneof" json:"caches,omitempty"`
// Relational Database configurations (SQL).
Databases *Databases `protobuf:"bytes,3,opt,name=databases,proto3,oneof" json:"databases,omitempty"`
// Document Database configurations (e.g., MongoDB).
Documents *Documents `protobuf:"bytes,4,opt,name=documents,proto3,oneof" json:"documents,omitempty"`
// Optional custom configuration for Data components not explicitly defined.
Customize *structpb.Struct `protobuf:"bytes,100,opt,name=customize,proto3,oneof" json:"customize,omitempty"`
// contains filtered or unexported fields
}
Data is the top-level configuration for all data-related components.
func (*Data) Descriptor
deprecated
func (*Data) GetCustomize ¶
func (*Data) GetDatabases ¶
func (*Data) GetDocuments ¶
func (*Data) GetObjectStores ¶ added in v0.2.14
func (x *Data) GetObjectStores() *ObjectStores
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
func (*Data) Validate ¶
Validate checks the field values on Data 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 (*Data) ValidateAll ¶
ValidateAll checks the field values on Data 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 DataMultiError, or nil if none found.
type DataMultiError ¶
type DataMultiError []error
DataMultiError is an error wrapping multiple validation errors returned by Data.ValidateAll() if the designated constraints aren't met.
func (DataMultiError) AllErrors ¶
func (m DataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DataMultiError) Error ¶
func (m DataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DataValidationError ¶
type DataValidationError struct {
// contains filtered or unexported fields
}
DataValidationError is the validation error returned by Data.Validate if the designated constraints aren't met.
func (DataValidationError) Cause ¶
func (e DataValidationError) Cause() error
Cause function returns cause value.
func (DataValidationError) Error ¶
func (e DataValidationError) Error() string
Error satisfies the builtin error interface
func (DataValidationError) ErrorName ¶
func (e DataValidationError) ErrorName() string
ErrorName returns error name.
func (DataValidationError) Field ¶
func (e DataValidationError) Field() string
Field function returns field value.
func (DataValidationError) Key ¶
func (e DataValidationError) Key() bool
Key function returns key value.
func (DataValidationError) Reason ¶
func (e DataValidationError) Reason() string
Reason function returns reason value.
type Databases ¶
type Databases struct {
// Default database name.
Default *string `protobuf:"bytes,1,opt,name=default,proto3,oneof" json:"default,omitempty"`
// Active database name, overrides default.
Active *string `protobuf:"bytes,2,opt,name=active,proto3,oneof" json:"active,omitempty"`
// List of named Relational Database configurations.
Configs []*v12.DatabaseConfig `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"`
// contains filtered or unexported fields
}
Databases is a collection of named Relational Database configurations.
func (*Databases) Descriptor
deprecated
func (*Databases) GetConfigs ¶
func (x *Databases) GetConfigs() []*v12.DatabaseConfig
func (*Databases) GetDefault ¶
func (*Databases) ProtoMessage ¶
func (*Databases) ProtoMessage()
func (*Databases) ProtoReflect ¶
func (x *Databases) ProtoReflect() protoreflect.Message
func (*Databases) Validate ¶
Validate checks the field values on Databases 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 (*Databases) ValidateAll ¶
ValidateAll checks the field values on Databases 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 DatabasesMultiError, or nil if none found.
type DatabasesMultiError ¶
type DatabasesMultiError []error
DatabasesMultiError is an error wrapping multiple validation errors returned by Databases.ValidateAll() if the designated constraints aren't met.
func (DatabasesMultiError) AllErrors ¶
func (m DatabasesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DatabasesMultiError) Error ¶
func (m DatabasesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DatabasesValidationError ¶
type DatabasesValidationError struct {
// contains filtered or unexported fields
}
DatabasesValidationError is the validation error returned by Databases.Validate if the designated constraints aren't met.
func (DatabasesValidationError) Cause ¶
func (e DatabasesValidationError) Cause() error
Cause function returns cause value.
func (DatabasesValidationError) Error ¶
func (e DatabasesValidationError) Error() string
Error satisfies the builtin error interface
func (DatabasesValidationError) ErrorName ¶
func (e DatabasesValidationError) ErrorName() string
ErrorName returns error name.
func (DatabasesValidationError) Field ¶
func (e DatabasesValidationError) Field() string
Field function returns field value.
func (DatabasesValidationError) Key ¶
func (e DatabasesValidationError) Key() bool
Key function returns key value.
func (DatabasesValidationError) Reason ¶
func (e DatabasesValidationError) Reason() string
Reason function returns reason value.
type Documents ¶
type Documents struct {
// Default document database name.
Default *string `protobuf:"bytes,1,opt,name=default,proto3,oneof" json:"default,omitempty"`
// Active document database name, overrides default.
Active *string `protobuf:"bytes,2,opt,name=active,proto3,oneof" json:"active,omitempty"`
// List of named Document Database configurations.
Configs []*v12.DocumentConfig `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"`
// contains filtered or unexported fields
}
Documents is a collection of named Document Database configurations.
func (*Documents) Descriptor
deprecated
func (*Documents) GetConfigs ¶
func (x *Documents) GetConfigs() []*v12.DocumentConfig
func (*Documents) GetDefault ¶
func (*Documents) ProtoMessage ¶
func (*Documents) ProtoMessage()
func (*Documents) ProtoReflect ¶
func (x *Documents) ProtoReflect() protoreflect.Message
func (*Documents) Validate ¶
Validate checks the field values on Documents 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 (*Documents) ValidateAll ¶
ValidateAll checks the field values on Documents 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 DocumentsMultiError, or nil if none found.
type DocumentsMultiError ¶
type DocumentsMultiError []error
DocumentsMultiError is an error wrapping multiple validation errors returned by Documents.ValidateAll() if the designated constraints aren't met.
func (DocumentsMultiError) AllErrors ¶
func (m DocumentsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentsMultiError) Error ¶
func (m DocumentsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentsValidationError ¶
type DocumentsValidationError struct {
// contains filtered or unexported fields
}
DocumentsValidationError is the validation error returned by Documents.Validate if the designated constraints aren't met.
func (DocumentsValidationError) Cause ¶
func (e DocumentsValidationError) Cause() error
Cause function returns cause value.
func (DocumentsValidationError) Error ¶
func (e DocumentsValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentsValidationError) ErrorName ¶
func (e DocumentsValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentsValidationError) Field ¶
func (e DocumentsValidationError) Field() string
Field function returns field value.
func (DocumentsValidationError) Key ¶
func (e DocumentsValidationError) Key() bool
Key function returns key value.
func (DocumentsValidationError) Reason ¶
func (e DocumentsValidationError) Reason() string
Reason function returns reason value.
type ObjectStores ¶ added in v0.2.13
type ObjectStores struct {
// Default filestore name.
Default *string `protobuf:"bytes,1,opt,name=default,proto3,oneof" json:"default,omitempty"`
// Active filestore name, overrides default.
Active *string `protobuf:"bytes,2,opt,name=active,proto3,oneof" json:"active,omitempty"`
// List of named FileStore configurations.
Configs []*v1.ObjectStoreConfig `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"`
// contains filtered or unexported fields
}
FileStores is a collection of named FileStore configurations.
func (*ObjectStores) Descriptor
deprecated
added in
v0.2.13
func (*ObjectStores) Descriptor() ([]byte, []int)
Deprecated: Use ObjectStores.ProtoReflect.Descriptor instead.
func (*ObjectStores) GetActive ¶ added in v0.2.13
func (x *ObjectStores) GetActive() string
func (*ObjectStores) GetConfigs ¶ added in v0.2.13
func (x *ObjectStores) GetConfigs() []*v1.ObjectStoreConfig
func (*ObjectStores) GetDefault ¶ added in v0.2.13
func (x *ObjectStores) GetDefault() string
func (*ObjectStores) ProtoMessage ¶ added in v0.2.13
func (*ObjectStores) ProtoMessage()
func (*ObjectStores) ProtoReflect ¶ added in v0.2.13
func (x *ObjectStores) ProtoReflect() protoreflect.Message
func (*ObjectStores) Reset ¶ added in v0.2.13
func (x *ObjectStores) Reset()
func (*ObjectStores) String ¶ added in v0.2.13
func (x *ObjectStores) String() string
func (*ObjectStores) Validate ¶ added in v0.2.13
func (m *ObjectStores) Validate() error
Validate checks the field values on ObjectStores 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 (*ObjectStores) ValidateAll ¶ added in v0.2.13
func (m *ObjectStores) ValidateAll() error
ValidateAll checks the field values on ObjectStores 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 ObjectStoresMultiError, or nil if none found.
type ObjectStoresMultiError ¶ added in v0.2.13
type ObjectStoresMultiError []error
ObjectStoresMultiError is an error wrapping multiple validation errors returned by ObjectStores.ValidateAll() if the designated constraints aren't met.
func (ObjectStoresMultiError) AllErrors ¶ added in v0.2.13
func (m ObjectStoresMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectStoresMultiError) Error ¶ added in v0.2.13
func (m ObjectStoresMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectStoresValidationError ¶ added in v0.2.13
type ObjectStoresValidationError struct {
// contains filtered or unexported fields
}
ObjectStoresValidationError is the validation error returned by ObjectStores.Validate if the designated constraints aren't met.
func (ObjectStoresValidationError) Cause ¶ added in v0.2.13
func (e ObjectStoresValidationError) Cause() error
Cause function returns cause value.
func (ObjectStoresValidationError) Error ¶ added in v0.2.13
func (e ObjectStoresValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectStoresValidationError) ErrorName ¶ added in v0.2.13
func (e ObjectStoresValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectStoresValidationError) Field ¶ added in v0.2.13
func (e ObjectStoresValidationError) Field() string
Field function returns field value.
func (ObjectStoresValidationError) Key ¶ added in v0.2.13
func (e ObjectStoresValidationError) Key() bool
Key function returns key value.
func (ObjectStoresValidationError) Reason ¶ added in v0.2.13
func (e ObjectStoresValidationError) Reason() string
Reason function returns reason value.