Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HealthStatusesForComment = []health.HealthStatusCode{ health.HealthStatusHealthy, health.HealthStatusDegraded, }
View Source
var HealthStatusesForDeploymentStatus = []health.HealthStatusCode{ health.HealthStatusHealthy, health.HealthStatusDegraded, }
View Source
var SyncOperationPhasesForComment = []synccommon.OperationPhase{ synccommon.OperationRunning, synccommon.OperationSucceeded, synccommon.OperationFailed, synccommon.OperationError, }
View Source
var SyncOperationPhasesForDeploymentStatus = []synccommon.OperationPhase{ synccommon.OperationRunning, synccommon.OperationSucceeded, synccommon.OperationFailed, synccommon.OperationError, }
Functions ¶
func IsNotFoundError ¶
Types ¶
type Client ¶
type Client interface { CreateCommentsOnPhaseChanged(ctx context.Context, app argocdv1alpha1.Application, argocdURL string) error CreateCommentsOnHealthChanged(ctx context.Context, app argocdv1alpha1.Application, argocdURL string) error CreateDeploymentStatusOnPhaseChanged(ctx context.Context, app argocdv1alpha1.Application, argocdURL string) error CreateDeploymentStatusOnHealthChanged(ctx context.Context, app argocdv1alpha1.Application, argocdURL string) error CreateDeploymentStatusOnDeletion(ctx context.Context, app argocdv1alpha1.Application, argocdURL string) error CheckIfDeploymentIsAlreadyHealthy(ctx context.Context, deploymentURL string) (bool, error) }
type Comment ¶
type Comment struct { GitHubRepository github.Repository SourceRevision argocd.SourceRevision Body string }
type DeploymentStatus ¶
type DeploymentStatus struct { GitHubDeployment github.Deployment GitHubDeploymentStatus github.DeploymentStatus }
Click to show internal directories.
Click to hide internal directories.