Documentation
¶
Index ¶
- func IsNotFoundError(err error) bool
- type Client
- type Comment
- type DeploymentStatus
- func NewDeploymentStatusOnDeletion(app argocdv1alpha1.Application, argocdURL string) *DeploymentStatus
- func NewDeploymentStatusOnHealthChanged(app argocdv1alpha1.Application, argocdURL string) *DeploymentStatus
- func NewDeploymentStatusOnPhaseChanged(app argocdv1alpha1.Application, argocdURL string) *DeploymentStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFoundError ¶ added in v1.14.0
Types ¶
type Client ¶
type Client interface { CreateComment(ctx context.Context, comment Comment, app argocdv1alpha1.Application) error CreateDeployment(ctx context.Context, ds DeploymentStatus) error CheckIfDeploymentIsAlreadyHealthy(ctx context.Context, deploymentURL string) (bool, error) }
type Comment ¶ added in v1.14.3
type Comment struct { GitHubRepository github.Repository Revision string Body string }
func NewCommentOnOnHealthChanged ¶ added in v1.14.3
func NewCommentOnOnHealthChanged(app argocdv1alpha1.Application, argocdURL string) *Comment
func NewCommentOnOnPhaseChanged ¶ added in v1.14.3
func NewCommentOnOnPhaseChanged(app argocdv1alpha1.Application, argocdURL string) *Comment
type DeploymentStatus ¶ added in v1.14.3
type DeploymentStatus struct { GitHubDeployment github.Deployment GitHubDeploymentStatus github.DeploymentStatus }
func NewDeploymentStatusOnDeletion ¶ added in v1.14.3
func NewDeploymentStatusOnDeletion(app argocdv1alpha1.Application, argocdURL string) *DeploymentStatus
func NewDeploymentStatusOnHealthChanged ¶ added in v1.14.3
func NewDeploymentStatusOnHealthChanged(app argocdv1alpha1.Application, argocdURL string) *DeploymentStatus
func NewDeploymentStatusOnPhaseChanged ¶ added in v1.14.3
func NewDeploymentStatusOnPhaseChanged(app argocdv1alpha1.Application, argocdURL string) *DeploymentStatus
Click to show internal directories.
Click to hide internal directories.