Help us shape the future of Go! Take the 2026 Go Developer Survey

spireentry

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reconciler

func Reconciler(config ReconcilerConfig) reconciler.Reconciler

Types

type ClusterSPIFFEID

type ClusterSPIFFEID struct {
	spirev1alpha1.ClusterSPIFFEID
	NextStatus spirev1alpha1.ClusterSPIFFEIDStatus
}

func (*ClusterSPIFFEID) IncrementEntriesMasked added in v0.3.0

func (by *ClusterSPIFFEID) IncrementEntriesMasked()

func (*ClusterSPIFFEID) IncrementEntriesToSet added in v0.3.0

func (by *ClusterSPIFFEID) IncrementEntriesToSet()

func (*ClusterSPIFFEID) IncrementEntryFailures added in v0.3.0

func (by *ClusterSPIFFEID) IncrementEntryFailures()

func (*ClusterSPIFFEID) IncrementEntrySuccess added in v0.3.0

func (by *ClusterSPIFFEID) IncrementEntrySuccess()

type ClusterStaticEntry added in v0.3.0

type ClusterStaticEntry struct {
	spirev1alpha1.ClusterStaticEntry
	NextStatus spirev1alpha1.ClusterStaticEntryStatus
}

func (*ClusterStaticEntry) IncrementEntriesMasked added in v0.3.0

func (by *ClusterStaticEntry) IncrementEntriesMasked()

func (*ClusterStaticEntry) IncrementEntriesToSet added in v0.3.0

func (by *ClusterStaticEntry) IncrementEntriesToSet()

func (*ClusterStaticEntry) IncrementEntryFailures added in v0.3.0

func (by *ClusterStaticEntry) IncrementEntryFailures()

func (*ClusterStaticEntry) IncrementEntrySuccess added in v0.3.0

func (by *ClusterStaticEntry) IncrementEntrySuccess()

type ReconcilerConfig

type ReconcilerConfig struct {
	TrustDomain              spiffeid.TrustDomain
	ClusterName              string
	ClusterDomain            string
	EntryClient              spireapi.EntryClient
	K8sClient                client.Client
	IgnoreNamespaces         []*regexp.Regexp
	AutoPopulateDNSNames     bool
	ClassName                string
	WatchClassless           bool
	ParentIDTemplate         *template.Template
	Reconcile                spirev1alpha1.ReconcileConfig
	EntryIDPrefix            string
	EntryIDPrefixCleanup     *string
	StaticManifestPath       *string
	ExpandEnvStaticManifests bool

	// GCInterval how long to sit idle (i.e. untriggered) before doing
	// another reconcile.
	GCInterval time.Duration

	// EnableEntryRenderCache enables the LRU cache for rendered pod entries.
	// Defaults to false.
	EnableEntryRenderCache bool

	// EntryRenderCacheSize is the maximum number of entries in the LRU cache
	// for rendered pod entries. Only used when EnableEntryRenderCache is true.
	// If zero, defaults to defaultEntryRenderCacheSize.
	EntryRenderCacheSize int
}

Jump to

Keyboard shortcuts

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