package
0.0.0-20250311203337-809a69aa9717
Repository: https://github.com/arangodb/kube-arangodb.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
CleanNumberOfServers removes the server count.
CreateArangodClient creates a go-driver client for a specific member in the given group.
CreateArangodDatabaseClient creates a go-driver client for accessing the entire cluster (or single server).
CreateArangodImageIDClient creates a go-driver client for an ArangoDB instance running in an Image-ID pod.
GetNumberOfServers fetches the number of servers the cluster wants to have.
No description provided by the author
IsDBServerEmpty checks if the dbserver identified by the given ID no longer has any data on it.
IsKeyNotFound returns true if the given error is (or is caused by) a KeyNotFoundError.
IsNotLeader returns true if the given error is (or is caused by) a NotLeaderError.
IsServerAvailable returns true when server is available.
RemoveServerFromCluster tries to remove a coordinator or DBServer from the cluster.
SetNumberOfServers updates the number of servers the cluster has.
WithRequireAuthentication prepares a context that when given to functions in this file will fail when authentication is not available.
WithSkipAuthentication prepares a context that when given to functions in this file will avoid creating any authentication for arango clients.
# Variables
No description provided by the author
# Structs
NotLeaderError indicates the response of an agent when it is not the leader of the agency.
NumberOfServers is the JSON structure return for the numberOfServers API call.