Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppSourceType = "APP" AnnotationAppName = "korifi.cloudfoundry.org/application-name" AnnotationVersion = "korifi.cloudfoundry.org/version" AnnotationAppID = "korifi.cloudfoundry.org/application-id" AnnotationSpaceName = "korifi.cloudfoundry.org/space-name" AnnotationOrgName = "korifi.cloudfoundry.org/org-name" AnnotationOrgGUID = "korifi.cloudfoundry.org/org-guid" AnnotationSpaceGUID = "korifi.cloudfoundry.org/space-guid" AnnotationProcessGUID = "korifi.cloudfoundry.org/process-guid" AnnotationLastReportedAppCrash = "korifi.cloudfoundry.org/last-reported-app-crash" AnnotationLastReportedLRPCrash = "korifi.cloudfoundry.org/last-reported-lrp-crash" LabelGUID = "korifi.cloudfoundry.org/guid" LabelOrgGUID = AnnotationOrgGUID LabelOrgName = AnnotationOrgName LabelSpaceGUID = AnnotationSpaceGUID LabelSpaceName = AnnotationSpaceName LabelVersion = "korifi.cloudfoundry.org/version" LabelAppGUID = "korifi.cloudfoundry.org/app-guid" LabelProcessType = "korifi.cloudfoundry.org/process-type" LabelSourceType = "korifi.cloudfoundry.org/source-type" ApplicationContainerName = "opi" PdbMinAvailableInstances = 1 PrivateRegistrySecretGenerateName = "private-registry-" )
View Source
const PodAffinityTermWeight = 100
Variables ¶
This section is empty.
Functions ¶
func MebibyteQuantity ¶ added in v0.3.0
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, livenessProbeCreator ProbeCreator, readinessProbeCreator ProbeCreator, ) *LRPToStatefulSet
Click to show internal directories.
Click to hide internal directories.