Documentation ¶
Index ¶
- func GenerateTopic(name string, s v1alpha1.TopicParameters) *pubsub.Topic
- func GenerateUpdateRequest(name string, s v1alpha1.TopicParameters, t pubsub.Topic) *pubsub.UpdateTopicRequest
- func GetFullyQualifiedName(project string, name string) string
- func IsUpToDate(s v1alpha1.TopicParameters, t pubsub.Topic) bool
- func LateInitialize(s *v1alpha1.TopicParameters, t pubsub.Topic)
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.