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

resources

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Label = "capsule.clastix.io/resources"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Global

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

func (*Global) Reconcile

func (r *Global) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*Global) SetupWithManager

func (r *Global) SetupWithManager(mgr ctrl.Manager, cfg utils.ControllerOptions) error

type Namespaced

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

func (*Namespaced) Reconcile

func (r *Namespaced) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*Namespaced) SetupWithManager

func (r *Namespaced) SetupWithManager(mgr ctrl.Manager, cfg utils.ControllerOptions) error

type Processor

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

func (*Processor) HandlePruning

func (r *Processor) HandlePruning(ctx context.Context, current, desired sets.Set[string]) (updateStatus bool)

func (*Processor) HandleSection

func (r *Processor) HandleSection(ctx context.Context, tnt capsulev1beta2.Tenant, allowCrossNamespaceSelection bool, tenantLabel string, resourceIndex int, spec capsulev1beta2.ResourceSpec) ([]string, error)

Jump to

Keyboard shortcuts

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