Documentation
¶
Index ¶
Constants ¶
View Source
const ( CPU_USED_HISTORY_SIZE = 20 MEM_USED_HISTORY_SIZE = 20 )
View Source
const ProblemEnvironmentFinalizer string = "problemenvironment.netcon.janog.gr.jp"
View Source
const StatusRefreshInterval = 5 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeartbeatAgent ¶
func NewHeartbeatAgent ¶
type ProblemEnvironmentReconciler ¶
type ProblemEnvironmentReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
MaxConcurrentReconciles int
// WorkerName is the name of worker where nclet places
WorkerName string
ProblemEnvironmentDriver drivers.ProblemEnvironmentDriver
}
ProblemEnvironmentReconciler reconciles a ProblemEnvironment object
func (*ProblemEnvironmentReconciler) Reconcile ¶
func (r *ProblemEnvironmentReconciler) 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.
func (*ProblemEnvironmentReconciler) SetupWithManager ¶
func (r *ProblemEnvironmentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SSHServer ¶
func NewSSHServer ¶
func (*SSHServer) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.