package
0.0.0-20180911130330-d3ccc4fb1d66
Repository: https://github.com/rglyons/kube-arangodb.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CleanoutServerJobStatus checks the status of a cleanout-server job with given ID.
CreateArangodAgencyClient creates a go-driver client for accessing the agents of the given deployment.
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.
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.
IsSameEndpoint returns true when the 2 given endpoints refer to the same server.
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

CleanoutJobStatus is a strongly typed status of an agency cleanout-server-job.
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.