github.com/taubyte/tau-cli@v0.1.13-0.20240326000942-487f0d57edfc/singletons/config/types.go (about) 1 package config 2 3 import seer "github.com/taubyte/go-seer" 4 5 type tauConfig struct { 6 root *seer.Seer 7 } 8 9 type profileHandler struct{} 10 11 type projectHandler struct{} 12 13 type Profile struct { 14 // name is not exported to yaml because it's the key 15 name string 16 17 Provider string 18 Token string 19 Default bool 20 21 // TODO get from config when verifying token 22 // may need to fake in tests 23 GitUsername string `yaml:"git_username"` 24 GitEmail string `yaml:"git_email"` 25 NetworkType string `yaml:"type,omitempty"` 26 Network string `yaml:"network"` 27 History []string `yaml:"history"` 28 } 29 30 type Project struct { 31 Name string `yaml:"name,omitempty"` 32 DefaultProfile string `yaml:"default_profile"` 33 Location string 34 }