Documentation ¶
Index ¶
- func Defined(node ast.Node) diagnostic.Option
- func DefinedMaybeImported(scope *ast.Scope, ie *ast.IdentExpr, decl ast.Node) []diagnostic.Option
- func Imported(node ast.Node) diagnostic.Option
- func IsNotExist(err error) bool
- func OneOfKinds(kinds []ast.Kind) string
- func WithBindCacheMount(as, cache ast.Node) error
- func WithCallImport(ident ast.Node, decl ast.Node) error
- func WithCallUnexported(ref ast.Node, opts ...diagnostic.Option) error
- func WithDeprecated(mod *ast.Module, node ast.Node, format string, a ...interface{}) error
- func WithDockerEngineUnsupported(decl ast.Node) error
- func WithDuplicates(dups []ast.Node) error
- func WithImportPathNotExist(err error, expr ast.Node, filename string) error
- func WithInternalErrorf(node ast.Node, format string, a ...interface{}) error
- func WithInvalidCompileTarget(ident ast.Node) error
- func WithInvalidImageRef(err error, arg ast.Node, ref string) error
- func WithInvalidNetworkMode(arg ast.Node, mode string, modes []string) error
- func WithInvalidSecurityMode(arg ast.Node, mode string, modes []string) error
- func WithInvalidSharingMode(arg ast.Node, mode string, modes []string) error
- func WithNoBindClosure(as, option ast.Node) error
- func WithNoBindEffects(callee, as ast.Node, opts ...diagnostic.Option) error
- func WithNoBindTarget(as ast.Node) error
- func WithNotImport(ie *ast.IdentExpr, decl ast.Node) error
- func WithNumArgs(callee ast.Node, expected, actual int, opts ...diagnostic.Option) error
- func WithUndefinedBindTarget(callee, target ast.Node) error
- func WithUndefinedIdent(ident ast.Node, suggested *ast.Object, opts ...diagnostic.Option) error
- func WithWrongType(expr ast.Node, expected []ast.Kind, actual ast.Kind, opts ...diagnostic.Option) error
- type ErrAbort
- type ErrModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefinedMaybeImported ¶
func IsNotExist ¶
func OneOfKinds ¶
func WithBindCacheMount ¶
func WithCallUnexported ¶
func WithCallUnexported(ref ast.Node, opts ...diagnostic.Option) error
func WithDeprecated ¶
func WithDuplicates ¶
func WithImportPathNotExist ¶
func WithInternalErrorf ¶
func WithInvalidNetworkMode ¶
func WithInvalidSecurityMode ¶
func WithInvalidSharingMode ¶
func WithNoBindClosure ¶
func WithNoBindEffects ¶
func WithNoBindEffects(callee, as ast.Node, opts ...diagnostic.Option) error
func WithNoBindTarget ¶
func WithNumArgs ¶
func WithUndefinedBindTarget ¶
func WithUndefinedIdent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.