server

package
v0.0.0-...-5b11e35 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminResponse

func AdminResponse(kit kubefox.Kit, content *sdkadmin.Response) error

func BadRequest

func BadRequest(kit kubefox.Kit, status int, u uri.URI, err error) error

func Conflict

func Conflict(kit kubefox.Kit, u uri.URI) error

func CreatedResp

func CreatedResp(kit kubefox.Kit, u uri.URI, obj any) error

func DeletedResp

func DeletedResp(kit kubefox.Kit, u uri.URI) error

func Err

func Err(kit kubefox.Kit, u uri.URI, err error) error

func InvalidResource

func InvalidResource(kit kubefox.Kit, u uri.URI, err any) error

func ListErr

func ListErr(kit kubefox.Kit, u uri.URI, err error) error

func Listed

func Listed[T any](kit kubefox.Kit, u uri.URI, list []T) error

func New

func New(client *client.Client, log *logger.Log) *server

func NotFound

func NotFound(kit kubefox.Kit, u uri.URI) error

func PatchedResp

func PatchedResp(kit kubefox.Kit, u uri.URI) error

func PutResp

func PutResp(kit kubefox.Kit, u uri.URI) error

func Required

func Required(kit kubefox.Kit, u uri.URI, ownerId fmt.Stringer) error

func RetrievedResp

func RetrievedResp(kit kubefox.Kit, u uri.URI, obj any) error

func UnknownErr

func UnknownErr(kit kubefox.Kit, u uri.URI, err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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