Documentation ¶
Index ¶
Constants ¶
View Source
const ( RecommendedConfigPathFlag = "config" RecommendedConfigPathEnvVar = "ORCITL_MACHINE_CONFIG" RecommendedHomeDir = ".irictl-machine" RecommendedFileName = "config" )
Variables ¶
View Source
var ( RecommendedConfigDir = filepath.Join(homedir.HomeDir(), RecommendedHomeDir) RecommendedHomeFile = filepath.Join(RecommendedConfigDir, RecommendedFileName) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
TableConfig *TableConfig `json:"tableConfig,omitempty"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
func ReadConfig ¶
func ReadConfigFile ¶
type TableConfig ¶
Click to show internal directories.
Click to hide internal directories.