controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadTestMissing added in v1.0.0

type LoadTestMissing struct {
	// Driver is the component that orchestrates the test. If Driver is not set
	// that means we already have the Driver running.
	Driver *grpcv1.Driver `json:"driver,omitempty"`

	// Servers are a list of components that receive traffic from. The list
	// indicates the Servers still in need.
	Servers []grpcv1.Server `json:"servers,omitempty"`

	// Clients are a list of components that send traffic to servers. The list
	// indicates the Clients still in need.
	Clients []grpcv1.Client `json:"clients,omitempty"`
}

LoadTestMissing categorize missing components based on their roles at specific moment. The struct is a wrapper to help us get role information associate with components.

type LoadTestReconciler

type LoadTestReconciler struct {
	client.Client
	Defaults *config.Defaults
	Log      logr.Logger
	Scheme   *runtime.Scheme
}

LoadTestReconciler reconciles a LoadTest object

func (*LoadTestReconciler) Reconcile

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

Reconcile attempts to bring the current state of the load test into agreement with its declared spec. This may mean provisioning resources, doing nothing or handling the termination of its pods.

func (*LoadTestReconciler) SetupWithManager

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

SetupWithManager configures a controller-runtime manager.

Jump to

Keyboard shortcuts

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