topic

package
v0.22.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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTopic

func GenerateTopic(name string, s v1alpha1.TopicParameters) *pubsub.Topic

GenerateTopic produces a Topic that is configured via given TopicParameters.

func GenerateUpdateRequest

func GenerateUpdateRequest(name string, s v1alpha1.TopicParameters, t pubsub.Topic) *pubsub.UpdateTopicRequest

GenerateUpdateRequest produces an UpdateTopicRequest with the difference between TopicParameters and Topic.

func GetFullyQualifiedName

func GetFullyQualifiedName(project string, name string) string

GetFullyQualifiedName builds the fully qualified name of the topic.

func IsUpToDate

func IsUpToDate(s v1alpha1.TopicParameters, t pubsub.Topic) bool

IsUpToDate checks whether Topic is configured with given TopicParameters.

func LateInitialize

func LateInitialize(s *v1alpha1.TopicParameters, t pubsub.Topic)

LateInitialize fills the empty fields of TopicParameters if the corresponding fields are given in Topic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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