MCPcopy Create free account
hub / github.com/docker/go-plugins-helpers / EndpointSpec

Struct EndpointSpec

secrets/api.go:40–43  ·  view source on GitHub ↗

EndpointSpec represents the spec of an endpoint.

Source from the content-addressed store, hash-verified

38
39// EndpointSpec represents the spec of an endpoint.
40type EndpointSpec struct {
41 Mode int32 `json:",omitempty"`
42 Ports []PortConfig `json:",omitempty"`
43}
44
45// PortConfig represents the config of a port.
46type PortConfig struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected