shared

package
v0.30.5 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyStatus

ApplyStatus is used by clients that don't support patch updates to resource statuses (e.g. consul, files, in-memory)

func GetJsonPatchData

func GetJsonPatchData(inputResource resources.InputResource) ([]byte, error)

GetJsonPatchData returns the json patch data for the input resource. Prefer using json patch for single api call status updates when supported (e.g. k8s) to avoid ratelimiting to the k8s apiserver (e.g. https://github.com/solo-io/gloo/blob/a083522af0a4ce22f4d2adf3a02470f782d5a865/projects/gloo/api/v1/settings.proto#L337-L350)

Types

This section is empty.

Jump to

Keyboard shortcuts

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