Documentation
¶
Index ¶
- type EntryOutputAdapter
- func (t *EntryOutputAdapter) ContainsChanges(ctx context.Context) (bool, error)
- func (t *EntryOutputAdapter) ToJson(ctx context.Context, onlyNewOrUpdated bool) (any, error)
- func (t *EntryOutputAdapter) ToJsonIETF(ctx context.Context, onlyNewOrUpdated bool) (any, error)
- func (t *EntryOutputAdapter) ToProtoDeletes(ctx context.Context) ([]*sdcpb.Path, error)
- func (t *EntryOutputAdapter) ToProtoUpdates(ctx context.Context, onlyNewOrUpdated bool) ([]*sdcpb.Update, error)
- func (t *EntryOutputAdapter) ToXML(ctx context.Context, onlyNewOrUpdated bool, honorNamespace bool, ...) (*etree.Document, error)
- type IntentResponseAdapter
- func (t *IntentResponseAdapter) GetExplicitDeletes() []*sdcpb.Path
- func (t *IntentResponseAdapter) GetIntentName() string
- func (t *IntentResponseAdapter) GetPriority() int32
- func (t *IntentResponseAdapter) IsNonRevertive() bool
- func (t *IntentResponseAdapter) IsOrphan() bool
- func (t *IntentResponseAdapter) ToJson(ctx context.Context) (any, error)
- func (t *IntentResponseAdapter) ToJsonIETF(ctx context.Context) (any, error)
- func (t *IntentResponseAdapter) ToProtoDeletes(ctx context.Context) ([]*sdcpb.Path, error)
- func (t *IntentResponseAdapter) ToProtoUpdates(ctx context.Context) ([]*sdcpb.Update, error)
- func (t *IntentResponseAdapter) ToXML(ctx context.Context) (*etree.Document, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryOutputAdapter ¶
type EntryOutputAdapter struct {
// contains filtered or unexported fields
}
func NewEntryOutputAdapter ¶
func NewEntryOutputAdapter(e api.Entry) *EntryOutputAdapter
func (*EntryOutputAdapter) ContainsChanges ¶
func (t *EntryOutputAdapter) ContainsChanges(ctx context.Context) (bool, error)
func (*EntryOutputAdapter) ToJsonIETF ¶
func (*EntryOutputAdapter) ToProtoDeletes ¶
func (*EntryOutputAdapter) ToProtoUpdates ¶
type IntentResponseAdapter ¶
type IntentResponseAdapter struct {
Entry api.Entry
IntentName string
Priority int32
Orphan bool
NonRevertive bool
ExplicitDeletes []*sdcpb.Path
}
func (*IntentResponseAdapter) GetExplicitDeletes ¶
func (t *IntentResponseAdapter) GetExplicitDeletes() []*sdcpb.Path
func (*IntentResponseAdapter) GetIntentName ¶
func (t *IntentResponseAdapter) GetIntentName() string
func (*IntentResponseAdapter) GetPriority ¶
func (t *IntentResponseAdapter) GetPriority() int32
func (*IntentResponseAdapter) IsNonRevertive ¶
func (t *IntentResponseAdapter) IsNonRevertive() bool
func (*IntentResponseAdapter) IsOrphan ¶
func (t *IntentResponseAdapter) IsOrphan() bool
func (*IntentResponseAdapter) ToJson ¶
func (t *IntentResponseAdapter) ToJson(ctx context.Context) (any, error)
func (*IntentResponseAdapter) ToJsonIETF ¶
func (t *IntentResponseAdapter) ToJsonIETF(ctx context.Context) (any, error)
func (*IntentResponseAdapter) ToProtoDeletes ¶
func (*IntentResponseAdapter) ToProtoUpdates ¶
Click to show internal directories.
Click to hide internal directories.