Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FinalizerName is the controlplane controller finalizer. FinalizerName = "networkmachinery.io/networkmonitor" NetworkNotification = "network-notification-" ContentType = "Content-Type" ApplicationJSON = "application/json" )
View Source
const Name = "network-control-controller"
Variables ¶
This section is empty.
Functions ¶
func DefaultPredicates ¶
DefaultPredicates returns the default predicates for an infrastructure reconciler.
func GenerationChangedPredicate ¶
GenerationChangedPredicate is a predicate for generation changes.
Types ¶
type AddArgs ¶
type AddArgs struct { // Reconciler Reconciler reconcile.Reconciler // ControllerOptions are the controller options used for creating a controller. // The options.Reconciler is always overridden with a reconciler created from the // given actuator. ControllerOptions controller.Options // Predicates are the predicates to use. // If unset, GenerationChangedPredicate will be used. Predicates []predicate.Predicate }
type ReconcileNetworkController ¶
type ReconcileNetworkController struct {
// contains filtered or unexported fields
}
ReconcileMachineDeployment reconciles a MachineDeployment object.
func (*ReconcileNetworkController) InjectClient ¶
func (r *ReconcileNetworkController) InjectClient(client client.Client) error
func (*ReconcileNetworkController) InjectStopChannel ¶
func (r *ReconcileNetworkController) InjectStopChannel(stopCh <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.