remoteresourceslicecontroller

package
v1.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package remoteresourceslicecontroller contains the logic to manage the remote ResourceSlice.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteResourceSliceReconciler

type RemoteResourceSliceReconciler struct {
	client.Client
	*runtime.Scheme
	Config *rest.Config
	// contains filtered or unexported fields
}

RemoteResourceSliceReconciler reconciles a ResourceSliceReconciler object.

func NewRemoteResourceSliceReconciler

func NewRemoteResourceSliceReconciler(cl client.Client, s *runtime.Scheme, config *rest.Config,
	recorder record.EventRecorder,
	identityProvider identitymanager.IdentityProvider,
	apiServerAddressOverride string, caOverride []byte, trustedCA bool,
	sliceStatusOptions *SliceStatusOptions) *RemoteResourceSliceReconciler

NewRemoteResourceSliceReconciler returns a new RemoteResourceSliceReconciler.

func (*RemoteResourceSliceReconciler) Reconcile

func (r *RemoteResourceSliceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

Reconcile replicated ResourceSlice resources.

func (*RemoteResourceSliceReconciler) SetupWithManager

func (r *RemoteResourceSliceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SliceStatusOptions

type SliceStatusOptions struct {
	EnableStorage             bool
	LocalRealStorageClassName string
	IngressClasses            argutils.ClassNameList
	LoadBalancerClasses       argutils.ClassNameList
	ClusterLabels             map[string]string
	DefaultResourceQuantity   corev1.ResourceList
}

SliceStatusOptions contains the options to configure the status of a remote resource slice.

Jump to

Keyboard shortcuts

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