fluxks

package
v0.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expander

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

Expander discovers Flux Kustomization CRs in the resource set and returns their spec.path values as DiscoveredPaths for the next iteration of the expansion loop.

func NewExpander

func NewExpander(log logr.Logger) *Expander

NewExpander creates a Flux Kustomization expander.

func NewExpanderWithResolver

func NewExpanderWithResolver(log logr.Logger, resolver SourceResolver) *Expander

NewExpanderWithResolver creates a Flux Kustomization expander with GitRepository resolution.

func (*Expander) Expand

func (*Expander) SetStrictInputs

func (e *Expander) SetStrictInputs()

SetStrictInputs rejects known rendering inputs not implemented by the expander. It does not change source resolution or filesystem access.

type SourceResolver

type SourceResolver interface {
	ResolvePath(namespace, name string) (string, bool)
}

SourceResolver resolves GitRepository source references to local paths.

Jump to

Keyboard shortcuts

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