Documentation
¶
Index ¶
- func FillAll(cmd *cobra.Command, f ...Fill) error
- type Database
- func (d *Database) DatabaseClient(endpoint Endpoint) cache.Object[arangodb.Client]
- func (d *Database) KVCollection(endpoint Endpoint, database, collection string) cache.Object[arangodb.Collection]
- func (d *Database) KVCollectionFromClient(clientO cache.Object[arangodb.Client], database, collection string) cache.Object[arangodb.Collection]
- func (d *Database) New(cmd *cobra.Command) error
- func (d *Database) Validate() error
- type Endpoint
- type Fill
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Database ¶
type Database struct { Proto string Endpoint string Port int ReplicationFactor int WriteConcern int }
func (*Database) DatabaseClient ¶
func (*Database) KVCollection ¶
func (*Database) KVCollectionFromClient ¶
type Endpoint ¶
type Endpoint struct {
Address string
}
func (*Endpoint) AuthClient ¶
func (e *Endpoint) AuthClient() cache.Object[pbAuthenticationV1.AuthenticationV1Client]
Click to show internal directories.
Click to hide internal directories.