Documentation ¶
Index ¶
- func GetDeploymentURL(a argocdv1alpha1.Application) string
- func GetExternalURL(ctx context.Context, c client.Client, namespace string) (string, error)
- func GetLastOperationAt(a argocdv1alpha1.Application) metav1.Time
- func GetSyncOperationFinishedAt(a argocdv1alpha1.Application) *metav1.Time
- func GetSyncOperationPhase(a argocdv1alpha1.Application) synccommon.OperationPhase
- type SourceRevision
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeploymentURL ¶
func GetDeploymentURL(a argocdv1alpha1.Application) string
GetDeploymentURL returns the deployment URL in annotations
func GetExternalURL ¶
GetExternalURL returns the URL of Argo CD if available. See https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cm.yaml
func GetLastOperationAt ¶
func GetLastOperationAt(a argocdv1alpha1.Application) metav1.Time
GetLastOperationAt returns OperationState.FinishedAt, OperationState.StartedAt or zero Time.
func GetSyncOperationFinishedAt ¶ added in v1.17.0
func GetSyncOperationFinishedAt(a argocdv1alpha1.Application) *metav1.Time
func GetSyncOperationPhase ¶ added in v1.16.1
func GetSyncOperationPhase(a argocdv1alpha1.Application) synccommon.OperationPhase
GetSyncOperationPhase returns OperationState.Phase or empty string.
Types ¶
type SourceRevision ¶
type SourceRevision struct { Source argocdv1alpha1.ApplicationSource Revision string }
func GetSourceRevisions ¶
func GetSourceRevisions(app argocdv1alpha1.Application) []SourceRevision
GetSourceRevisions returns the last synced revisions
Click to show internal directories.
Click to hide internal directories.