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 ¶ added in v0.2.12
func ParseIgnoreFile ¶ added in v0.2.12
func ParseIgnoreFile(rootPath string) []rule
Types ¶
type MaxSizeError ¶ added in v0.2.12
type MaxSizeError int64
func (MaxSizeError) Error ¶ added in v0.2.12
func (m MaxSizeError) Error() string
type MaxWriter ¶ added in v0.2.12
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.