file

package
v0.24.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(fs *pflag.FlagSet, fileOptions *Options)

Types

type Options

type Options struct {
	Path string `json:"path,omitempty"`
}

type Store

type Store struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore(options *Options) *Store

func (*Store) GetObject

func (s *Store) GetObject(_ context.Context) (io.ReadCloser, error)

func (*Store) PutObject

func (s *Store) PutObject(_ context.Context, body io.Reader) error

func (*Store) Target

func (s *Store) Target() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳