memory

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewMemoryStore

func NewMemoryStore(ctx context.Context) *Store

func (*Store) Add

func (m *Store) Add(val map[string]interface{})

func (*Store) ByEnvironment

func (m *Store) ByEnvironment(objectType content.ObjectType, c content.Client, environmentUUID string) []content.Object

func (*Store) ByStack

func (m *Store) ByStack(objectType content.ObjectType, c content.Client, stackUUID string) []content.Object

func (*Store) Changed

func (m *Store) Changed()

func (*Store) ContainerByID

func (m *Store) ContainerByID(id string) *client.InstanceInfo

func (*Store) ContainerByName

func (m *Store) ContainerByName(environmentUUID, stackName, name string) *client.InstanceInfo

func (*Store) Environment

func (m *Store) Environment(c content.Client) content.Object

func (*Store) EnvironmentByUUID

func (m *Store) EnvironmentByUUID(uuid string) *client.EnvironmentInfo

func (*Store) HostByID

func (m *Store) HostByID(id string) *client.HostInfo

func (*Store) IDtoUUID

func (m *Store) IDtoUUID(objectType content.ObjectType, id string) string

func (*Store) NetworkByID

func (m *Store) NetworkByID(id string) *client.NetworkInfo

func (*Store) Object

func (m *Store) Object(uuid string, c content.Client) content.Object

func (*Store) Reload

func (m *Store) Reload(vals map[string]interface{})

func (*Store) Remove

func (m *Store) Remove(val map[string]interface{})

func (*Store) SelfContainer

func (m *Store) SelfContainer(c content.Client) *client.InstanceInfo

func (*Store) SelfHost

func (m *Store) SelfHost(c content.Client) content.Object

func (*Store) ServiceByID

func (m *Store) ServiceByID(id string) *client.ServiceInfo

func (*Store) ServiceByName

func (m *Store) ServiceByName(environmentUUID, stackName, name string) *client.ServiceInfo

func (*Store) StackByID

func (m *Store) StackByID(id string) *client.StackInfo

func (*Store) Version

func (m *Store) Version() string

func (*Store) WaitChanged

func (m *Store) WaitChanged()

Jump to

Keyboard shortcuts

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