remotechaosmonitor

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Invoke(Bootstrap),
)

Functions

func Bootstrap

func Bootstrap(params Params) error

Types

type Params

type Params struct {
	fx.In

	Mgr          ctrl.Manager
	ManageClient client.Client `name:"manage-client"`
	LocalClient  client.Client
	ClusterName  string `name:"cluster-name"`
	Logger       logr.Logger
	Objs         []types.Object `group:"objs"`
}

type Reconciler

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

func New

func New(obj v1alpha1.InnerObject, manageClient client.Client, clusterName string, localClient client.Client, logger logr.Logger) *Reconciler

func (*Reconciler) Reconcile

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

Jump to

Keyboard shortcuts

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