tfmodifier

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtensionModifier

type ExtensionModifier struct {
	// contains filtered or unexported fields
}

func (*ExtensionModifier) ModifierClass

func (modifier *ExtensionModifier) ModifierClass() string

func (*ExtensionModifier) Modify

func (modifier *ExtensionModifier) Modify(config *tfconfig.Config)

type ExtensionModifierFactory

type ExtensionModifierFactory struct {
	ProviderList *manager.List[extension.ProviderFactory]
	// contains filtered or unexported fields
}

func (*ExtensionModifierFactory) Build

func (m *ExtensionModifierFactory) Build(jsonBuf []byte) (tfconfig.Modifier, error)

func (*ExtensionModifierFactory) Close

func (*ExtensionModifierFactory) Init

func (m *ExtensionModifierFactory) Init() error

func (*ExtensionModifierFactory) ListIndex

func (*ExtensionModifierFactory) ListIndex() string

func (*ExtensionModifierFactory) Options

func (*ExtensionModifierFactory) Start

type ExtensionModifierOptions

type ExtensionModifierOptions struct {
	// contains filtered or unexported fields
}

func (*ExtensionModifierOptions) EnableFlag

func (options *ExtensionModifierOptions) EnableFlag() *bool

func (*ExtensionModifierOptions) Setup

func (options *ExtensionModifierOptions) Setup(fs *pflag.FlagSet)

type LinkPattern

type LinkPattern struct {
	Parent            utilmarshal.ObjectFilter                       `json:"parent"`
	Child             utilmarshal.ObjectFilter                       `json:"child"`
	IncludeFromParent utilmarshal.Optional[bool]                     `json:"fromParent"`
	IncludeFromChild  utilmarshal.Optional[bool]                     `json:"fromChild"`
	LinkClass         utilmarshal.Optional[utilmarshal.StringFilter] `json:"linkClass"`
}

func (*LinkPattern) Matches

func (pattern *LinkPattern) Matches(parent utilobject.Key, child utilobject.Key, isFromParent bool, linkClass string) bool

type LinkSelectorModifier

type LinkSelectorModifier struct {
	Class            string                       `json:"modifierClass"`
	IncludeSiblings  bool                         `json:"includeSiblings"`
	PatternFilters   []LinkPattern                `json:"ifAll"`
	UpwardDistance   utilmarshal.Optional[uint32] `json:"upwardDistance"`
	DownwardDistance utilmarshal.Optional[uint32] `json:"downwardDistance"`
}

func (*LinkSelectorModifier) ModifierClass

func (modifier *LinkSelectorModifier) ModifierClass() string

func (*LinkSelectorModifier) Modify

func (modifier *LinkSelectorModifier) Modify(config *tfconfig.Config)

type LinkSelectorModifierFactory

type LinkSelectorModifierFactory struct {
	// contains filtered or unexported fields
}

func (*LinkSelectorModifierFactory) Build

func (*LinkSelectorModifierFactory) Close

func (*LinkSelectorModifierFactory) Init

func (*LinkSelectorModifierFactory) ListIndex

func (*LinkSelectorModifierFactory) ListIndex() string

func (*LinkSelectorModifierFactory) Options

func (*LinkSelectorModifierFactory) Start

type LinkSelectorModifierOptions

type LinkSelectorModifierOptions struct {
	// contains filtered or unexported fields
}

func (*LinkSelectorModifierOptions) EnableFlag

func (options *LinkSelectorModifierOptions) EnableFlag() *bool

func (*LinkSelectorModifierOptions) Setup

func (options *LinkSelectorModifierOptions) Setup(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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