package
0.0.0-20190409000358-0010da617a25
Repository: https://github.com/grantr/eventing.git
Documentation: pkg.go.dev
# Functions
GcpPubSubClientCreator creates a real GCP PubSub client.
GetCredentials gets GCP credentials from a secretRef.
GetInternalStatus reads GcpPubSubChannelStatus from the given Channel, which should only be one whose provisioner is gcp-pubsub.
SetInternalStatus saves GcpPubSubChannelStatus to the given Channel, which should only be one whose provisioner is gcp-pubsub.
# Structs
GcpPubSubChannelStatus is the struct saved to Channel's status.internal if the Channel's provisioner is gcp-pubsub.
GcpPubSubSubscriptionStatus represents the saved status of a gcp-pubsub Channel.
# Interfaces
PubSubClient is the set of methods we use on pubsub.Client.
PubSubMessage is the set of methods we use on pubsub.Message.
PubSubPublishResult is the set of methods we use on pubsub.PublishResult.
PubSubSubscription is the set of methods we use on pubsub.Subscription.
PubSubTopic is the set of methods we use on pubsub.Topic.
# Type aliases
PubSubClientCreator creates a pubSubClient.