test

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Preset

func Preset(opts ...Option) gnomock.Preset

Types

type Option

type Option func(preset *WeaviatePreset)

func WithEnvVars

func WithEnvVars(envVars map[string]string) Option

func WithVersion

func WithVersion(version string) Option

type WeaviatePreset

type WeaviatePreset struct {
	Version string            `json:"version"`
	EnvVars map[string]string `json:"envVars"`
}

func (*WeaviatePreset) Image

func (w *WeaviatePreset) Image() string

func (*WeaviatePreset) Options

func (w *WeaviatePreset) Options() []gnomock.Option

func (*WeaviatePreset) Ports

func (w *WeaviatePreset) Ports() gnomock.NamedPorts

Jump to

Keyboard shortcuts

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