submariner

package
v0.14.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerReconciler added in v0.9.0

type BrokerReconciler struct {
	Client client.Client
	Config *rest.Config
}

BrokerReconciler reconciles a Broker object.

func (*BrokerReconciler) Reconcile added in v0.9.0

func (r *BrokerReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*BrokerReconciler) SetupWithManager added in v0.9.0

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

type Config added in v0.12.0

type Config struct {
	// This client is scoped to the operator namespace intended to only be used for resources created and maintained by this
	// controller. Also it's a split client that reads objects from the cache and writes to the apiserver.
	ScopedClient client.Client
	// This client can be used to access any other resource not in the operator namespace.
	GeneralClient  client.Client
	RestConfig     *rest.Config
	Scheme         *runtime.Scheme
	DynClient      dynamic.Interface
	ClusterNetwork *network.ClusterNetwork
}

type Reconciler added in v0.12.0

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

Reconciler reconciles a Submariner object.

func NewReconciler

func NewReconciler(config *Config) *Reconciler

NewReconciler returns a new Reconciler.

func (*Reconciler) Reconcile added in v0.12.0

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

+kubebuilder:rbac:groups=submariner.io,resources=submariners,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=submariner.io,resources=submariners/status,verbs=get;update;patch

func (*Reconciler) SetupWithManager added in v0.12.0

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

Jump to

Keyboard shortcuts

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