trial

package
v0.0.0-...-9fb1a10 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "trial-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ReconcileTrial

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

	dbclient.DBClient
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(mgr manager.Manager) *ReconcileTrial

func (*ReconcileTrial) ControllerName

func (r *ReconcileTrial) ControllerName() string

func (*ReconcileTrial) Reconcile

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

Reconcile reads that state of the cluster for a trial object and makes changes based on the state read

func (*ReconcileTrial) SetupWithManager

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

func (*ReconcileTrial) UpdateTrialStatusByClientJob

func (r *ReconcileTrial) UpdateTrialStatusByClientJob(instance *morphlingv1alpha1.Trial, deployedJob *batchv1.Job) error

func (*ReconcileTrial) UpdateTrialStatusByServiceDeployment

func (r *ReconcileTrial) UpdateTrialStatusByServiceDeployment(instance *morphlingv1alpha1.Trial, deployedDeployment *appsv1.Deployment)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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