resources

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 24 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) 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) 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