discoveryService

package
v0.0.0-...-1d97044 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryServiceType

type DiscoveryServiceType int32

DiscoveryServiceType x ENUM( Eureka Consul Memory Kubernetes Etcd Gossip NATS Zookeeper Unknown )

const (
	// DiscoveryServiceTypeEureka is a DiscoveryServiceType of type Eureka
	DiscoveryServiceTypeEureka DiscoveryServiceType = iota
	// DiscoveryServiceTypeConsul is a DiscoveryServiceType of type Consul
	DiscoveryServiceTypeConsul
	// DiscoveryServiceTypeMemory is a DiscoveryServiceType of type Memory
	DiscoveryServiceTypeMemory
	// DiscoveryServiceTypeKubernetes is a DiscoveryServiceType of type Kubernetes
	DiscoveryServiceTypeKubernetes
	// DiscoveryServiceTypeEtcd is a DiscoveryServiceType of type Etcd
	DiscoveryServiceTypeEtcd
	// DiscoveryServiceTypeGossip is a DiscoveryServiceType of type Gossip
	DiscoveryServiceTypeGossip
	// DiscoveryServiceTypeNATS is a DiscoveryServiceType of type NATS
	DiscoveryServiceTypeNATS
	// DiscoveryServiceTypeZookeeper is a DiscoveryServiceType of type Zookeeper
	DiscoveryServiceTypeZookeeper
	// DiscoveryServiceTypeUnknown is a DiscoveryServiceType of type Unknown
	DiscoveryServiceTypeUnknown
)

func ParseDiscoveryServiceType

func ParseDiscoveryServiceType(name string) (DiscoveryServiceType, *errorAVA.Error)

ParseDiscoveryServiceType attempts to convert a string to a DiscoveryServiceType

func (DiscoveryServiceType) MarshalText

func (x DiscoveryServiceType) MarshalText() ([]byte, *errorAVA.Error)

MarshalText implements the text marshaller method

func (DiscoveryServiceType) String

func (x DiscoveryServiceType) String() string

String implements the Stringer interface.

func (DiscoveryServiceType) UnmarshalText

func (x DiscoveryServiceType) UnmarshalText(text []byte) (DiscoveryServiceType, *errorAVA.Error)

UnmarshalText implements the text unmarshaller method

Jump to

Keyboard shortcuts

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