controllers

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CRDNotFound = fmt.Errorf("CRDNotFound")
)

Functions

This section is empty.

Types

type CustomResourceDiscoveryReconciler

type CustomResourceDiscoveryReconciler struct {
	Log logr.Logger

	ManagementClient client.Client
	ManagementScheme *runtime.Scheme
	ServiceClient    client.Client
	ServiceCache     cache.Cache

	ServiceClusterName string
}

CustomResourceDiscoveryReconciler reconciles a CustomResourceDiscovery object

func (*CustomResourceDiscoveryReconciler) Reconcile

func (*CustomResourceDiscoveryReconciler) SetupWithManager

func (r *CustomResourceDiscoveryReconciler) SetupWithManager(managementMgr ctrl.Manager) error

type ServerVersionInfo

type ServerVersionInfo interface {
	ServerVersion() (*version.Info, error)
}

type ServiceClusterAssignmentReconciler

type ServiceClusterAssignmentReconciler struct {
	Log logr.Logger

	ManagementClient   client.Client
	ServiceClient      client.Client
	ServiceCache       cache.Cache
	ManagementScheme   *runtime.Scheme
	ServiceClusterName string
}

ServiceClusterAssignmentReconciler reconciles a ServiceClusterAssignment object

func (*ServiceClusterAssignmentReconciler) Reconcile

func (*ServiceClusterAssignmentReconciler) SetupWithManager

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

type ServiceClusterReconciler

type ServiceClusterReconciler struct {
	Log logr.Logger

	ManagementClient          client.Client
	ServiceClusterVersionInfo ServerVersionInfo
	ProviderNamespace         string
	ServiceClusterName        string
	StatusUpdatePeriod        time.Duration
}

ServiceClusterReconciler sends a heartbeat to KubeCarrier to signal its readyness.

func (*ServiceClusterReconciler) Reconcile

func (r *ServiceClusterReconciler) Reconcile(req ctrl.Request) (res ctrl.Result, err error)

func (*ServiceClusterReconciler) SetupWithManager

func (r *ServiceClusterReconciler) SetupWithManager(managementMgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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