managedresource

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationSuperStream           = "rabbitmq.com/super-stream"
	AnnotationSuperStreamPartition  = "rabbitmq.com/super-stream-partition"
	AnnotationSuperStreamRoutingKey = "rabbitmq.com/super-stream-routing-key"
	AnnotationConsumerPodSpecHash   = "rabbitmq.com/consumer-pod-spec-hash"
)

Variables

This section is empty.

Functions

func PartitionNameToRoutingKey

func PartitionNameToRoutingKey(parentObjectName, partitionName string) string

Types

type SuperStreamConsumerPodBuilder

type SuperStreamConsumerPodBuilder struct {
	// contains filtered or unexported fields
}

func SuperStreamConsumerPod

func SuperStreamConsumerPod(objectOwner metav1.Object, scheme *runtime.Scheme, podSpec corev1.PodSpec, superStreamName, partition string) *SuperStreamConsumerPodBuilder

func (*SuperStreamConsumerPodBuilder) Build

func (builder *SuperStreamConsumerPodBuilder) Build() (client.Object, error)

func (*SuperStreamConsumerPodBuilder) ResourceType

func (builder *SuperStreamConsumerPodBuilder) ResourceType() string

func (*SuperStreamConsumerPodBuilder) Update

func (builder *SuperStreamConsumerPodBuilder) Update(object client.Object) error

Jump to

Keyboard shortcuts

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