Documentation ¶
Index ¶
Constants ¶
View Source
const MaxConfigSize = 1024 * 1024
ConfigMap/etcd only supports data payload of up to 1MB, which limits the size of the config that can be can be uploaded (after compression). https://github.com/kubernetes/kubernetes/issues/19781
Variables ¶
This section is empty.
Functions ¶
func NewArchive ¶
Types ¶
type MaxSizeError ¶
type MaxSizeError int64
func (MaxSizeError) Error ¶
func (m MaxSizeError) Error() string
type MaxWriter ¶
type MaxWriter struct {
// contains filtered or unexported fields
}
MaxWriter implements Writer, wraps another Writer implementation, recording the number of bytes written, reporting an error when the total bytes written exceeds a given number. If max size is zero then no error will be reported.
Click to show internal directories.
Click to hide internal directories.