Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunningStore ¶
type SyncResult ¶
type SyncResult struct {
// contains filtered or unexported fields
}
func NewSyncResult ¶
func NewSyncResult() *SyncResult
func (*SyncResult) AddDeletes ¶
func (r *SyncResult) AddDeletes(d ...*sdcpb.Path)
type TargetConnectionStatus ¶
type TargetConnectionStatus string
const ( TargetStatusConnected TargetConnectionStatus = "connected" TargetStatusNotConnected TargetConnectionStatus = "not connected" )
type TargetSource ¶
type TargetSource interface {
// ToJson returns the Tree contained structure as JSON
// use e.g. json.MarshalIndent() on the returned struct
ToJson(onlyNewOrUpdated bool) (any, error)
// ToJsonIETF returns the Tree contained structure as JSON_IETF
// use e.g. json.MarshalIndent() on the returned struct
ToJsonIETF(onlyNewOrUpdated bool) (any, error)
ToXML(onlyNewOrUpdated bool, honorNamespace bool, operationWithNamespace bool, useOperationRemove bool) (*etree.Document, error)
ToProtoUpdates(ctx context.Context, onlyNewOrUpdated bool) ([]*sdcpb.Update, error)
ToProtoDeletes(ctx context.Context) ([]*sdcpb.Path, error)
}
type TargetStatus ¶
type TargetStatus struct {
Status TargetConnectionStatus
Details string
}
func NewTargetStatus ¶
func NewTargetStatus(status TargetConnectionStatus) *TargetStatus
func (*TargetStatus) IsConnected ¶
func (ts *TargetStatus) IsConnected() bool
Click to show internal directories.
Click to hide internal directories.