Documentation ¶
Index ¶
- Constants
- func ConfirmMaxSliceSize[T any](t T, maxSize int) error
- func JSONMarshalIndentWithMax[T any](t T, indentSpaces int) ([]byte, error)
- func JSONMarshalWithMax[T any](t T) ([]byte, error)
- func JSONUnmarshalWithMax[T any](b []byte, t *T) error
- func YAMLMarshalWithMax[T any](t T) ([]byte, error)
- func YAMLUnmarshalWithMax[T any](b []byte, t *T) error
- type KeyInt
- type KeyString
Constants ¶
View Source
const MaxNumberOfObjectsToSerialize = 1000
Arbitrarily choosing 1000 jobs to serialize - this is a pretty high
View Source
const MaxSerializedStringInput = int(10 * datasize.MB)
Variables ¶
This section is empty.
Functions ¶
func ConfirmMaxSliceSize ¶
func JSONMarshalWithMax ¶
func JSONUnmarshalWithMax ¶
func YAMLMarshalWithMax ¶
func YAMLUnmarshalWithMax ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.