package
23.1.1+incompatible
Repository: https://github.com/dgraph-io/dgraph.git
Documentation: pkg.go.dev

# README

Run Tests Against Dgraph Cloud

Setup Env Variables

  1. set TEST_DGRAPH_CLOUD_CLUSTER_URL to the URL that the dgo client should use
  2. set TEST_DGRAPH_CLOUD_CLUSTER_TOKEN to one of API keys that you can generate on the Settings page on the cloud UI
  3. TEST_DGRAPH_CLOUD_ACL to false if ACLs are disabled. By default, ACLs are assumed to be enabled.

Schema Mode

The tests require the Schema Mode to be set to Flexible from the Settings page on the cloud UI.

Running Tests

go test -tags=cloud ./...

# Functions

No description provided by the author
CompareJSON compares two JSON objects (passed as strings).
IsHigherVersion checks whether "higher" is the higher version compared to "lower".
No description provided by the author
No description provided by the author
No description provided by the author
NewLocalCluster creates a new local dgraph cluster with given configuration.
No description provided by the author
ShouldSkipTest skips a given test if clusterVersion < minVersion.
WaitForRestore waits for restore to complete on all alphas.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GraphQLParams are used for making graphql requests to dgraph.
No description provided by the author
No description provided by the author
HTTPClient allows doing operations on Dgraph over http.
HttpToken stores credentials for making HTTP request.
No description provided by the author
LiveOpts are options that are used for running live loader.
LocalCluster is a local dgraph cluster.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

UpgradeStrategy is an Enum that defines various upgrade strategies.