You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: hostconfig_unix.go
    path of file: ./repos/moby/api/types/container
    
    the code of the file until where you have to start completion: //go:build !windows

package container // import "github.com/docker/docker/api/types/container"

import "github.com/docker/docker/api/types/network"

// IsValid indicates if an isolation technology
    
func (n NetworkMode) NetworkName() string {
	if n.IsBridge() {
		return network.NetworkBridge
	} else if n.IsHost() {
		return network.NetworkHost
	} else if n.IsContainer() {
		return "container"
	} else if n.IsNone() {
		return network.NetworkNone
	} else if n.IsDefault() {
		return network.NetworkDefault
	} else if n.IsUserDefined() {
		return n.UserDefined()
	}
	return ""
}