placements

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 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/"
)

Variables

This section is empty.

Functions

func DoDelete

func DoDelete(
	endpoint string,
	service 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,
	service 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