output

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintBadRequestError

func PrintBadRequestError(respErr *apierrors.BadRequest) error

func PrintForbiddenError

func PrintForbiddenError(respErr *apierrors.Forbidden) error

func PrintNotAcceptableError

func PrintNotAcceptableError(respErr *apierrors.NotAcceptable) error

func PrintNotFoundError

func PrintNotFoundError(respErr *apierrors.NotFound) error

func PrintUnauthorizedError

func PrintUnauthorizedError(respErr *apierrors.Unauthorized) error

func PrintUnprocessableEntityError

func PrintUnprocessableEntityError(respErr *apierrors.UnprocessableEntity) error

func RenderAsJSON added in v1.4.7

func RenderAsJSON(data interface{}) error

RenderAsJSON marshals and renders any data structure as pretty JSON

func RenderJSON

func RenderJSON(JSONResult []byte) error

func SuccessfulDeletion

func SuccessfulDeletion(resource string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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