subscription

package
v0.23.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSubscription

func GenerateSubscription(projectID, name string, p v1alpha1.SubscriptionParameters) *pubsub.Subscription

GenerateSubscription produces a Subscription that is configured via given SubscriptionParameters.

func GenerateUpdateRequest

GenerateUpdateRequest produces an UpdateSubscriptionRequest with the difference between SubscriptionParameters and Subscription. enableMessageOrdering, deadLetterPolicy, topic are not mutable

func GetFullyQualifiedName

func GetFullyQualifiedName(project string, name string) string

GetFullyQualifiedName builds the fully qualified name of the subscription.

func IsUpToDate

func IsUpToDate(projectID string, p v1alpha1.SubscriptionParameters, s pubsub.Subscription) bool

IsUpToDate checks whether Subscription is configured with given SubscriptionParameters.

func LateInitialize

func LateInitialize(p *v1alpha1.SubscriptionParameters, s pubsub.Subscription)

LateInitialize fills the empty fields of SubscriptionParameters if the corresponding fields are given in Subscription.

Types

This section is empty.

Jump to

Keyboard shortcuts

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