Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocState ¶
type AllocState struct {
// contains filtered or unexported fields
}
func NewAllocState ¶
func NewAllocState() *AllocState
func (*AllocState) Alloc ¶
func (r *AllocState) Alloc(ctx context.Context, server *schema.Server, allocator []AllocatorFunc, n *schema.Node, k int) (pkggraph.ValueWithPath, error)
type AllocatorFunc ¶
func MakePortAllocator ¶
func MakePortAllocator(server *schema.Server, portRange PortRange, allocs *PortAllocations) AllocatorFunc
type PortAllocations ¶
type PortAllocations struct {
Ports []*schema.Endpoint_Port
}
Click to show internal directories.
Click to hide internal directories.