Documentation ¶
Index ¶
- func CUEEvaluationFailed(err error, pathPrefix string) error
- func ConfigLoadNoArguments(fileset *token.FileSet, node *ast.CallExpr) error
- func ConfigMustBeTopLevelPackage(fileset *token.FileSet, node ast.Node) error
- func ConfigOnlyLoadedFromService(fileset *token.FileSet, node ast.Node) error
- func ConfigOnlyReferencedSameService(fileset *token.FileSet, reference ast.Node, defined ast.Node) error
- func ConfigTypeHasUnexportFields(fileset *token.FileSet, loadCall ast.Node, field *ast.Field) error
- func ConfigValueTypeNotSet(fileset *token.FileSet, node ast.Node) error
- func ConfigWrapperNested(fileset *token.FileSet, node ast.Node, funcCall *ast.CallExpr) error
- func DatabaseNotFound(fileset *token.FileSet, node ast.Node, dbName string) error
- func GenericGoCompilerError(fileName string, lineNumber int, column int, error string) error
- func GenericGoParserError(err *scanner.Error) *errinsrc.ErrInSrc
- func MetricLabelReservedName(fileset *token.FileSet, node ast.Node, fieldName, label string) error
- func MetricLabelsFieldInvalidType(fileset *token.FileSet, node ast.Node, resourceType, fieldName string, ...) error
- func MetricLabelsIsPointer(fileset *token.FileSet, node ast.Node, resourceType string) error
- func MetricLabelsNotNamedStruct(fileset *token.FileSet, node ast.Node, resourceType string, ...) error
- func MetricReferencedInOtherService(fileset *token.FileSet, reference ast.Node, defined ast.Node) error
- func PubSubAttrInvalidTag(fileset *token.FileSet, node ast.Node, fieldName string) error
- func PubSubNewTopicInvalidArgCount(fileset *token.FileSet, node *ast.CallExpr) error
- func PubSubOrderingKeyMustBeExported(fileset *token.FileSet, node ast.Node) error
- func PubSubOrderingKeyNotStringLiteral(fileset *token.FileSet, node ast.Node) error
- func PubSubPublishInvalidLocation(fileset *token.FileSet, node ast.Node) error
- func PubSubSubscriptionArguments(fileset *token.FileSet, node *ast.CallExpr) error
- func PubSubSubscriptionConfigNotConstant(fileset *token.FileSet, fieldName string, node ast.Node) error
- func PubSubSubscriptionHandlerNotInService(fileset *token.FileSet, funcRef ast.Node, funcDecl ast.Node) error
- func PubSubSubscriptionInvalidField(fileset *token.FileSet, fieldName string, requirement string, node ast.Node, ...) error
- func PubSubSubscriptionNameNotUnique(fileset *token.FileSet, firstDefinition ast.Node, secondDefinition ast.Node) error
- func PubSubSubscriptionRequiresHandler(fileset *token.FileSet, cfgNode ast.Node) error
- func PubSubSubscriptionTopicNotResource(fileset *token.FileSet, node ast.Expr, got string) error
- func PubSubTopicConfigInvalidField(fileset *token.FileSet, fieldName string, exampleValue string, node ast.Node) error
- func PubSubTopicConfigMissingField(fileset *token.FileSet, fieldName string, node ast.Node) error
- func PubSubTopicConfigNotConstant(fileset *token.FileSet, fieldName string, node ast.Node) error
- func PubSubTopicNameNotUnique(fileset *token.FileSet, firstDefinition ast.Node, secondDefinition ast.Node) error
- func ResourceNameNotKebabCase(fileset *token.FileSet, node ast.Node, resourceType string, paramName string, ...) error
- func ResourceNameNotSnakeCase(fileset *token.FileSet, node ast.Node, resourceType string, paramName string, ...) error
- func ResourceNameNotStringLiteral(fileset *token.FileSet, node ast.Node, resourceType string, paramName string) error
- func ResourceNameReserved(fileset *token.FileSet, node ast.Node, resourceType string, paramName string, ...) error
- func ResourceNameWrongLength(fileset *token.FileSet, node ast.Node, resourceType string, paramName string, ...) error
- func UnableToAddOrphanedCUEFiles(err error, pathPrefix string) error
- func UnableToLoadCUEInstances(err error, pathPrefix string) error
- func UnhandledPanic(recovered any) error
- func UnknownConfigWrapperType(fileset *token.FileSet, node ast.Node, ident *ast.Ident) error
- func UnknownErrorCompilingConfig(fileset *token.FileSet, node ast.Node, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CUEEvaluationFailed ¶
func ConfigLoadNoArguments ¶
func ConfigValueTypeNotSet ¶
func ConfigWrapperNested ¶
func DatabaseNotFound ¶
func GenericGoCompilerError ¶
GenericGoCompilerError reports an error was that was reported from the Go compiler. It should not be returned by any errors caused by Encore's own compiler as they should have specific errors listed below.
func GenericGoParserError ¶
GenericGoParserError reports an error was that was reported from the Go parser. It should not be returned by any errors caused by Encore's own parser as they should have specific errors listed below
func MetricLabelReservedName ¶ added in v1.11.0
func MetricLabelsFieldInvalidType ¶ added in v1.11.0
func MetricLabelsIsPointer ¶ added in v1.11.0
func MetricLabelsNotNamedStruct ¶ added in v1.11.0
func MetricReferencedInOtherService ¶ added in v1.11.0
func PubSubAttrInvalidTag ¶ added in v1.9.3
func PubSubNewTopicInvalidArgCount ¶ added in v1.9.3
func PubSubOrderingKeyMustBeExported ¶ added in v1.9.3
func PubSubOrderingKeyNotStringLiteral ¶ added in v1.9.3
func PubSubPublishInvalidLocation ¶ added in v1.9.3
func PubSubSubscriptionArguments ¶ added in v1.9.3
func PubSubSubscriptionConfigNotConstant ¶ added in v1.9.3
func PubSubSubscriptionHandlerNotInService ¶ added in v1.9.3
func PubSubSubscriptionInvalidField ¶ added in v1.9.3
func PubSubSubscriptionNameNotUnique ¶ added in v1.9.3
func PubSubSubscriptionRequiresHandler ¶ added in v1.9.3
func PubSubSubscriptionTopicNotResource ¶ added in v1.9.3
func PubSubTopicConfigInvalidField ¶ added in v1.9.3
func PubSubTopicConfigMissingField ¶ added in v1.9.3
func PubSubTopicConfigNotConstant ¶ added in v1.9.3
func PubSubTopicNameNotUnique ¶ added in v1.9.3
func ResourceNameNotKebabCase ¶ added in v1.9.3
func ResourceNameNotSnakeCase ¶ added in v1.11.0
func ResourceNameNotStringLiteral ¶ added in v1.9.3
func ResourceNameReserved ¶ added in v1.11.0
func ResourceNameWrongLength ¶ added in v1.9.3
func UnhandledPanic ¶
UnhandledPanic is an error we use to wrap a panic that was not handled It should ideally never be seen by users, but if it is, it means we have a bug within Encore which needs fixing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.