Versions in this module Expand all Collapse all v1 v1.3.0 Aug 16, 2024 Changes in this version + const DefaultChunkSize + const KeyChecksum + const KeyChunks + const KeyData + const KeyName + const KeyRevision + const LabelKeyComponent + const LabelKeyManagedBy + const LabelKeyName + const LabelKeyRevision + const LabelValComponent + const LabelValManagedBy + var ErrChecksumMismatch = errors.New("checksum mismatch") + var ErrInvalidHeaderFieldChecksum = errors.New("missing or invalid field in header secret: 'checksum'") + var ErrInvalidHeaderFieldChunks = errors.New("missing or invalid field in header secret: 'chunks'") + var ErrInvalidHeaderFieldName = errors.New("missing or invalid field in header secret: 'name'") + var ErrInvalidHeaderFieldRevision = errors.New("missing or invalid field in header secret: 'revision'") + var ErrNotFound = errors.New("not found") + type Blob struct + func New(opts Options) (blob *Blob, err error) + func (b *Blob) Delete(ctx context.Context) (err error) + func (b *Blob) Load(ctx context.Context) (buf []byte, err error) + func (b *Blob) Save(ctx context.Context, buf []byte) (err error) + type Options struct + ChunkSize int + Client *kubernetes.Clientset + Name string + Namespace string