Documentation
¶
Index ¶
- type GCPPubSubDestination
- func (d *GCPPubSubDestination) ComputeTarget(destination *models.Destination) destregistry.DestinationTarget
- func (d *GCPPubSubDestination) CreatePublisher(ctx context.Context, destination *models.Destination) (destregistry.Publisher, error)
- func (d *GCPPubSubDestination) Preprocess(newDestination *models.Destination, originalDestination *models.Destination, ...) error
- func (d *GCPPubSubDestination) Validate(ctx context.Context, destination *models.Destination) error
- type GCPPubSubDestinationConfig
- type GCPPubSubDestinationCredentials
- type GCPPubSubPublisher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCPPubSubDestination ¶
type GCPPubSubDestination struct {
*destregistry.BaseProvider
}
func New ¶
func New(loader metadata.MetadataLoader, basePublisherOpts []destregistry.BasePublisherOption) (*GCPPubSubDestination, error)
func (*GCPPubSubDestination) ComputeTarget ¶
func (d *GCPPubSubDestination) ComputeTarget(destination *models.Destination) destregistry.DestinationTarget
func (*GCPPubSubDestination) CreatePublisher ¶
func (d *GCPPubSubDestination) CreatePublisher(ctx context.Context, destination *models.Destination) (destregistry.Publisher, error)
func (*GCPPubSubDestination) Preprocess ¶
func (d *GCPPubSubDestination) Preprocess(newDestination *models.Destination, originalDestination *models.Destination, opts *destregistry.PreprocessDestinationOpts) error
func (*GCPPubSubDestination) Validate ¶
func (d *GCPPubSubDestination) Validate(ctx context.Context, destination *models.Destination) error
type GCPPubSubDestinationCredentials ¶
type GCPPubSubDestinationCredentials struct {
ServiceAccountJSON string
}
type GCPPubSubPublisher ¶
type GCPPubSubPublisher struct {
*destregistry.BasePublisher
// contains filtered or unexported fields
}
func (*GCPPubSubPublisher) Close ¶
func (pub *GCPPubSubPublisher) Close() error
func (*GCPPubSubPublisher) Publish ¶
func (pub *GCPPubSubPublisher) Publish(ctx context.Context, event *models.Event) (*destregistry.Delivery, error)
Click to show internal directories.
Click to hide internal directories.