package provider

import "github.com/docker/cli/components/engine/daemon/cluster/provider"

Index

Types

type NetworkCreateRequest

type NetworkCreateRequest struct {
	ID string
	types.NetworkCreateRequest
}

NetworkCreateRequest is a request when creating a network.

type NetworkCreateResponse

type NetworkCreateResponse struct {
	ID string `json:"Id"`
}

NetworkCreateResponse is a response when creating a network.

type PortConfig

type PortConfig struct {
	Name          string
	Protocol      int32
	TargetPort    uint32
	PublishedPort uint32
}

PortConfig represents a port configuration.

type ServiceConfig

type ServiceConfig struct {
	ID               string
	Name             string
	Aliases          map[string][]string
	VirtualAddresses map[string]*VirtualAddress
	ExposedPorts     []*PortConfig
}

ServiceConfig represents a service configuration.

type VirtualAddress

type VirtualAddress struct {
	IPv4 string
	IPv6 string
}

VirtualAddress represents a virtual address.

Source Files

network.go

Version
v17.10.0-ce-rc2+incompatible
Published
Oct 12, 2017
Platform
js/wasm
Imports
1 packages
Last checked
now

Tools for package owners.