Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseAsUpjetOption ¶
func ParseAsUpjetOption(opts *UpjetOptions, line string) (bool, error)
ParseAsUpjetOption parses input line as a upjet option, if it is a valid Upjet Option. Returns whether it is parsed or not.
Types ¶
type CrossplaneOptions ¶
CrossplaneOptions represents the Crossplane marker options that upjet would need to interact
func (CrossplaneOptions) String ¶
func (o CrossplaneOptions) String() string
type KubebuilderOptions ¶
KubebuilderOptions represents the kubebuilder options that upjet would need to control
func (KubebuilderOptions) String ¶
func (o KubebuilderOptions) String() string
type Options ¶
type Options struct { UpjetOptions CrossplaneOptions KubebuilderOptions ServerSideApplyOptions }
Options represents marker options that Upjet need to parse or set.
type ServerSideApplyOptions ¶
type ServerSideApplyOptions struct { ListType *config.ListType ListMapKey []string MapType *config.MapType StructType *config.StructType }
ServerSideApplyOptions represents the server-side apply merge options that upjet needs to control. https://kubernetes.io/docs/reference/using-api/server-side-apply/#merge-strategy
func (ServerSideApplyOptions) String ¶
func (o ServerSideApplyOptions) String() string
type UpjetOptions ¶
UpjetOptions represents the whole upjet options that could be controlled with markers.
func (UpjetOptions) String ¶
func (o UpjetOptions) String() string
Click to show internal directories.
Click to hide internal directories.