Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Replication ¶
type Replication struct {
PolicyID int64 `json:"policy_id"`
}
Replication defines the properties of model used in replication API
type ReplicationPolicy ¶
type ReplicationPolicy struct { ID int64 `json:"id"` Name string `json:"name"` Description string `json:"description"` Filters []rep_models.Filter `json:"filters"` ReplicateDeletion bool `json:"replicate_deletion"` Trigger *rep_models.Trigger `json:"trigger"` Projects []*common_models.Project `json:"projects"` Targets []*common_models.RepTarget `json:"targets"` CreationTime time.Time `json:"creation_time"` UpdateTime time.Time `json:"update_time"` ReplicateExistingImageNow bool `json:"replicate_existing_image_now"` ErrorJobCount int64 `json:"error_job_count"` }
ReplicationPolicy defines the data model used in API level
func (*ReplicationPolicy) Valid ¶
func (r *ReplicationPolicy) Valid(v *validation.Validation)
Valid ...
type StopJobsReq ¶
StopJobsReq holds information needed to stop the jobs for a replication rule
Click to show internal directories.
Click to hide internal directories.