Documentation ¶
Index ¶
- Variables
- func AddCommit(mgr manager.Manager) error
- func AddEditConfig(mgr manager.Manager) error
- func AddGet(mgr manager.Manager) error
- func AddGetConfig(mgr manager.Manager) error
- func AddLock(mgr manager.Manager) error
- func AddMountPoint(mgr manager.Manager) error
- func AddNotification(mgr manager.Manager) error
- func AddRPC(mgr manager.Manager) error
- func AddUnlock(mgr manager.Manager) error
- func CheckMountPointExists(r util.ReconcilerBase, namespacedName types.NamespacedName) bool
- func ValidateXML(data string, dataStruct interface{}) error
- type CommitReconciler
- type EditConfigReconciler
- type GetConfigReconciler
- type GetReconciler
- type LockReconciler
- type MountPointReconciler
- type NotificationReconciler
- type RPCReconciler
- type UnlockReconciler
Constants ¶
This section is empty.
Variables ¶
var ActiveNotifications = make(map[string]bool)
ActiveNotifications hold a map of active notification streams, identified by their CR NamespacedName (either CreateSubscription or EstablishSubscription). When the CR gets deleted, it is set to `false` and then removed from the map.
var ActiveStreams = make(map[string]bool)
var Sessions = make(map[string]*netconf.Session)
Sessions hold the active SSH session to Netconf servers. The key is the NamespacedName of the MountPoint object referred in the CR
Functions ¶
func AddEditConfig ¶
AddEditConfig Add creates a new MountPoint Controller and adds it to the Manager.
func AddGetConfig ¶
AddGetConfig Add creates a new MountPoint Controller and adds it to the Manager.
func AddMountPoint ¶
AddMountPoint Add creates a new MountPoint Controller and adds it to the Manager.
func AddNotification ¶
AddNotification Add creates a new MountPoint Controller and adds it to the Manager.
func CheckMountPointExists ¶
func CheckMountPointExists(r util.ReconcilerBase, namespacedName types.NamespacedName) bool
CheckMountPointExists validates a MountPoint, defined by its namespacedName, exists
func ValidateXML ¶
ValidateXML checks a provided string can be properly unmarshall in the specified struct
Types ¶
type CommitReconciler ¶
type CommitReconciler struct {
util.ReconcilerBase
}
CommitReconciler reconciles a Commit object
type EditConfigReconciler ¶
type EditConfigReconciler struct {
util.ReconcilerBase
}
EditConfigReconciler reconciles a EditConfig object
type GetConfigReconciler ¶
type GetConfigReconciler struct {
util.ReconcilerBase
}
GetConfigReconciler reconciles a GetConfig object
type GetReconciler ¶
type GetReconciler struct {
util.ReconcilerBase
}
GetReconciler reconciles a Get object
type LockReconciler ¶
type LockReconciler struct {
util.ReconcilerBase
}
LockReconciler reconciles a Lock object
type MountPointReconciler ¶
type MountPointReconciler struct {
util.ReconcilerBase
}
MountPointReconciler reconciles a MountPoint object
type NotificationReconciler ¶
type NotificationReconciler struct { util.ReconcilerBase // contains filtered or unexported fields }
NotificationReconciler reconciles a Notification object
type RPCReconciler ¶
type RPCReconciler struct {
util.ReconcilerBase
}
RPCReconciler reconciles a RPC object
type UnlockReconciler ¶
type UnlockReconciler struct {
util.ReconcilerBase
}
UnlockReconciler reconciles a Unlock object