Documentation ¶
Index ¶
- Constants
- func New(opts ...Option) (harness.Harness, error)
- type Option
- func WithAuthFromKeychain(registry string) Option
- func WithAuthFromStatic(registry, username, password, auth string) Option
- func WithEnvs(env ...string) Option
- func WithImageRef(ref name.Reference) Option
- func WithMounts(mounts ...mount.Mount) Option
- func WithName(name string) Option
- func WithNetworks(networks ...client.NetworkAttachment) Option
- func WithResources(req client.ResourcesRequest) Option
- func WithVolumes(volumes ...VolumeConfig) Option
- type RegistryAuthConfig
- type RegistryConfig
- type RegistryTlsConfig
- type VolumeConfig
Constants ¶
View Source
const DefaultDockerSocketPath = "/var/run/docker.sock"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*docker) error
func WithAuthFromKeychain ¶
func WithAuthFromStatic ¶
func WithImageRef ¶
func WithMounts ¶
func WithNetworks ¶
func WithNetworks(networks ...client.NetworkAttachment) Option
func WithResources ¶
func WithResources(req client.ResourcesRequest) Option
func WithVolumes ¶
func WithVolumes(volumes ...VolumeConfig) Option
type RegistryAuthConfig ¶
type RegistryConfig ¶
type RegistryConfig struct { Auth *RegistryAuthConfig Tls *RegistryTlsConfig }
type RegistryTlsConfig ¶
type VolumeConfig ¶
Click to show internal directories.
Click to hide internal directories.