Documentation
¶
Index ¶
- Variables
- type Caches
- func (*Caches) Descriptor() ([]byte, []int)deprecated
- func (x *Caches) GetActive() string
- func (x *Caches) GetConfigs() []*v1.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) GetFilestores() *FileStores
- 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() []*v1.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() []*v1.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 FileStores
- func (*FileStores) Descriptor() ([]byte, []int)deprecated
- func (x *FileStores) GetActive() string
- func (x *FileStores) GetConfigs() []*v1.FileStoreConfig
- func (x *FileStores) GetDefault() string
- func (*FileStores) ProtoMessage()
- func (x *FileStores) ProtoReflect() protoreflect.Message
- func (x *FileStores) Reset()
- func (x *FileStores) String() string
- func (m *FileStores) Validate() error
- func (m *FileStores) ValidateAll() error
- type FileStoresMultiError
- type FileStoresValidationError
Constants ¶
This section is empty.
Variables ¶
var File_runtime_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 []*v1.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() []*v1.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.
Filestores *FileStores `protobuf:"bytes,1,opt,name=filestores,proto3,oneof" json:"filestores,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) GetFilestores ¶
func (x *Data) GetFilestores() *FileStores
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 []*v1.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() []*v1.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 []*v1.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() []*v1.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 FileStores ¶
type FileStores 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.FileStoreConfig `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"`
// contains filtered or unexported fields
}
FileStores is a collection of named FileStore configurations.
func (*FileStores) Descriptor
deprecated
func (*FileStores) Descriptor() ([]byte, []int)
Deprecated: Use FileStores.ProtoReflect.Descriptor instead.
func (*FileStores) GetActive ¶
func (x *FileStores) GetActive() string
func (*FileStores) GetConfigs ¶
func (x *FileStores) GetConfigs() []*v1.FileStoreConfig
func (*FileStores) GetDefault ¶
func (x *FileStores) GetDefault() string
func (*FileStores) ProtoMessage ¶
func (*FileStores) ProtoMessage()
func (*FileStores) ProtoReflect ¶
func (x *FileStores) ProtoReflect() protoreflect.Message
func (*FileStores) Reset ¶
func (x *FileStores) Reset()
func (*FileStores) String ¶
func (x *FileStores) String() string
func (*FileStores) Validate ¶
func (m *FileStores) Validate() error
Validate checks the field values on FileStores 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 (*FileStores) ValidateAll ¶
func (m *FileStores) ValidateAll() error
ValidateAll checks the field values on FileStores 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 FileStoresMultiError, or nil if none found.
type FileStoresMultiError ¶
type FileStoresMultiError []error
FileStoresMultiError is an error wrapping multiple validation errors returned by FileStores.ValidateAll() if the designated constraints aren't met.
func (FileStoresMultiError) AllErrors ¶
func (m FileStoresMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileStoresMultiError) Error ¶
func (m FileStoresMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileStoresValidationError ¶
type FileStoresValidationError struct {
// contains filtered or unexported fields
}
FileStoresValidationError is the validation error returned by FileStores.Validate if the designated constraints aren't met.
func (FileStoresValidationError) Cause ¶
func (e FileStoresValidationError) Cause() error
Cause function returns cause value.
func (FileStoresValidationError) Error ¶
func (e FileStoresValidationError) Error() string
Error satisfies the builtin error interface
func (FileStoresValidationError) ErrorName ¶
func (e FileStoresValidationError) ErrorName() string
ErrorName returns error name.
func (FileStoresValidationError) Field ¶
func (e FileStoresValidationError) Field() string
Field function returns field value.
func (FileStoresValidationError) Key ¶
func (e FileStoresValidationError) Key() bool
Key function returns key value.
func (FileStoresValidationError) Reason ¶
func (e FileStoresValidationError) Reason() string
Reason function returns reason value.