package
0.1.9
Repository: https://github.com/munnerz/controller-tools.git
Documentation: pkg.go.dev

# Functions

DefaultNameSystem returns public by default.
GetGroup returns group of t.
GetGroupPackage returns group package of t.
GetKind returns kind of t.
GetVersion returns version of t.
HasDocAnnotation returns true if t is an APIResource with doc annotation +kubebuilder:doc.
HasSubresource returns true if t is an APIResource with one or more Subresources.
IsAPIResource returns true if either of the two conditions become true: 1.
IsApisDir returns true if a directory path is a Kubernetes api directory.
IsAPISubresource returns true if t has a +subresource-request comment tag.
IsController returns true if t has a +controller or +kubebuilder:controller tag.
IsInformer returns true if t has a +informers or +kubebuilder:informers tag.
IsNonNamespaced returns true if t has a +nonNamespaced comment tag.
IsRBAC returns true if t has a +rbac or +kubebuilder:rbac tag.
IsUnversioned returns true if t is in given group, and not in versioned path.
IsVersioned returns true if t is in given group, and in versioned path.
NameSystems returns the name system used by the generators in this package.
NewAPIs returns a new APIs instance with given context.
NewContext returns a new Context from the builder.

# Structs

APIs is the information of a collection of API.
Options contains the parser options.

# Type aliases

Comments is a structure for using comment tags on go structs and fields.