mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-15 17:51:03 +00:00
44 lines
1.6 KiB
Go
44 lines
1.6 KiB
Go
//
|
|
// DISCLAIMER
|
|
//
|
|
// Copyright 2018 ArangoDB GmbH, Cologne, Germany
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
// Copyright holder is ArangoDB GmbH, Cologne, Germany
|
|
//
|
|
// Author Ewout Prangsma
|
|
//
|
|
|
|
package v1alpha
|
|
|
|
// DeploymentReplicationStatus contains the status part of
|
|
// an ArangoDeploymentReplication.
|
|
type DeploymentReplicationStatus struct {
|
|
// Phase holds the current lifetime phase of the deployment replication
|
|
Phase DeploymentReplicationPhase `json:"phase,omitempty"`
|
|
// Reason contains a human readable reason for reaching the current phase (can be empty)
|
|
Reason string `json:"reason,omitempty"` // Reason for current phase
|
|
|
|
// Conditions specific to the entire deployment replication
|
|
Conditions ConditionList `json:"conditions,omitempty"`
|
|
|
|
// Source contains the detailed status of the source endpoint
|
|
Source EndpointStatus `json:"source"`
|
|
// Destination contains the detailed status of the destination endpoint
|
|
Destination EndpointStatus `json:"destination"`
|
|
|
|
// CancelFailures records the number of times that the configuration was canceled
|
|
// which resulted in an error.
|
|
CancelFailures int `json:"cancel-failures,omitempty"`
|
|
}
|