placements

package
v0.15.9 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultPath is the url path for api calls for placements
	DefaultPath = "/api/v1/services/m3db/placement"
)

Variables

This section is empty.

Functions

func DoDelete

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

DoDelete does the delete api calls for placements

func DoGet

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

DoGet calls the backend api for get placements

Types

This section is empty.

Jump to

Keyboard shortcuts

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