oortstore

package
v0.0.0-...-a36e63d Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: Apache-2.0, Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OortGroupConfig

type OortGroupConfig struct {
	Debug              bool
	Profile            bool
	ListenAddr         string `toml:"ListenAddress"` //another example
	MutualTLS          bool
	InsecureSkipVerify bool
	CertFile           string
	KeyFile            string
	CAFile             string
	MetricsAddr        string
	MetricsCollectors  string
}

type OortGroupStore

type OortGroupStore struct {
	sync.RWMutex

	Config *OortGroupConfig `toml:"OortGroupStoreConfig"` // load config using an explicit/different config header

	GroupStoreConfig store.GroupStoreConfig
	TCPMsgRingConfig ring.TCPMsgRingConfig
	// contains filtered or unexported fields
}

func NewGroupStore

func NewGroupStore(oort *oort.Server, logger zap.Logger, loggerName string) (*OortGroupStore, error)

func (*OortGroupStore) Delete

func (*OortGroupStore) ListenAndServe

func (s *OortGroupStore) ListenAndServe()

func (*OortGroupStore) Lookup

func (*OortGroupStore) LookupGroup

func (*OortGroupStore) Read

func (*OortGroupStore) ReadGroup

func (*OortGroupStore) Start

func (s *OortGroupStore) Start()

func (*OortGroupStore) Stats

func (s *OortGroupStore) Stats() []byte

func (*OortGroupStore) Stop

func (s *OortGroupStore) Stop()

func (*OortGroupStore) StopListenAndServe

func (s *OortGroupStore) StopListenAndServe()

func (*OortGroupStore) StreamDelete

func (*OortGroupStore) StreamLookup

func (*OortGroupStore) StreamLookupGroup

func (*OortGroupStore) StreamRead

func (*OortGroupStore) StreamReadGroup

func (*OortGroupStore) StreamWrite

func (*OortGroupStore) UpdateRing

func (s *OortGroupStore) UpdateRing(ring ring.Ring)

func (*OortGroupStore) Wait

func (s *OortGroupStore) Wait()

Wait isn't implemented yet, need graceful shutdowns in grpc

func (*OortGroupStore) Write

type OortValueConfig

type OortValueConfig struct {
	Debug              bool
	Profile            bool
	ListenAddr         string `toml:"ListenAddress"` //another example
	InsecureSkipVerify bool
	MutualTLS          bool
	CertFile           string
	KeyFile            string
	CAFile             string
	MetricsAddr        string
	MetricsCollectors  string
}

type OortValueStore

type OortValueStore struct {
	sync.RWMutex

	Config *OortValueConfig `toml:"OortValueStoreConfig"` // load config using an explicit/different config header

	ValueStoreConfig store.ValueStoreConfig
	TCPMsgRingConfig ring.TCPMsgRingConfig
	// contains filtered or unexported fields
}

func NewValueStore

func NewValueStore(oort *oort.Server, logger zap.Logger, loggerName string) (*OortValueStore, error)

func (*OortValueStore) Delete

func (*OortValueStore) ListenAndServe

func (s *OortValueStore) ListenAndServe()

func (*OortValueStore) Lookup

func (*OortValueStore) Read

func (*OortValueStore) Start

func (s *OortValueStore) Start()

func (*OortValueStore) Stats

func (s *OortValueStore) Stats() []byte

func (*OortValueStore) Stop

func (s *OortValueStore) Stop()

func (*OortValueStore) StopListenAndServe

func (s *OortValueStore) StopListenAndServe()

func (*OortValueStore) StreamDelete

func (*OortValueStore) StreamLookup

func (*OortValueStore) StreamRead

func (*OortValueStore) StreamWrite

func (*OortValueStore) UpdateRing

func (s *OortValueStore) UpdateRing(ring ring.Ring)

func (*OortValueStore) Wait

func (s *OortValueStore) Wait()

Wait isn't implemented yet, need graceful shutdowns in grpc

func (*OortValueStore) Write

Jump to

Keyboard shortcuts

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