package
0.0.0-20191121140916-9649366ff4b2
Repository: https://github.com/chronosphereiox/m3.git
Documentation: pkg.go.dev
# Functions
Metadata returns the current metadata in the given store and its version.
NewAddHandler returns a new instance of AddHandler.
NewDeleteHandler returns a new instance of DeleteHandler.
NewGetHandler returns a new instance of GetHandler.
NewSchemaHandler returns a new instance of SchemaHandler.
NewSchemaResetHandler returns a new instance of SchemaHandler.
RegisterRoutes registers the namespace routes.
# Constants
DeleteHTTPMethod is the HTTP method used with this resource.
M3DBNodeNamespacesKey is the KV key that holds namespaces.
M3DBServiceName is the service name for M3DB.
NamespacePathName is the namespace part of the API path.
SchemaPathName is the schema part of the API path.
ServicesPathName is the services part of the API path.
# Variables
AddHTTPMethod is the HTTP method used with this resource.
DeprecatedM3DBAddURL is the old url for the namespace add handler, maintained for backwards compatibility.
DeprecatedM3DBDeleteURL is the deprecated url for the M3DB namespace delete handler.
DeprecatedM3DBGetURL is the deprecated url for the namespace get handler (with the GET method).
GetHTTPMethod is the HTTP method used with this resource.
M3DBAddURL is the url for the M3DB namespace add handler.
M3DBDeleteURL is the url for the M3DB namespace delete handler.
M3DBGetURL is the url for the namespace get handler (with the GET method).
M3DBSchemaURL is the url for the M3DB schema handler.
M3DBServiceNamespacePathName is the M3DB service namespace API path.
M3DBServiceSchemaPathName is the M3DB service schema API path.
SchemaDeployHTTPMethod is the HTTP method used to append to this resource.
# Type aliases
AddHandler is the handler for namespace adds.
DeleteHandler is the handler for namespace deletes.
GetHandler is the handler for namespace gets.
SchemaHandler is the handler for namespace schema upserts.
SchemaResetHandler is the handler for namespace schema reset.