markers

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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