Documentation ¶ Index ¶ type Config type Opt func WithTag(tag string) Opt type Option func WithNetwork(network *docker.Network) Option type Resource func Setup(pool *dockertest.Pool, cln resource.Cleaner, opts ...Option) (*Resource, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Tag string } type Opt ¶ type Opt func(*Config) func WithTag ¶ func WithTag(tag string) Opt type Option ¶ added in v0.32.0 type Option func(*config) func WithNetwork ¶ added in v0.32.0 func WithNetwork(network *docker.Network) Option type Resource ¶ type Resource struct { Client *etcd.Client Hosts []string // HostsInNetwork is the list of ETCD hosts accessible from the provided Docker network (if any). HostsInNetwork []string Port int } func Setup ¶ func Setup(pool *dockertest.Pool, cln resource.Cleaner, opts ...Option) (*Resource, error) Source Files ¶ View all Source files config.go etcd.go Click to show internal directories. Click to hide internal directories.