Documentation ¶
Index ¶
- Constants
- func BaseController(name string, config config.OptionSource) controller.Configuration
- func String(r netlink.Route) string
- type Common
- type Config
- type Reconciler
- func (this *Reconciler) Command(logger logger.LogContext, cmd string) reconcile.Status
- func (this *Reconciler) Config() config.OptionSource
- func (this *Reconciler) Delete(logger logger.LogContext, obj resources.Object) reconcile.Status
- func (this *Reconciler) Deleted(logger logger.LogContext, key resources.ClusterObjectKey) reconcile.Status
- func (this *Reconciler) Links() *kubelink.Links
- func (this *Reconciler) NodeInterface() *kubelink.NodeInterface
- func (this *Reconciler) Reconcile(logger logger.LogContext, obj resources.Object) reconcile.Status
- func (this *Reconciler) ReconcileAngGetLink(logger logger.LogContext, obj resources.Object, ...) (*kubelink.Link, reconcile.Status)
- func (this *Reconciler) ReconcileLink(logger logger.LogContext, obj resources.Object, ...) reconcile.Status
- func (this *Reconciler) Setup()
- func (this *Reconciler) SetupIPIP() error
- func (this *Reconciler) Start()
- func (this *Reconciler) WaitIPIP()
- func (this *Reconciler) WaitNetworkReady()
- type ReconcilerImplementation
- type StatusUpdater
Constants ¶
View Source
const CMD_UPDATE = "update"
View Source
const IPIP_CONFIGURE = "configure"
View Source
const IPIP_NONE = "none"
View Source
const IPIP_SHARED = "shared"
View Source
const IPTAB = "nat"
Variables ¶
This section is empty.
Functions ¶
func BaseController ¶
func BaseController(name string, config config.OptionSource) controller.Configuration
Types ¶
type Common ¶
type Common struct { reconcile.DefaultReconciler // contains filtered or unexported fields }
func NewCommon ¶
func NewCommon(controller controller.Interface) Common
func (*Common) Controller ¶
func (this *Common) Controller() controller.Interface
func (*Common) TriggerLink ¶
func (*Common) TriggerUpdate ¶
func (this *Common) TriggerUpdate()
type Reconciler ¶
func CreateBaseReconciler ¶
func CreateBaseReconciler(controller controller.Interface, impl ReconcilerImplementation) (*Reconciler, error)
func (*Reconciler) Command ¶
func (this *Reconciler) Command(logger logger.LogContext, cmd string) reconcile.Status
func (*Reconciler) Config ¶
func (this *Reconciler) Config() config.OptionSource
func (*Reconciler) Delete ¶
func (this *Reconciler) Delete(logger logger.LogContext, obj resources.Object) reconcile.Status
func (*Reconciler) Deleted ¶
func (this *Reconciler) Deleted(logger logger.LogContext, key resources.ClusterObjectKey) reconcile.Status
func (*Reconciler) Links ¶
func (this *Reconciler) Links() *kubelink.Links
func (*Reconciler) NodeInterface ¶
func (this *Reconciler) NodeInterface() *kubelink.NodeInterface
func (*Reconciler) Reconcile ¶
func (this *Reconciler) Reconcile(logger logger.LogContext, obj resources.Object) reconcile.Status
func (*Reconciler) ReconcileAngGetLink ¶
func (*Reconciler) ReconcileLink ¶
func (this *Reconciler) ReconcileLink(logger logger.LogContext, obj resources.Object, updater func(logger logger.LogContext, link *v1alpha1.KubeLink, entry *kubelink.Link) (error, error)) reconcile.Status
func (*Reconciler) Setup ¶
func (this *Reconciler) Setup()
func (*Reconciler) SetupIPIP ¶
func (this *Reconciler) SetupIPIP() error
func (*Reconciler) Start ¶
func (this *Reconciler) Start()
func (*Reconciler) WaitIPIP ¶
func (this *Reconciler) WaitIPIP()
func (*Reconciler) WaitNetworkReady ¶
func (this *Reconciler) WaitNetworkReady()
Click to show internal directories.
Click to hide internal directories.