storage

package
v0.0.0-...-f37d2a6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2017 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

package storage provides in memory storage implementation, for test purposes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func New

func New() *Memory

func (*Memory) AddService

func (m *Memory) AddService(s apihub.ServiceSpec) error

func (*Memory) FindServiceByHost

func (m *Memory) FindServiceByHost(host string) (apihub.ServiceSpec, error)

func (*Memory) RemoveService

func (m *Memory) RemoveService(host string) error

func (*Memory) Services

func (m *Memory) Services() ([]apihub.ServiceSpec, error)

func (*Memory) UpdateService

func (m *Memory) UpdateService(s apihub.ServiceSpec) error

Jump to

Keyboard shortcuts

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