Help us shape the future of Go! Take the 2026 Go Developer Survey

adapter

package
v0.0.70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) ToJson

func (t *EntryOutputAdapter) ToJson(ctx context.Context, onlyNewOrUpdated bool) (any, error)

func (*EntryOutputAdapter) ToJsonIETF

func (t *EntryOutputAdapter) ToJsonIETF(ctx context.Context, onlyNewOrUpdated bool) (any, error)

func (*EntryOutputAdapter) ToProtoDeletes

func (t *EntryOutputAdapter) ToProtoDeletes(ctx context.Context) ([]*sdcpb.Path, error)

func (*EntryOutputAdapter) ToProtoUpdates

func (t *EntryOutputAdapter) ToProtoUpdates(ctx context.Context, onlyNewOrUpdated bool) ([]*sdcpb.Update, error)

func (*EntryOutputAdapter) ToXML

func (t *EntryOutputAdapter) ToXML(ctx context.Context, onlyNewOrUpdated bool, honorNamespace bool, operationWithNamespace bool, useOperationRemove bool) (*etree.Document, error)

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 (t *IntentResponseAdapter) ToProtoDeletes(ctx context.Context) ([]*sdcpb.Path, error)

func (*IntentResponseAdapter) ToProtoUpdates

func (t *IntentResponseAdapter) ToProtoUpdates(ctx context.Context) ([]*sdcpb.Update, error)

func (*IntentResponseAdapter) ToXML

func (*IntentResponseAdapter) ToXPath added in v0.0.69

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL