provider

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(name string) (factory, error)

Factory returns the provider factory

Types

type Provider

type Provider interface {
	// ContainerConfig returns the container configuration
	ContainerConfig() *container.Config
	// ContainerHostConfig returns the container host configuration
	ContainerHostConfig() *container.HostConfig
	// PortKey returns the port key
	PortKey() nat.Port
	// DataSourceName returns the data source name
	DataSourceName(port nat.PortBinding) string
}

Provider defines the behaviours of the provider

Jump to

Keyboard shortcuts

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