rootsyncset

package
v0.0.0-...-c7d747a Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildObjectsToApply

func BuildObjectsToApply(rootsyncset *v1alpha1.RootSyncSet) (*unstructured.Unstructured, error)

BuildObjectsToApply config root sync

Types

type Options

type Options struct {
}

func (*Options) BindFlags

func (o *Options) BindFlags(prefix string, flags *flag.FlagSet)

func (*Options) InitDefaults

func (o *Options) InitDefaults()

type RootSyncSetReconciler

type RootSyncSetReconciler struct {
	Options

	remoteclient.RemoteClientGetter

	client.Client
	// contains filtered or unexported fields
}

RootSyncSetReconciler reconciles a RootSyncSet object

func (*RootSyncSetReconciler) Reconcile

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

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile

func (*RootSyncSetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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