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