Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigStruct ¶
type ConfigStruct struct { InputFile []string `yaml:"file"` InputFiles []string `yaml:"files"` Output string `yaml:"output"` Overrides []string `yaml:"overrides"` PathSelector []string `yaml:"path_selector"` StrictRangeCheck bool `yaml:"strict_range_check"` DisableNone bool `yaml:"disable_none"` Verbose int `yaml:"verbose"` Debug bool `yaml:"debug"` PackageMaps map[string]string `yaml:"package_maps"` SortKeys bool `yaml:"sort_keys"` ShowHidden bool `yaml:"show_hidden"` IncludeSchemaTypePath bool `yaml:"include_schema_type_path"` }
type KeyValueStruct ¶
type KeyValueStruct struct { Key string `yaml:"key"` Value interface{} `yaml:"value"` }
type SettingsFile ¶
type SettingsFile struct { Filename string `yaml:"-"` Config ConfigStruct `yaml:"kcl_cli_configs"` Options []KeyValueStruct `yaml:"kcl_options"` }
func LoadFile ¶
func LoadFile(filename string, src interface{}) (f *SettingsFile, err error)
func (*SettingsFile) To_ExecProgram_Args ¶
func (settings *SettingsFile) To_ExecProgram_Args() *gpyrpc.ExecProgram_Args
Click to show internal directories.
Click to hide internal directories.