Documentation
¶
Index ¶
Constants ¶
View Source
const ( CONNECTED = "ACCEPT" DISCONNECTED = "DROP" )
View Source
const (
PathGateway = "daolinet/gateways"
)
Variables ¶
View Source
var ( ErrGroupExists = errors.New("group already exists") ErrFirewallNameExists = errors.New("firewall name already exists") ErrFirewallPortExists = errors.New("firewall gateway port already exists") ErrGroupDoesNotExist = errors.New("group does not exist") ErrPolicyDoesNotExist = errors.New("policy does not exist") ErrGatewayDoesNotExist = errors.New("gateway does not exist") ErrPolicyConflict = errors.New("policy should not be same container") ErrPolicyFormat = errors.New("policy format should be <CONTAINER:CONTAINER>") )
Functions ¶
This section is empty.
Types ¶
type ApiConfig ¶
type ApiConfig struct {
ListenAddr string
OfcUrl string
Client *dockerclient.DockerClient
Store *kv.Discovery
AllowInsecure bool
}
type ContainerInfo ¶
type ContainerInfo struct {
dockerclient.ContainerInfo
Node struct {
ID string
IP string
Addr string
Name string
}
}
Click to show internal directories.
Click to hide internal directories.