markers

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAsTerrajetOption

func ParseAsTerrajetOption(opts *TerrajetOptions, line string) (bool, error)

ParseAsTerrajetOption parses input line as a terrajet option, if it is a valid Terrajet Option. Returns whether it is parsed or not.

Types

type CrossplaneOptions

type CrossplaneOptions struct {
	config.Reference
}

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

func (CrossplaneOptions) String

func (o CrossplaneOptions) String() string

type KubebuilderOptions

type KubebuilderOptions struct {
	Required *bool
	Minimum  *int
	Maximum  *int
}

KubebuilderOptions represents the kubebuilder options that terrajet would need to control

func (KubebuilderOptions) String

func (o KubebuilderOptions) String() string

type Options

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

func (Options) String

func (o Options) String() string

String returns a string representation of this Options object.

type TerrajetOptions

type TerrajetOptions struct {
	FieldTFTag   *string
	FieldJSONTag *string
}

TerrajetOptions represents the whole terrajet options that could be controlled with markers.

func (TerrajetOptions) String

func (o TerrajetOptions) String() string

Jump to

Keyboard shortcuts

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