environmentstore

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 9 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(ctx context.Context, id string) (*model.Environment, error)
	GetByName(ctx context.Context, name string) (*model.Environment, error)
}

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, cacheByName cache.Cache, logger *zap.Logger) *Store

func (*Store) Get

func (s *Store) Get(ctx context.Context, id string) (*model.Environment, error)

Jump to

Keyboard shortcuts

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