compress

package
v1.16.10 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CompressedKey   = "gloo.solo.io/compress"
	CompressedValue = "true"

	ShortenKey              = "gloo.solo.io/maxStatusSize"
	MaxLengthWarningMessage = "\nStatus truncated, see logs for details."
)

Variables

This section is empty.

Functions

func GetMaxStatusSizeBytes added in v1.8.28

func GetMaxStatusSizeBytes(in resources.Resource) int64

func MarshalSpec

func MarshalSpec(in resources.Resource) (v1.Spec, error)

func MarshalStatus

func MarshalStatus(in resources.InputResource) (v1.Status, error)

func SetMaxStatusSizeBytes added in v1.8.28

func SetMaxStatusSizeBytes(in resources.Resource, maxStatusSize string) error

func SetShouldCompressed

func SetShouldCompressed(in resources.Resource)

func UnmarshalSpec

func UnmarshalSpec(in resources.Resource, spec v1.Spec) error

func UnmarshalStatus

func UnmarshalStatus(in resources.InputResource, status v1.Status, unmarshaler resources.StatusUnmarshaler)

Types

This section is empty.

Jump to

Keyboard shortcuts

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