import ( "github.com/openshift/origin/pkg/cmd/util/clientcmd" ) func main() { config := clientcmd.NewDefaultPathOptions() config.DefaultNamespace() // Use config object for further configuration or executing commands. }This code uses Factory to create a new client command configuration object and DefaultNamespace to set the default namespace. The resulting config object can be used for further configuration or executing commands.