applicationcontroller

package
v0.0.0-...-80930af Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CONDITION_MESSAGE_DATABASE_EXISTS = "The database exists"
View Source
const CONDITION_MESSAGE_DELETION_REQUEST_RECEIVED = "Application is supposed to be deleted"
View Source
const CONDITION_MESSAGE_FAILED_INSTALL_READY = "Not all requirements met"
View Source
const CONDITION_MESSAGE_INSTALL_READY = "All requirements met, attempting install"
View Source
const CONDITION_MESSAGE_RESOURCE_FOUND = "Resource found in k18n"
View Source
const CONDITION_MESSAGE_SUCCEEDED = "Application has been installed"
View Source
const CONDITION_REASON_DATABASE_EXISTS = "DatabaseExists"
View Source
const CONDITION_REASON_DELETION_REQUEST_RECEIVED = "DeletionRequestReceived"
View Source
const CONDITION_REASON_FAILED_INSTALL_READY = "RequirementsNotMet"
View Source
const CONDITION_REASON_INSTALL_READY = "AllRequirementsMet"
View Source
const CONDITION_REASON_RESOURCE_FOUND = "ResourceFound"
View Source
const CONDITION_REASON_SUCCEEDED = "InstallSucceeded"
View Source
const CONDITION_STATUS_FALSE = "False"
View Source
const CONDITION_STATUS_TRUE = "True"
View Source
const CONDITION_STATUS_UNKNOWN = "Unknown"
View Source
const CONDITION_TYPE_DATABASE_EXISTS = "DatabaseExists"

Note: Status of DATABASE_EXISTS can be True or False

View Source
const CONDITION_TYPE_DELETION_REQUEST_RECEIVED = "DeletionRequestReceived"

Note: Status of DELETION_REQUEST_RECEIVED can only be True

View Source
const CONDITION_TYPE_FAILED = "Failed"

Note: Status of FAILED can only be True

View Source
const CONDITION_TYPE_INSTALL_READY = "InstallReady"

Note: Status of INSTALL_READY can only be True, otherwise there is a failure condition

View Source
const CONDITION_TYPE_RESOURCE_FOUND = "ResourceFound"

Note: Status of RESOURCE_FOUND can only be True; otherwise there is no condition

View Source
const CONDITION_TYPE_SUCCEEDED = "Succeeded"

Note: Status of SUCCEEDED can only be True

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationReconciler

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

func (*ApplicationReconciler) Reconcile

func (reconciler *ApplicationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

+kubebuilder:rbac:groups=database.sample.third.party,resources=databases,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=application.sample.ibm.com,resources=applications,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=application.sample.ibm.com,resources=applications/status,verbs=get;update;patch +kubebuilder:rbac:groups=application.sample.ibm.com,resources=applications/finalizers,verbs=update +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;create;update;patch;delete

func (*ApplicationReconciler) SetupWithManager

func (reconciler *ApplicationReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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