Example #1
0
func (n *NetworkSecurity) save() {
	// save state
	serialize.SaveAll(serialize.SaveDefinition{
		n.SaveFile,
		n,
	})
}
Example #2
0
func save() {
	serialize.SaveAll(serialize.SaveDefinition{
		ContainersFile,
		containers,
	}, serialize.SaveDefinition{
		PortsFile,
		ports,
	})
}