Documentation
¶
Index ¶
- Constants
- func IsMutableDevelopmentImage(image string) bool
- func ObservabilityNetworkName(m application.Manifest) string
- func ObservabilityNetworkNameForRuntime(m application.Manifest, files application.RuntimeFiles) string
- func OwnedRuntimeResources(m application.Manifest, files application.RuntimeFiles) ([]bhruntime.ProjectResource, error)
- func ProjectName(m application.Manifest) string
- func ProjectNameForRuntime(m application.Manifest, files application.RuntimeFiles) string
- func RetireContainer(ctx context.Context, provider bhruntime.RuntimeProvider, ...) (bhruntime.RuntimeRetirement, error)
- type Files
Constants ¶
View Source
const ( DefaultImage = "ghcr.io/mcpdev80/baseharbor-runtime:edge" ServiceName = "broker" RuntimeURL = "https://baseharbor-runtime:8443" )
Variables ¶
This section is empty.
Functions ¶
func IsMutableDevelopmentImage ¶ added in v0.4.15
func ObservabilityNetworkName ¶ added in v0.4.15
func ObservabilityNetworkName(m application.Manifest) string
func ObservabilityNetworkNameForRuntime ¶ added in v0.4.15
func ObservabilityNetworkNameForRuntime(m application.Manifest, files application.RuntimeFiles) string
func OwnedRuntimeResources ¶ added in v0.4.25
func OwnedRuntimeResources(m application.Manifest, files application.RuntimeFiles) ([]bhruntime.ProjectResource, error)
OwnedRuntimeResources uses the names of the existing broker renderer. Shared secrets/control/telemetry networks and application-owned backend networks are external to this owner and cannot become broker deletion targets.
func ProjectName ¶
func ProjectName(m application.Manifest) string
func ProjectNameForRuntime ¶ added in v0.4.15
func ProjectNameForRuntime(m application.Manifest, files application.RuntimeFiles) string
func RetireContainer ¶ added in v0.4.25
func RetireContainer(ctx context.Context, provider bhruntime.RuntimeProvider, m application.Manifest, files application.RuntimeFiles) (bhruntime.RuntimeRetirement, error)
RetireContainer removes only the broker declared by the existing application owner. Workloads and native backends share its project, so project-wide Down is not a broker lifecycle operation. The native adapter verifies ownership and never receives a volume or network deletion target.
Types ¶
type Files ¶
func Ensure ¶
func Ensure(m application.Manifest, appFiles application.RuntimeFiles, mtls openbao.RuntimeMTLSFiles, openbaoCAPath string) (Files, error)
func Existing ¶
func Existing(appFiles application.RuntimeFiles) (Files, error)
Click to show internal directories.
Click to hide internal directories.