Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MergeType ¶
type MergeType string
MergeType how to merge ConfigMap data.
const ( // Delete merge all keys (files) including removal of missing keys. Delete MergeType = "delete" // Upsert merge all keys (files) but don't remove missing keys from the repository. Upsert = "upsert" )
type Uploader ¶
type Uploader interface { // Upload files into config map tagged by commitID Upload(commitID string, iter FileIter) error }
Uploader uploading data to target.
func NewUploader ¶ added in v0.0.5
func NewUploader(lt LoadType, o UploaderOptions) (Uploader, error)
NewUploader create uploader of specific type.
type UploaderFactory ¶ added in v0.0.5
type UploaderFactory func(o UploaderOptions) (Uploader, error)
UploaderFactory factory constructing Uploaders.
Click to show internal directories.
Click to hide internal directories.