Documentation
¶
Index ¶
Constants ¶
View Source
const ( LocatorTypeAuto = LocatorType("auto") LocatorTypeRemote = LocatorType("remote") LocatorTypeYAML = LocatorType("yaml") LocatorTypeIRFile = LocatorType("ir-file") )
Variables ¶
This section is empty.
Functions ¶
func UpgradeConfig ¶
Types ¶
type ConjurePluginConfig ¶
type ConjurePluginConfig struct { versionedconfig.ConfigWithVersion `yaml:",inline,omitempty"` ProjectConfigs map[string]SingleConjureConfig `yaml:"projects"` }
type IRLocatorConfig ¶
type IRLocatorConfig struct { Type LocatorType `yaml:"type"` Locator string `yaml:"locator"` }
IRLocatorConfig is configuration that specifies a locator. It can be specified as a YAML string or as a full YAML object. If it is specified as a YAML string, then the string is used as the value of "Locator" and LocatorTypeAuto is used as the value of the type.
func (*IRLocatorConfig) UnmarshalYAML ¶
func (cfg *IRLocatorConfig) UnmarshalYAML(unmarshal func(interface{}) error) error
type LocatorType ¶
type LocatorType string
type SingleConjureConfig ¶
type SingleConjureConfig struct { OutputDir string `yaml:"output-dir"` IRLocator IRLocatorConfig `yaml:"ir-locator"` // Publish specifies whether or not the IR specified by this project should be included in the publish operation. // If this value is not explicitly specified in configuration, it is treated as "true" for YAML sources of IR and // "false" for all other sources. Publish *bool `yaml:"publish"` // Server indicates if we will generate server code. Currently this is behind a feature flag and is subject to change. Server bool `yaml:"server,omitempty"` // AcceptFuncs indicates if we will generate lambda based visitor code. // Currently this is behind a feature flag and is subject to change. AcceptFuncs *bool `yaml:"accept-funcs,omitempty"` }
Click to show internal directories.
Click to hide internal directories.