datav1

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Caches.ProtoReflect.Descriptor instead.

func (*Caches) GetActive

func (x *Caches) GetActive() string

func (*Caches) GetConfigs

func (x *Caches) GetConfigs() []*v1.CacheConfig

func (*Caches) GetDefault

func (x *Caches) GetDefault() string

func (*Caches) ProtoMessage

func (*Caches) ProtoMessage()

func (*Caches) ProtoReflect

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

func (*Caches) Reset

func (x *Caches) Reset()

func (*Caches) String

func (x *Caches) String() string

func (*Caches) Validate

func (m *Caches) Validate() error

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

func (m *Caches) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetCaches

func (x *Data) GetCaches() *Caches

func (*Data) GetCustomize

func (x *Data) GetCustomize() *structpb.Struct

func (*Data) GetDatabases

func (x *Data) GetDatabases() *Databases

func (*Data) GetDocuments

func (x *Data) GetDocuments() *Documents

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) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

func (*Data) Validate

func (m *Data) Validate() error

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

func (m *Data) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Databases.ProtoReflect.Descriptor instead.

func (*Databases) GetActive

func (x *Databases) GetActive() string

func (*Databases) GetConfigs

func (x *Databases) GetConfigs() []*v1.DatabaseConfig

func (*Databases) GetDefault

func (x *Databases) GetDefault() string

func (*Databases) ProtoMessage

func (*Databases) ProtoMessage()

func (*Databases) ProtoReflect

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

func (*Databases) Reset

func (x *Databases) Reset()

func (*Databases) String

func (x *Databases) String() string

func (*Databases) Validate

func (m *Databases) Validate() error

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

func (m *Databases) ValidateAll() error

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Documents.ProtoReflect.Descriptor instead.

func (*Documents) GetActive

func (x *Documents) GetActive() string

func (*Documents) GetConfigs

func (x *Documents) GetConfigs() []*v1.DocumentConfig

func (*Documents) GetDefault

func (x *Documents) GetDefault() string

func (*Documents) ProtoMessage

func (*Documents) ProtoMessage()

func (*Documents) ProtoReflect

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

func (*Documents) Reset

func (x *Documents) Reset()

func (*Documents) String

func (x *Documents) String() string

func (*Documents) Validate

func (m *Documents) Validate() error

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

func (m *Documents) ValidateAll() error

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

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

Error satisfies the builtin error interface

func (FileStoresValidationError) ErrorName

func (e FileStoresValidationError) ErrorName() string

ErrorName returns error name.

func (FileStoresValidationError) Field

Field function returns field value.

func (FileStoresValidationError) Key

Key function returns key value.

func (FileStoresValidationError) Reason

func (e FileStoresValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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