Documentation ¶
Overview ¶
Package pairs intend to provide all available pairs.
Code generated by go generate internal/cmd/pairs; DO NOT EDIT.
Index ¶
- Constants
- func WithChecksum(v string) *types.Pair
- func WithCredential(v *credential.Provider) *types.Pair
- func WithDirFunc(v types.ObjectFunc) *types.Pair
- func WithEndpoint(v endpoint.Provider) *types.Pair
- func WithExpire(v int) *types.Pair
- func WithFileFunc(v types.ObjectFunc) *types.Pair
- func WithLocation(v string) *types.Pair
- func WithName(v string) *types.Pair
- func WithOffset(v int64) *types.Pair
- func WithPartSize(v int64) *types.Pair
- func WithProject(v string) *types.Pair
- func WithSegmentFunc(v segment.Func) *types.Pair
- func WithSize(v int64) *types.Pair
- func WithStorageClass(v string) *types.Pair
- func WithStoragerFunc(v storage.StoragerFunc) *types.Pair
- func WithType(v string) *types.Pair
- func WithWorkDir(v string) *types.Pair
Constants ¶
const ( Checksum = "checksum" Credential = "credential" DirFunc = "dir_func" Endpoint = "endpoint" Expire = "expire" FileFunc = "file_func" Location = "location" Name = "name" Offset = "offset" PartSize = "part_size" Project = "project" SegmentFunc = "segment_func" Size = "size" StorageClass = "storage_class" StoragerFunc = "storager_func" Type = "type" WorkDir = "work_dir" )
All available pairs.
Variables ¶
This section is empty.
Functions ¶
func WithChecksum ¶
WithChecksum will apply checksum value to Options
func WithCredential ¶
func WithCredential(v *credential.Provider) *types.Pair
WithCredential will apply credential value to Options
func WithDirFunc ¶
func WithDirFunc(v types.ObjectFunc) *types.Pair
WithDirFunc will apply dir_func value to Options
func WithEndpoint ¶
WithEndpoint will apply endpoint value to Options
func WithFileFunc ¶
func WithFileFunc(v types.ObjectFunc) *types.Pair
WithFileFunc will apply file_func value to Options
func WithLocation ¶
WithLocation will apply location value to Options
func WithOffset ¶
WithOffset will apply offset value to Options
func WithPartSize ¶
WithPartSize will apply part_size value to Options
func WithProject ¶ added in v0.5.0
WithProject will apply project value to Options
func WithSegmentFunc ¶
WithSegmentFunc will apply segment_func value to Options
func WithStorageClass ¶
WithStorageClass will apply storage_class value to Options
func WithStoragerFunc ¶
func WithStoragerFunc(v storage.StoragerFunc) *types.Pair
WithStoragerFunc will apply storager_func value to Options
func WithWorkDir ¶
WithWorkDir will apply work_dir value to Options
Types ¶
This section is empty.