submariner

package
v0.12.0-m1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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
	Log    logr.Logger
	Scheme *runtime.Scheme
}

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)

TODO skitt: these rbac declarations (and others, see submariner_controller.go) need to be separated from methods in order to be taken into account; but they produce ClusterRoles, not the Roles we want +kubebuilder:rbac:groups=submariner.io,resources=brokers,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=submariner.io,resources=brokers/status,verbs=get;update;patch

func (*BrokerReconciler) SetupWithManager added in v0.9.0

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

type SubmarinerReconciler

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

SubmarinerReconciler reconciles a Submariner object

func NewReconciler

func NewReconciler(mgr manager.Manager) *SubmarinerReconciler

NewReconciler returns a new SubmarinerReconciler

func (*SubmarinerReconciler) Reconcile

+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 (*SubmarinerReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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