Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodedString ¶
type GitHttpHook ¶
type Pagination ¶
type SyncAction ¶
type SyncAction string
const ( SyncActionApply SyncAction = "APPLY" SyncActionDelete SyncAction = "DELETE" )
type SyncState ¶
type SyncState string
const ( SyncStateIdle SyncState = "IDLE" SyncStateInQueue SyncState = "IN_QUEUE" SyncStateAppliedAtAgent SyncState = "APPLIED_AT_AGENT" SyncStateErroredAtAgent SyncState = "ERRORED_AT_AGENT" SyncStateUpdatedAtAgent SyncState = "UPDATED_AT_AGENT" SyncStateDeletingAtAgent SyncState = "DELETING_AT_AGENT" SyncStateDeletedAtAgent SyncState = "DELETED_AT_AGENT" )
type SyncStatus ¶
type SyncStatus struct { SyncScheduledAt time.Time `json:"syncScheduledAt,omitempty"` LastSyncedAt time.Time `json:"lastSyncedAt,omitempty"` Action SyncAction `json:"action"` RecordVersion int `json:"recordVersion"` State SyncState `json:"state"` Error *string `json:"error,omitempty"` }
func GenSyncStatus ¶
func GenSyncStatus(action SyncAction, recordVersion int) SyncStatus
func GetSyncStatusForDeletion ¶
func GetSyncStatusForDeletion(generation int64) SyncStatus
Click to show internal directories.
Click to hide internal directories.