models

package
v0.0.0-...-92a250d Latest Latest
Warning

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

Go to latest
Published: May 12, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNIAddPayload

type CNIAddPayload struct {
	Args               string         `json:"args"`
	ContainerNamespace string         `json:"container_namespace"`
	InterfaceName      string         `json:"interface_name"`
	IPAM               types.Result   `json:"ipam"`
	Network            NetworkPayload `json:"network"`
	ContainerID        string         `json:"container_id"`
}

type CNIDelPayload

type CNIDelPayload struct {
	InterfaceName      string `json:"interface_name"`
	ContainerNamespace string `json:"container_namespace"`
	ContainerID        string `json:"container_id"`
}

type Container

type Container struct {
	ID          string `json:"id"`
	IP          string `json:"ip"`
	MAC         string `json:"mac"`
	HostIP      string `json:"host_ip" db:"host_ip"`
	NetworkID   string `json:"network_id" db:"network_id"`
	SandboxName string `json:"sandbox_name" db:"sandbox_name"`
	App         string `json:"app" db:"app"`
}

type NetworkPayload

type NetworkPayload struct {
	Properties Properties `json:"properties,omitempty"`
}

type Properties

type Properties struct {
	AppID   string `json:"app_id"`
	SpaceID string `json:"space_id"`
}

Jump to

Keyboard shortcuts

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