controllers

package
v0.0.0-...-3cfcee8 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InitContainerCommand = `` /* 243-byte string literal not displayed */

	WatchConfigMapCommand = `` /* 225-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type BridgeConfigReconciler

type BridgeConfigReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

BridgeConfigReconciler reconciles a BridgeConfig object

func (*BridgeConfigReconciler) BridgeConfigNodePredicates

func (r *BridgeConfigReconciler) BridgeConfigNodePredicates() predicate.Predicate

func (*BridgeConfigReconciler) BridgeConfigNodeWatchMap

func (r *BridgeConfigReconciler) BridgeConfigNodeWatchMap(obj client.Object) []reconcile.Request

func (*BridgeConfigReconciler) OnChange

func (r *BridgeConfigReconciler) OnChange(ctx context.Context, bridgeConfig *kvnetv1alpha1.BridgeConfig) (ctrl.Result, error)

func (*BridgeConfigReconciler) OnRemove

func (r *BridgeConfigReconciler) OnRemove(ctx context.Context, bridgeConfig *kvnetv1alpha1.BridgeConfig) (ctrl.Result, error)

func (*BridgeConfigReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the BridgeConfig object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*BridgeConfigReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type BridgeNetConf

type BridgeNetConf struct {
	Type       string `json:"type,omitempty"`
	BridgeName string `json:"bridge,omitempty"`
}

type BridgeReconciler

type BridgeReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

BridgeReconciler reconciles a Bridge object

func (*BridgeReconciler) OnChange

func (r *BridgeReconciler) OnChange(ctx context.Context, bridge *kvnetv1alpha1.Bridge, bridgeName string) (ctrl.Result, error)

func (*BridgeReconciler) OnRemove

func (r *BridgeReconciler) OnRemove(ctx context.Context, bridge *kvnetv1alpha1.Bridge, bridgeName string) (ctrl.Result, error)

func (*BridgeReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Bridge object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*BridgeReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type NetworkAttachmentDefinitionReconciler

type NetworkAttachmentDefinitionReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

NetworkAttachmentDefinitionReconciler reconciles a NetworkAttachmentDefinition object

func (*NetworkAttachmentDefinitionReconciler) OnChange

func (*NetworkAttachmentDefinitionReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the NetworkAttachmentDefinition object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*NetworkAttachmentDefinitionReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type RouterReconciler

type RouterReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

RouterReconciler reconciles a Router object

func (*RouterReconciler) OnChange

func (r *RouterReconciler) OnChange(ctx context.Context, router *kvnetv1alpha1.Router) (ctrl.Result, error)

func (*RouterReconciler) OnRemove

func (r *RouterReconciler) OnRemove(ctx context.Context, router *kvnetv1alpha1.Router) (ctrl.Result, error)

func (*RouterReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Router object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*RouterReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SubnetReconciler

type SubnetReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

SubnetReconciler reconciles a Subnet object

func (*SubnetReconciler) OnChange

func (r *SubnetReconciler) OnChange(ctx context.Context, subnet *kvnetv1alpha1.Subnet) (ctrl.Result, error)

func (*SubnetReconciler) OnRemove

func (r *SubnetReconciler) OnRemove(ctx context.Context, subnet *kvnetv1alpha1.Subnet) (ctrl.Result, error)

func (*SubnetReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Subnet object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*SubnetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type UplinkConfigReconciler

type UplinkConfigReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

UplinkConfigReconciler reconciles a UplinkConfig object

func (*UplinkConfigReconciler) OnChange

func (r *UplinkConfigReconciler) OnChange(ctx context.Context, uplinkConfig *kvnetv1alpha1.UplinkConfig) (ctrl.Result, error)

func (*UplinkConfigReconciler) OnRemove

func (r *UplinkConfigReconciler) OnRemove(ctx context.Context, uplinkConfig *kvnetv1alpha1.UplinkConfig) (ctrl.Result, error)

func (*UplinkConfigReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the UplinkConfig object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*UplinkConfigReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*UplinkConfigReconciler) UplinkConfigNodePredicates

func (r *UplinkConfigReconciler) UplinkConfigNodePredicates() predicate.Predicate

func (*UplinkConfigReconciler) UplinkConfigNodeWatchMap

func (r *UplinkConfigReconciler) UplinkConfigNodeWatchMap(obj client.Object) []reconcile.Request

type UplinkReconciler

type UplinkReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

UplinkReconciler reconciles a Uplink object

func (*UplinkReconciler) OnChange

func (r *UplinkReconciler) OnChange(ctx context.Context, uplink *kvnetv1alpha1.Uplink, uplinkName string) (ctrl.Result, error)

func (*UplinkReconciler) OnRemove

func (r *UplinkReconciler) OnRemove(ctx context.Context, uplink *kvnetv1alpha1.Uplink, uplinkName string) (ctrl.Result, error)

func (*UplinkReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Uplink object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*UplinkReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*UplinkReconciler) UplinkBridgeWatchMap

func (r *UplinkReconciler) UplinkBridgeWatchMap(obj client.Object) []reconcile.Request

type VxlanConfigReconciler

type VxlanConfigReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

VxlanConfigReconciler reconciles a VxlanConfig object

func (*VxlanConfigReconciler) OnChange

func (r *VxlanConfigReconciler) OnChange(ctx context.Context, vxlanConfig *kvnetv1alpha1.VxlanConfig) (ctrl.Result, error)

func (*VxlanConfigReconciler) OnRemove

func (r *VxlanConfigReconciler) OnRemove(ctx context.Context, vxlanConfig *kvnetv1alpha1.VxlanConfig) (ctrl.Result, error)

func (*VxlanConfigReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the VxlanConfig object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*VxlanConfigReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*VxlanConfigReconciler) VxlanConfigNodePredicates

func (r *VxlanConfigReconciler) VxlanConfigNodePredicates() predicate.Predicate

func (*VxlanConfigReconciler) VxlanConfigNodeWatchMap

func (r *VxlanConfigReconciler) VxlanConfigNodeWatchMap(obj client.Object) []reconcile.Request

type VxlanReconciler

type VxlanReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

VxlanReconciler reconciles a Vxlan object

func (*VxlanReconciler) OnChange

func (r *VxlanReconciler) OnChange(ctx context.Context, vxlan *kvnetv1alpha1.Vxlan, vxlanName string) (ctrl.Result, error)

func (*VxlanReconciler) OnRemove

func (r *VxlanReconciler) OnRemove(ctx context.Context, vxlan *kvnetv1alpha1.Vxlan, vxlanName string) (ctrl.Result, error)

func (*VxlanReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Vxlan object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*VxlanReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*VxlanReconciler) VxlanBridgeWatchMap

func (r *VxlanReconciler) VxlanBridgeWatchMap(obj client.Object) []reconcile.Request

Jump to

Keyboard shortcuts

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