environmentstore

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lister

type Lister interface {
	// Get retrieves a specifiec Environment for the given id.
	Get(id string) (*model.Environment, bool)
}

Lister helps list and get Environment. All objects returned here must be treated as read-only.

type Store

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

func NewStore

func NewStore(apiClient apiClient, cache cache.Cache, logger *zap.Logger) *Store

func (*Store) Get

func (s *Store) Get(id string) (*model.Environment, bool)

Jump to

Keyboard shortcuts

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