markers

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 6 Imported by: 2

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 an upjet option, if it is a valid Upjet Option. Returns whether it is parsed or not.

Types

type CrossplaneOptions

type CrossplaneOptions struct {
	config.Reference
}

CrossplaneOptions represents the Crossplane marker options that upjet would need to interact

func (CrossplaneOptions) String

func (o CrossplaneOptions) String() string

type Options

type Options struct {
	UpjetOptions
	CrossplaneOptions
	KubebuilderOptions kubebuilder.Options
	ServerSideApplyOptions
}

Options represents marker options that Upjet need to parse or set.

func (Options) String

func (o Options) String() string

String returns a string representation of this Options object.

type ServerSideApplyOptions added in v1.1.0

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 added in v1.1.0

func (o ServerSideApplyOptions) String() string

type UpjetOptions

type UpjetOptions struct {
	FieldTFTag   *structtag.Value
	FieldJSONTag *structtag.Value
}

UpjetOptions represents the whole upjet options that could be controlled with markers.

func (UpjetOptions) String

func (o UpjetOptions) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL