Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApplicationContainerName = "application" EnvCFInstanceIndex = "CF_INSTANCE_INDEX" LabelGUID = "korifi.cloudfoundry.org/guid" LabelVersion = "korifi.cloudfoundry.org/version" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppLogs ¶ added in v0.2.0
type AppLogs struct {
// contains filtered or unexported fields
}
func NewAppLogs ¶ added in v0.2.0
func NewAppLogs(appRepo shared.CFAppRepository, buildRepo shared.CFBuildRepository, podRepo shared.PodRepository) *AppLogs
type Applier ¶ added in v0.3.0
type Applier interface {
Apply(ctx context.Context, authInfo authorization.Info, spaceGUID string, appInfo payloads.ManifestApplication, appState manifest.AppState) error
}
type Manifest ¶ added in v0.2.0
type Manifest struct {
// contains filtered or unexported fields
}
func NewManifest ¶ added in v0.2.0
func NewManifest(domainRepo shared.CFDomainRepository, defaultDomainName string, stateCollector StateCollector, normalizer Normalizer, applier Applier, ) *Manifest
type MetricsRepository ¶ added in v0.6.0
type MetricsRepository interface {
GetMetrics(ctx context.Context, authInfo authorization.Info, namespace string, podSelector client.MatchingLabels) ([]repositories.PodMetrics, error)
}
type Normalizer ¶ added in v0.3.0
type Normalizer interface {
Normalize(appInfo payloads.ManifestApplication, appState manifest.AppState) payloads.ManifestApplication
}
type PodStatsRecord ¶ added in v0.6.0
type ProcessStats ¶ added in v0.2.0
type ProcessStats struct {
// contains filtered or unexported fields
}
func NewProcessStats ¶ added in v0.2.0
func NewProcessStats(processRepo shared.CFProcessRepository, appRepo shared.CFAppRepository, metricsRepo MetricsRepository) *ProcessStats
func (*ProcessStats) FetchStats ¶ added in v0.2.0
func (a *ProcessStats) FetchStats(ctx context.Context, authInfo authorization.Info, processGUID string) ([]PodStatsRecord, error)
type StateCollector ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.