actions

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

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

func (*AppLogs) Read added in v0.2.0

func (a *AppLogs) Read(ctx context.Context, logger logr.Logger, authInfo authorization.Info, appGUID string, read payloads.LogRead) ([]repositories.LogRecord, error)

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

func (*Manifest) Apply added in v0.2.0

func (a *Manifest) Apply(ctx context.Context, authInfo authorization.Info, spaceGUID string, manifest payloads.Manifest) error

type Normalizer added in v0.3.0

type Normalizer interface {
	Normalize(appInfo payloads.ManifestApplication, appState manifest.AppState) payloads.ManifestApplication
}

type ProcessScaler added in v0.2.0

type ProcessScaler struct {
	// contains filtered or unexported fields
}

func NewProcessScaler added in v0.2.0

func NewProcessScaler(appRepo shared.CFAppRepository, processRepo shared.CFProcessRepository) *ProcessScaler

func (*ProcessScaler) ScaleAppProcess added in v0.2.0

func (a *ProcessScaler) ScaleAppProcess(ctx context.Context, authInfo authorization.Info, appGUID string, processType string, scale repositories.ProcessScaleValues) (repositories.ProcessRecord, error)

func (*ProcessScaler) ScaleProcess added in v0.2.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, podRepo shared.PodRepository, appRepo shared.CFAppRepository) *ProcessStats

func (*ProcessStats) FetchStats added in v0.2.0

func (a *ProcessStats) FetchStats(ctx context.Context, authInfo authorization.Info, processGUID string) ([]repositories.PodStatsRecord, error)

type StateCollector added in v0.3.0

type StateCollector interface {
	CollectState(ctx context.Context, authInfo authorization.Info, appName, spaceGUID string) (manifest.AppState, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.
fake
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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