intent

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIntegration

func NewIntegration(
	log *zap.Logger,
	ocpData ocp_data.Provider,
	accounts account.Store,
	profiles profile.Store,
	contacts contact.Store,
	pusher push.Pusher,
	phoneHashPepper []byte,
) ocp_integration.SubmitIntent

Types

type Integration

type Integration struct {
	// contains filtered or unexported fields
}

func (*Integration) AllowCreation

func (i *Integration) AllowCreation(ctx context.Context, intentRecord *ocp_intent.Record, metadata *ocp_transactionpb.Metadata, actions []*ocp_transactionpb.Action) error

func (*Integration) OnSuccess

func (i *Integration) OnSuccess(ctx context.Context, intentRecord *ocp_intent.Record) error

Jump to

Keyboard shortcuts

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