pairs

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package pairs intend to provide all available pairs.

Code generated by go generate internal/cmd/pairs; DO NOT EDIT.

Index

Constants

View Source
const (
	Checksum         = "checksum"
	Context          = "context"
	Credential       = "credential"
	DirFunc          = "dir_func"
	Endpoint         = "endpoint"
	Expire           = "expire"
	FileFunc         = "file_func"
	Location         = "location"
	Name             = "name"
	ObjectFunc       = "object_func"
	Offset           = "offset"
	PartSize         = "part_size"
	Project          = "project"
	ReadCallbackFunc = "read_callback_func"
	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

func WithChecksum(v string) *types.Pair

WithChecksum will apply checksum value to Options

func WithContext added in v0.6.0

func WithContext(v context.Context) *types.Pair

WithContext will apply context 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

func WithEndpoint(v endpoint.Provider) *types.Pair

WithEndpoint will apply endpoint value to Options

func WithExpire

func WithExpire(v int) *types.Pair

WithExpire will apply expire value to Options

func WithFileFunc

func WithFileFunc(v types.ObjectFunc) *types.Pair

WithFileFunc will apply file_func value to Options

func WithLocation

func WithLocation(v string) *types.Pair

WithLocation will apply location value to Options

func WithName

func WithName(v string) *types.Pair

WithName will apply name value to Options

func WithObjectFunc added in v0.7.2

func WithObjectFunc(v types.ObjectFunc) *types.Pair

WithObjectFunc will apply object_func value to Options

func WithOffset

func WithOffset(v int64) *types.Pair

WithOffset will apply offset value to Options

func WithPartSize

func WithPartSize(v int64) *types.Pair

WithPartSize will apply part_size value to Options

func WithProject added in v0.5.0

func WithProject(v string) *types.Pair

WithProject will apply project value to Options

func WithReadCallbackFunc added in v0.7.0

func WithReadCallbackFunc(v func([]byte)) *types.Pair

WithReadCallbackFunc will apply read_callback_func value to Options

func WithSegmentFunc

func WithSegmentFunc(v segment.Func) *types.Pair

WithSegmentFunc will apply segment_func value to Options

func WithSize

func WithSize(v int64) *types.Pair

WithSize will apply size value to Options

func WithStorageClass

func WithStorageClass(v storageclass.Type) *types.Pair

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 WithType

func WithType(v string) *types.Pair

WithType will apply type value to Options

func WithWorkDir

func WithWorkDir(v string) *types.Pair

WithWorkDir will apply work_dir value to Options

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL