Documentation ¶
Overview ¶
Package sub substitutes strings in fields
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSetter ¶
type CreateSetter struct { // customFieldSetter is the marker to set SetPartialField customFieldSetter // ResourceMeta defines the Resource to set the marker on ResourceMeta yaml.ResourceMeta }
CreateSetter creates a custom setter as an OpenAPI property through a comment
type LookupSetters ¶
type LookupSetters struct { // Name is the name of the setter to match. Optional. Name string // SetterCounts is populated by Filter and contains the count of fields matching each setter. SetterCounts []setterCount }
LookupSetters identifies setters for a collection of Resources
type PerformSetters ¶
type PerformSetters struct { // Name is the name of the setter to perform Name string // Value is the value to set Value string // Description, if set will annotate the field with a description. Description string // SetBy, if set will annotate the field with who set it. SetBy string // Count is set by Filter and is the number of fields modified. Count int }
PerformSetters sets field values
Click to show internal directories.
Click to hide internal directories.