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 GetOperationPhase(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 GetOperationPhase ¶
func GetOperationPhase(a argocdv1alpha1.Application) synccommon.OperationPhase
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.