datav1

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Deprecated: Use Caches.ProtoReflect.Descriptor instead.

func (*Caches) GetActive

func (x *Caches) GetActive() string

func (*Caches) GetConfigs

func (x *Caches) GetConfigs() []*v11.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.
	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) 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) 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) 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 []*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) Descriptor() ([]byte, []int)

Deprecated: Use Databases.ProtoReflect.Descriptor instead.

func (*Databases) GetActive

func (x *Databases) GetActive() string

func (*Databases) GetConfigs

func (x *Databases) GetConfigs() []*v12.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 []*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) Descriptor() ([]byte, []int)

Deprecated: Use Documents.ProtoReflect.Descriptor instead.

func (*Documents) GetActive

func (x *Documents) GetActive() string

func (*Documents) GetConfigs

func (x *Documents) GetConfigs() []*v12.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 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

Cause function returns cause value.

func (ObjectStoresValidationError) Error added in v0.2.13

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

Field function returns field value.

func (ObjectStoresValidationError) Key added in v0.2.13

Key function returns key value.

func (ObjectStoresValidationError) Reason added in v0.2.13

Reason function returns reason value.

Jump to

Keyboard shortcuts

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