Documentation
¶
Index ¶
Constants ¶
View Source
const ( AppSourceType = "APP" AnnotationAppName = "cloudfoundry.org/application_name" AnnotationVersion = "cloudfoundry.org/version" AnnotationAppID = "cloudfoundry.org/application_id" AnnotationSpaceName = "cloudfoundry.org/space_name" AnnotationOrgName = "cloudfoundry.org/org_name" AnnotationOrgGUID = "cloudfoundry.org/org_guid" AnnotationSpaceGUID = "cloudfoundry.org/space_guid" AnnotationProcessGUID = "cloudfoundry.org/process_guid" AnnotationLastReportedAppCrash = "cloudfoundry.org/last_reported_app_crash" AnnotationLastReportedLRPCrash = "cloudfoundry.org/last_reported_lrp_crash" LabelGUID = "cloudfoundry.org/guid" LabelOrgGUID = AnnotationOrgGUID LabelOrgName = AnnotationOrgName LabelSpaceGUID = AnnotationSpaceGUID LabelSpaceName = AnnotationSpaceName LabelVersion = "cloudfoundry.org/version" LabelAppGUID = "cloudfoundry.org/app_guid" LabelProcessType = "cloudfoundry.org/process_type" LabelSourceType = "cloudfoundry.org/source_type" ApplicationContainerName = "opi" PdbMinAvailableInstances = 1 PrivateRegistrySecretGenerateName = "private-registry-" )
View Source
const PodAffinityTermWeight = 100
Variables ¶
This section is empty.
Functions ¶
func StatefulSetLabelSelector ¶
func StatefulSetLabelSelector(lrp *eiriniv1.LRP) *metav1.LabelSelector
Types ¶
type Desirer ¶
type Desirer struct {
// contains filtered or unexported fields
}
func NewDesirer ¶
func NewDesirer( logger lager.Logger, lrpToStatefulSetConverter LRPToStatefulSetConverter, podDisruptionBudgetCreator PodDisruptionBudgetUpdater, client client.Client, scheme *runtime.Scheme, ) *Desirer
type LRPToStatefulSet ¶
type LRPToStatefulSet struct {
// contains filtered or unexported fields
}
func NewLRPToStatefulSetConverter ¶
func NewLRPToStatefulSetConverter( applicationServiceAccount string, registrySecretName string, allowAutomountServiceAccountToken bool, allowRunImageAsRoot bool, livenessProbeCreator ProbeCreator, readinessProbeCreator ProbeCreator, ) *LRPToStatefulSet
Click to show internal directories.
Click to hide internal directories.