shared

package
v0.0.0-...-7f2974b Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillAll

func FillAll(cmd *cobra.Command, f ...Fill) error

Types

type Database

type Database struct {
	Proto    string
	Endpoint string
	Port     int

	ReplicationFactor int
	WriteConcern      int
}

func (*Database) DatabaseClient

func (d *Database) DatabaseClient(endpoint Endpoint) cache.Object[arangodb.Client]

func (*Database) KVCollection

func (d *Database) KVCollection(endpoint Endpoint, database, collection string) cache.Object[arangodb.Collection]

func (*Database) KVCollectionFromClient

func (d *Database) KVCollectionFromClient(clientO cache.Object[arangodb.Client], database, collection string) cache.Object[arangodb.Collection]

func (*Database) New

func (d *Database) New(cmd *cobra.Command) error

func (*Database) Validate

func (d *Database) Validate() error

type Endpoint

type Endpoint struct {
	Address string
}

func (*Endpoint) AuthClient

func (*Endpoint) New

func (e *Endpoint) New(cmd *cobra.Command) error

func (*Endpoint) Validate

func (e *Endpoint) Validate() error

type Fill

type Fill interface {
	New(cmd *cobra.Command) error
}

Jump to

Keyboard shortcuts

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