Documentation ¶
Index ¶
Constants ¶
View Source
const NetworkPluginSyncerComponent = "submariner-networkplugin-syncer"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerReconciler ¶ added in v0.9.0
BrokerReconciler reconciles a Broker object.
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 GetAuthorizedBrokerClientFor func(spec *submopv1a1.SubmarinerSpec, brokerToken, brokerCA string, secretGVR schema.GroupVersionResource) (dynamic.Interface, error) }
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.