embeddedetcd

package
v0.25.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

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

type Config

type Config struct {
	*embed.Config
}

func NewConfig

func NewConfig(o options.CompletedOptions, enableWatchCache bool) (*Config, error)

func (*Config) Complete

func (c *Config) Complete() CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type Server

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

func NewServer

func NewServer(config CompletedConfig) *Server

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run starts the embedded etcd server. It blocks until it is ready for up to a minute.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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