Documentation
¶
Index ¶
Constants ¶
View Source
const ( RefreshTypeNormal = "normal" TargetRevisionMaster = "master" PatchTypeMerge = "merge" )
View Source
const ( Degraded = "Degraded" Healthy = "Healthy" Progressing = "Progressing" Suspended = "Suspended" TimeoutFast = 10 * time.Second TimeoutSlow = 30 * time.Second TimeoutLazy = 60 * time.Second HIBERNATING = "HIBERNATING" SUCCEEDED = "Succeeded" )
View Source
const ArgoRepoSyncDelayErr = "Unable to resolve 'HEAD' to a commit SHA"
ArgoRepoSyncDelayErr - This error occurs inconsistently; ArgoCD requires 80-120s after last commit for create repository operation
View Source
const RegisterRepoMaxRetryCount = 3
RegisterRepoMaxRetryCount is the maximum retries to be performed to register a repository in ArgoCd
Variables ¶
View Source
var EmptyRepoErrorList = []string{"failed to get index: 404 Not Found", "remote repository is empty"}
EmptyRepoErrorList - ArgoCD can't register empty repo and throws these error message in such cases
Functions ¶
This section is empty.
Types ¶
type ArgoCdAppPatchReqDto ¶ added in v0.6.29
type ErrUnauthorized ¶ added in v0.6.29
type ErrUnauthorized struct {
// contains filtered or unexported fields
}
func NewErrUnauthorized ¶ added in v0.6.29
func NewErrUnauthorized(message string) *ErrUnauthorized
func (*ErrUnauthorized) Error ¶ added in v0.6.29
func (e *ErrUnauthorized) Error() string
type PodMetadata ¶ added in v0.6.29
type PodMetadata struct {
Name string `json:"name"`
UID string `json:"uid"`
Containers []*string `json:"containers"`
InitContainers []*string `json:"initContainers"`
IsNew bool `json:"isNew"`
// EphemeralContainers are set for Pod kind manifest response only
// will always contain running ephemeral containers
// +optional
EphemeralContainers []*k8sObjectsUtil.EphemeralContainerData `json:"ephemeralContainers"`
}
type ResourceTreeResponse ¶ added in v0.6.29
type ResourceTreeResponse struct {
*v1alpha1.ApplicationTree
NewGenerationReplicaSets []string `json:"newGenerationReplicaSets"`
Status string `json:"status"`
RevisionHash string `json:"revisionHash"`
PodMetadata []*PodMetadata `json:"podMetadata"`
Conditions []v1alpha1.ApplicationCondition `json:"conditions"`
ResourcesSyncResultMap map[string]string `json:"resourcesSyncResult"`
}
type Result ¶ added in v0.6.29
type Result struct {
Response *application.ApplicationResourceResponse
Error error
Request *application.ApplicationResourceRequest
}
Click to show internal directories.
Click to hide internal directories.