missioncontroller

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderMapping = map[string]string{
	"GCP":   "provider-gcp",
	"AWS":   "",
	"AZURE": "",
}

Functions

This section is empty.

Types

type MissionKeyReconciler

type MissionKeyReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*MissionKeyReconciler) Reconcile

func (r *MissionKeyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*MissionKeyReconciler) SetupWithManager

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

type MissionReconciler

type MissionReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

func (*MissionReconciler) ConfirmCRD

func (r *MissionReconciler) ConfirmCRD(ctx context.Context, crdNameVersion string) (*apiextensionsv1.CustomResourceDefinition, error)

func (*MissionReconciler) ConfirmProvider

func (r *MissionReconciler) ConfirmProvider(ctx context.Context, mission *missionv1alpha1.Mission, providerName string) error

func (*MissionReconciler) GetProvider

func (r *MissionReconciler) GetProvider(ctx context.Context, providerName string) (*cpv1.Provider, error)

func (*MissionReconciler) Reconcile

func (r *MissionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*MissionReconciler) ReconcilePackageStatus

func (r *MissionReconciler) ReconcilePackageStatus(ctx context.Context, mission *missionv1alpha1.Mission, provider *cpv1.Provider) error

func (*MissionReconciler) ReconcileProviderConfig

func (r *MissionReconciler) ReconcileProviderConfig(ctx context.Context, pkg *missionv1alpha1.PackageConfig, mission *missionv1alpha1.Mission) error

func (*MissionReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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