controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NaglfarClusterNs        = "NAGLFAR_CLUSTER_NS"
	NaglfarTestWorkloadName = "NAGLFAR_TESTWORKLOAD_NAME"
	NaglfarTestWorkloadItem = "NAGLFAR_TESTWORKLOAD_WORKLOAD_ITEM"
)

Variables

View Source
var ScriptBox = packr.NewBox("../scripts")

Functions

func BuildInjectEnvs

func BuildInjectEnvs(t *naglfarv1.TestClusterTopology, resources []*naglfarv1.TestResource) (envs []string, err error)

func MakeSSHConfig

func MakeSSHConfig(spec *naglfarv1.MachineSpec) *easyssh.MakeConfig

Types

type MachineReconciler

type MachineReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

MachineReconciler reconciles a Machine object

func (*MachineReconciler) Reconcile

func (r *MachineReconciler) Reconcile(req ctrl.Request) (result ctrl.Result, err error)

func (*MachineReconciler) SetupWithManager

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

type RelationshipReconciler

type RelationshipReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

RelationshipReconciler reconciles a relationship object

func (*RelationshipReconciler) Reconcile

func (r *RelationshipReconciler) Reconcile(req ctrl.Request) (result ctrl.Result, err error)

func (*RelationshipReconciler) SetupWithManager

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

type TestClusterTopologyReconciler

type TestClusterTopologyReconciler struct {
	client.Client
	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

TestClusterTopologyReconciler reconciles a TestClusterTopology object

func (*TestClusterTopologyReconciler) Reconcile

func (*TestClusterTopologyReconciler) SetupWithManager

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

type TestResourceReconciler

type TestResourceReconciler struct {
	client.Client
	Ctx     context.Context
	Log     logr.Logger
	Eventer record.EventRecorder
	Scheme  *runtime.Scheme
}

TestResourceReconciler reconciles a TestResource object

func (*TestResourceReconciler) Reconcile

func (r *TestResourceReconciler) Reconcile(req ctrl.Request) (result ctrl.Result, err error)

func (*TestResourceReconciler) SetupWithManager

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

type TestResourceRequestReconciler

type TestResourceRequestReconciler struct {
	client.Client
	Log     logr.Logger
	Eventer record.EventRecorder
	Scheme  *runtime.Scheme
}

TestResourceRequestReconciler reconciles a TestResourceRequest object

func (*TestResourceRequestReconciler) Reconcile

func (r *TestResourceRequestReconciler) Reconcile(req ctrl.Request) (result ctrl.Result, err error)

TODO: fail

func (*TestResourceRequestReconciler) SetupWithManager

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

type TestWorkflowReconciler

type TestWorkflowReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

TestWorkflowReconciler reconciles a TestWorkflow object

func (*TestWorkflowReconciler) Reconcile

func (r *TestWorkflowReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*TestWorkflowReconciler) SetupWithManager

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

type TestWorkloadReconciler

type TestWorkloadReconciler struct {
	client.Client
	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

TestWorkloadReconciler reconciles a TestWorkload object

func (*TestWorkloadReconciler) Reconcile

func (r *TestWorkloadReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*TestWorkloadReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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