docker

package
v1.24.11 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: BSD-3-Clause Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Weaviate      = "weaviate"
	WeaviateNode2 = "weaviate2"

	SecondWeaviate = "second-weaviate"
)
View Source
const Azurite = "azurite"
View Source
const GCS = "gcp-storage-emulator"
View Source
const Img2VecNeural = "img2vec-neural"
View Source
const MinIO = "test-minio"
View Source
const Multi2VecBind = "multi2vec-bind"
View Source
const Multi2VecCLIP = "multi2vec-clip"
View Source
const QnATransformers = "qna-transformers"
View Source
const (
	Ref2VecCentroid = "ref2vec-centroid"
)
View Source
const RerankerTransformers = "reranker-transformers"
View Source
const SUMTransformers = "sum-transformers"
View Source
const Text2VecContextionary = "text2vec-contextionary"
View Source
const Text2VecTransformers = "text2vec-transformers"

Variables

This section is empty.

Functions

This section is empty.

Types

type Compose

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

func New

func New() *Compose

func (*Compose) Start

func (d *Compose) Start(ctx context.Context) (*DockerCompose, error)

func (*Compose) WithAzurite added in v1.18.0

func (d *Compose) WithAzurite() *Compose

func (*Compose) WithBackendAzure added in v1.18.0

func (d *Compose) WithBackendAzure(container string) *Compose

func (*Compose) WithBackendFilesystem

func (d *Compose) WithBackendFilesystem() *Compose

func (*Compose) WithBackendGCS

func (d *Compose) WithBackendGCS(bucket string) *Compose

func (*Compose) WithBackendS3

func (d *Compose) WithBackendS3(bucket string) *Compose

func (*Compose) WithGCS

func (d *Compose) WithGCS() *Compose

func (*Compose) WithGenerativeAWS added in v1.22.5

func (d *Compose) WithGenerativeAWS() *Compose

func (*Compose) WithGenerativeAnyscale added in v1.23.0

func (d *Compose) WithGenerativeAnyscale() *Compose

func (*Compose) WithGenerativeCohere added in v1.20.0

func (d *Compose) WithGenerativeCohere() *Compose

func (*Compose) WithGenerativeOpenAI added in v1.20.0

func (d *Compose) WithGenerativeOpenAI() *Compose

func (*Compose) WithGenerativePaLM added in v1.20.0

func (d *Compose) WithGenerativePaLM(apiKey string) *Compose

func (*Compose) WithImg2VecNeural added in v1.20.0

func (d *Compose) WithImg2VecNeural() *Compose

func (*Compose) WithMinIO

func (d *Compose) WithMinIO() *Compose

func (*Compose) WithMulti2VecBind added in v1.24.0

func (d *Compose) WithMulti2VecBind() *Compose

func (*Compose) WithMulti2VecCLIP added in v1.18.2

func (d *Compose) WithMulti2VecCLIP() *Compose

func (*Compose) WithMulti2VecPaLM added in v1.24.5

func (d *Compose) WithMulti2VecPaLM(apiKey string) *Compose

func (*Compose) WithQnAOpenAI added in v1.20.0

func (d *Compose) WithQnAOpenAI() *Compose

func (*Compose) WithQnATransformers

func (d *Compose) WithQnATransformers() *Compose

func (*Compose) WithRef2VecCentroid

func (d *Compose) WithRef2VecCentroid() *Compose

func (*Compose) WithRerankerCohere added in v1.22.0

func (d *Compose) WithRerankerCohere() *Compose

func (*Compose) WithRerankerTransformers added in v1.21.0

func (d *Compose) WithRerankerTransformers() *Compose

func (*Compose) WithRerankerVoyageAI added in v1.24.7

func (d *Compose) WithRerankerVoyageAI() *Compose

func (*Compose) WithSUMTransformers

func (d *Compose) WithSUMTransformers() *Compose

func (*Compose) WithSecondWeaviate added in v1.22.0

func (d *Compose) WithSecondWeaviate() *Compose

func (*Compose) WithText2VecAWS added in v1.23.0

func (d *Compose) WithText2VecAWS() *Compose

func (*Compose) WithText2VecCohere added in v1.20.0

func (d *Compose) WithText2VecCohere() *Compose

func (*Compose) WithText2VecContextionary

func (d *Compose) WithText2VecContextionary() *Compose

func (*Compose) WithText2VecHuggingFace added in v1.22.0

func (d *Compose) WithText2VecHuggingFace() *Compose

func (*Compose) WithText2VecOpenAI added in v1.20.0

func (d *Compose) WithText2VecOpenAI() *Compose

func (*Compose) WithText2VecPaLM added in v1.20.0

func (d *Compose) WithText2VecPaLM(apiKey string) *Compose

func (*Compose) WithText2VecTransformers

func (d *Compose) WithText2VecTransformers() *Compose

func (*Compose) WithText2VecVoyageAI added in v1.24.2

func (d *Compose) WithText2VecVoyageAI() *Compose

func (*Compose) WithWeaviate

func (d *Compose) WithWeaviate() *Compose

func (*Compose) WithWeaviateAuth added in v1.18.1

func (d *Compose) WithWeaviateAuth() *Compose

func (*Compose) WithWeaviateCluster

func (d *Compose) WithWeaviateCluster() *Compose

func (*Compose) WithWeaviateClusterWithBasicAuth added in v1.21.2

func (d *Compose) WithWeaviateClusterWithBasicAuth(username, password string) *Compose

func (*Compose) WithWeaviateClusterWithGRPC added in v1.23.0

func (d *Compose) WithWeaviateClusterWithGRPC() *Compose

func (*Compose) WithWeaviateEnv added in v1.24.0

func (d *Compose) WithWeaviateEnv(name, value string) *Compose

func (*Compose) WithWeaviateWithGRPC added in v1.23.0

func (d *Compose) WithWeaviateWithGRPC() *Compose

type DockerCompose

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

func (*DockerCompose) Containers

func (d *DockerCompose) Containers() []*DockerContainer

func (*DockerCompose) GetAzurite added in v1.18.0

func (d *DockerCompose) GetAzurite() *DockerContainer

func (*DockerCompose) GetGCS

func (d *DockerCompose) GetGCS() *DockerContainer

func (*DockerCompose) GetMinIO

func (d *DockerCompose) GetMinIO() *DockerContainer

func (*DockerCompose) GetQnATransformers

func (d *DockerCompose) GetQnATransformers() *DockerContainer

func (*DockerCompose) GetSecondWeaviate added in v1.22.0

func (d *DockerCompose) GetSecondWeaviate() *DockerContainer

func (*DockerCompose) GetText2VecContextionary

func (d *DockerCompose) GetText2VecContextionary() *DockerContainer

func (*DockerCompose) GetText2VecTransformers

func (d *DockerCompose) GetText2VecTransformers() *DockerContainer

func (*DockerCompose) GetWeaviate

func (d *DockerCompose) GetWeaviate() *DockerContainer

func (*DockerCompose) GetWeaviateNode2

func (d *DockerCompose) GetWeaviateNode2() *DockerContainer

func (*DockerCompose) Start

func (d *DockerCompose) Start(ctx context.Context, container string) error

func (*DockerCompose) Stop

func (d *DockerCompose) Stop(ctx context.Context, container string, timeout *time.Duration) error

func (*DockerCompose) Terminate

func (d *DockerCompose) Terminate(ctx context.Context) error

type DockerContainer

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

func (*DockerContainer) GetEndpoint added in v1.22.6

func (d *DockerContainer) GetEndpoint(name EndpointName) string

func (*DockerContainer) Name

func (d *DockerContainer) Name() string

func (*DockerContainer) URI

func (d *DockerContainer) URI() string

type EndpointName added in v1.22.6

type EndpointName string
var (
	HTTP EndpointName = "http"
	GRPC EndpointName = "grpc"
)

Jump to

Keyboard shortcuts

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