retriever

package
v0.0.0-...-85cd7ee Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Path string `yaml:"path"`
}

type Retriever

type Retriever struct {
	Type     RetrieverType `yaml:"type"`
	File     *File         `yaml:"file"`
	InMemory *InMemory     `yaml:"inMemory"`
}

func (*Retriever) Validate

func (c *Retriever) Validate() error

type RetrieverType

type RetrieverType string
const (
	FileType     RetrieverType = "file"
	InMemoryType RetrieverType = "inMemory"
)

type S3

type S3 struct {
	Bucket string `yaml:"uploadBucketName"`
}

func (*S3) Validation

func (c *S3) Validation() error

Jump to

Keyboard shortcuts

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