namespaces

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultPath is the default url path for the namespace api calls
	DefaultPath = "/api/v1/services/m3db/namespace"
	// DebugQS this is the query string to activate debug output in api responses
	DebugQS = "debug=true"
)

Variables

This section is empty.

Functions

func DoDelete

func DoDelete(
	endpoint string,
	headers map[string]string,
	nsName string,
	logger *zap.Logger,
) ([]byte, error)

DoDelete calls the delete namespaces api on the backend

func DoGet

func DoGet(
	endpoint string,
	headers map[string]string,
	logger *zap.Logger,
) ([]byte, error)

DoGet calls the backend get namespace api

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL