Discover Packages
github.com/cloudfoundry-incubator/network-policy-client
src
models
package
Version:
v0.0.0-...-a226321
Opens a new window with list of versions in this module.
Published: Jan 17, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Destination struct {
ID string `json:"id"`
Tag string `json:"tag,omitempty"`
Protocol string `json:"protocol"`
Port int `json:"port,omitempty"`
Ports Ports `json:"ports"`
}
type Policy struct {
Source Source `json:"source"`
Destination Destination `json:"destination"`
}
type Ports struct {
Start int `json:"start"`
End int `json:"end"`
}
type Source struct {
ID string `json:"id"`
Tag string `json:"tag,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.