asset

package
v1.85.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Asset

type Asset struct {
	Name      string
	AssetType string `json:"asset_type,omitempty"`
	Ancestors []string
}

type Stream

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

func NewStream

func NewStream(r io.Reader) *Stream

func NewStreamFromFile

func NewStreamFromFile(filePath string) (*Stream, error)

func NewStreamFromStorageObject

func NewStreamFromStorageObject(ctx context.Context, httpClient *http.Client, bucketName, objectName string) (*Stream, error)

func (*Stream) Close

func (a *Stream) Close() error

func (*Stream) Next

func (a *Stream) Next() (*Asset, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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