restapi

package
v3.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RESTPrefix is versioned prefix for REST urls.
	RESTPrefix = "/contiv/v1/"

	// RestURLNodeIPAllocations is versioned URL for the node IPAM allocations REST endpoint.
	RestURLNodeIPAllocations = RESTPrefix + "ipam/allocations"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeIPAllocations

type NodeIPAllocations struct {
	Pods []PodIPAllocation
}

NodeIPAllocations represents runtime IP allocation info about the current node.

type PodIPAllocation

type PodIPAllocation struct {
	PodID       pod.ID
	MainIP      net.IP
	CustomIfIPs map[string]net.IP
}

PodIPAllocation represents IP allocation info about a pod.

Jump to

Keyboard shortcuts

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