textblob

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	COMPRESSION   = datablob.COMPRESSION
	DECOMPRESSION = datablob.DECOMPRESSION
	NONE          = datablob.NONE
)

Variables

This section is empty.

Functions

func Access

func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx ocm.Context, meta P, blob string, opts ...Option) cpi.ArtifactAccess[M]

func ResourceAccess

func ResourceAccess(ctx ocm.Context, meta *ocm.ResourceMeta, blob string, opts ...Option) cpi.ResourceAccess

func SourceAccess

func SourceAccess(ctx ocm.Context, meta *ocm.SourceMeta, blob string, opts ...Option) cpi.SourceAccess

Types

type Option

type Option = datablob.Option

func WithCompression

func WithCompression() Option

func WithDecompression

func WithDecompression() Option

func WithGlobalAccess

func WithGlobalAccess(a cpi.AccessSpec) Option

func WithHint

func WithHint(h string) Option

func WithMimeType added in v0.11.0

func WithMimeType(mime string) Option

type Options

type Options = datablob.Options

Jump to

Keyboard shortcuts

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