rabbitmq

package
v0.0.0-...-fc21188 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfgOptFunc

type CfgOptFunc func(*RabbitmqRecipient) error

func ClusteringModeSetter

func ClusteringModeSetter(v string) CfgOptFunc

func DomainNameSetter

func DomainNameSetter(v string) CfgOptFunc

func EnabledPluginsSetter

func EnabledPluginsSetter(v ...string) CfgOptFunc

func K8sPortSetter

func K8sPortSetter(v int) CfgOptFunc

func NamespaceSetter

func NamespaceSetter(v string) CfgOptFunc

func TargetServiceSetter

func TargetServiceSetter(v string) CfgOptFunc

type RabbitmqRecipient

type RabbitmqRecipient struct {
	Namespace, TargetService                     string
	Plugins, Domain                              string
	K8sPort                                      int
	FirstNodeHost, SecondNodeHost, ThirdNodeHost string
	ThisNodeHost, ThisNodeName                   string
	// contains filtered or unexported fields
}

func NewRabbitmqRecipient

func NewRabbitmqRecipient(options ...CfgOptFunc) (*RabbitmqRecipient, error)

func (*RabbitmqRecipient) Generate

func (recipe *RabbitmqRecipient) Generate(dir string) error

func (*RabbitmqRecipient) Parse

func (recipe *RabbitmqRecipient) Parse(assetName string) (*bytes.Buffer, error)

Jump to

Keyboard shortcuts

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