Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/crossplane/crossplane-tools
/ types & classes
Types & classes
24 in github.com/crossplane/crossplane-tools
⨍
Functions
157
◇
Types & classes
24
Struct
Comments
Comments for a particular package.
internal/comments/comments.go:38
Interface
FieldProcessor
FieldProcessor takes all information related to a field and processes it.
internal/types/types.go:62
TypeAlias
FieldProcessorChain
FieldProcessorChain runs multiple FieldProcessor in order.
internal/types/types.go:49
FuncType
Filter
A Filter is a function that determines whether a method should be written for the supplied object. It returns true if the method should be filtered.
internal/method/method.go:57
TypeAlias
Markers
Markers are comments that begin with a special character (typically DefaultMarkerPrefix). Comment markers that contain '=' are considered to be key=va
internal/comments/comments.go:84
FuncType
Matcher
A Matcher is a function that returns true if the supplied Var (assumed to be a struct field) matches its requirements.
internal/fields/fields.go:73
Struct
MockObject
internal/method/method_test.go:28
Interface
NamedProcessor
NamedProcessor takes a named struct with its comments and processes it. For example, you might want to take an action depending on its comments or mak
internal/types/types.go:44
TypeAlias
NamedProcessorChain
NamedProcessorChain runs multiple NamedProcessors in order.
internal/types/types.go:29
FuncType
New
New is a function that adds a method on the supplied object in the supplied file.
internal/method/method.go:32
FuncType
Object
An Object matcher is a function that returns true if the supplied object matches.
internal/match/match.go:29
Struct
ProcessorConfig
ProcessorConfig lets you configure what processors will be run in given traversal.
internal/types/types.go:67
Struct
Reference
Reference is the internal representation that has enough information to let us generate the resolver.
internal/method/reference_processor.go:42
Struct
ReferenceProcessor
ReferenceProcessor detects whether the field is marked as referencer and composes the internal representation of that reference.
internal/method/reference_processor.go:102
FuncType
ReferenceProcessorOption
ReferenceProcessorOption is used to configure ReferenceProcessor.
internal/method/reference_processor.go:79
TypeAlias
Set
A Set is a map of method names to the New functions that produce them.
internal/method/method.go:36
Struct
Traverser
Traverser goes through all fields of given type recursively. It runs the field processor for every field and named processor for every type it encount
internal/types/types.go:82
FuncType
WriteOption
A WriteOption configures method generation behaviour.
internal/generate/generate.go:46
Struct
args
cmd/breakingChanges/main_test.go:27
Struct
fl
internal/comments/comments.go:32
Struct
names
internal/method/resolver.go:46
Struct
options
internal/generate/generate.go:39
FuncType
resolutionCallFn
func(parentFields ...string) *jen.Statement
internal/method/resolver.go:134
Struct
want
cmd/breakingChanges/main_test.go:31