models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2016 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNIAddResult

type CNIAddResult struct {
	ContainerID string `json:"container_id"`
	GroupID     string `json:"group_id"`
	IP          string `json:"ip"`
}

type CNIDelResult

type CNIDelResult struct {
	ContainerID string `json:"container_id"`
}

type Container

type Container struct {
	ID string
	IP string
}

type Destination

type Destination struct {
	ID       string `json:"id"`
	Port     int    `json:"port"`
	Protocol string `json:"protocol"`
}

type Policy

type Policy struct {
	Source      Source      `json:"source"`
	Destination Destination `json:"destination"`
}

type Source

type Source struct {
	ID  string `json:"id"`
	Tag string `json:"tag,omitempty"`
}

Jump to

Keyboard shortcuts

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