index

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachedResolver

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

func NewCachedResolver

func NewCachedResolver(resolver Resolver) *CachedResolver

func (*CachedResolver) Resolve

func (i *CachedResolver) Resolve(ctx context.Context, obj string) (string, error)

type IndexS3Resolver

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

func NewIndexS3Resolver

func NewIndexS3Resolver(client s3ClientInterface, bucket string) *IndexS3Resolver

func (*IndexS3Resolver) Resolve

func (i *IndexS3Resolver) Resolve(ctx context.Context, obj string) (string, error)

type Resolver

type Resolver interface {
	Resolve(context.Context, string) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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