elasticsearchrelation

package
v0.0.0-...-c60bc85 Latest Latest
Warning

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

Go to latest
Published: May 19, 2017 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

The elasticsearchrelation package implements a Juju elasticsearch relation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Requirer

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

Requirer represents the requirer side of an elasticsearch relation.

func (*Requirer) Addresses

func (req *Requirer) Addresses() []string

Addresses returns the addresses of the current elasticsearch servers.

func (*Requirer) Register

func (req *Requirer) Register(r *hook.Registry, relationName string)

Register registers an elasticsearch requirer relation with the given relation name with the given hook registry.

To find out when the host addresses change, register a wildcard ("*") hook.

Jump to

Keyboard shortcuts

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