applications

package
v0.0.0-...-cc4391a Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStatus

type AppStatus struct {
	Phase              Phase             `json:"phase,omitempty"`
	CurrentSyncStatus  CurrentSyncStatus `json:"currentSyncStatus,omitempty"`
	LastSyncResult     LastSyncResult    `json:"lastSyncResult,omitempty"`
	Health             Health            `json:"health,omitempty"`
	LastDeploymentTime *metav1.Time      `json:"lastDeploymentTime,omitempty" protobuf:"bytes,6,opt,name=lastDeploymentTime"`
}

type Application

type Application interface {
	InitStatus()
	GetSpec() interface{}
	GetAppStatus() AppStatus
	GetConditionsStatus() *[]metav1.Condition
	GetStatus(string) string
	SetSpec(interface{})
	SetAppStatus(AppStatus)
	SetStatus(string, string)
}

type CurrentSyncStatus

type CurrentSyncStatus string
const (
	OutOfSync  CurrentSyncStatus = "OutOfSync"
	Syncing    CurrentSyncStatus = "Syncing"
	Synced     CurrentSyncStatus = "Synced"
	SyncFailed CurrentSyncStatus = "SyncFailed"
)

type DeploymentType

type DeploymentType string
const (
	Standard    DeploymentType = "Standard"
	MultiRegion DeploymentType = "MultiRegion"
	MultiCloud  DeploymentType = "MultiCloud"
)

type Health

type Health string
const (
	Missing     Health = "Missing"
	Progressing Health = "Progressing"
	Healthy     Health = "Healthy"
	Degraded    Health = "Degraded"
)

type LastSyncResult

type LastSyncResult string
const (
	SyncOk    LastSyncResult = "SyncOk"
	SyncError LastSyncResult = "SyncError"
)

type Phase

type Phase string
const (
	Rollout  Phase = "Rollout"
	Rollback Phase = "Rollback"
	Failover Phase = "Failover"
	Fallback Phase = "Fallback"
)

type Role

type Role string
const (
	Primary   Role = "Primary"
	Secondary Role = "Secondary"
)

Jump to

Keyboard shortcuts

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