applicationlivestatestore

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 8 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 interface {
	// GetStateSnapshot get the specified application live state snapshot.
	GetStateSnapshot(ctx context.Context, applicationID string) (*model.ApplicationLiveStateSnapshot, error)
	// PutStateSnapshot updates completely the specified application live state snapshot with input.
	PutStateSnapshot(ctx context.Context, snapshot *model.ApplicationLiveStateSnapshot) error
	// PatchKubernetesApplicationLiveState updates the kubernetes resource state in the application live state snapshot.
	PatchKubernetesApplicationLiveState(ctx context.Context, events []*model.KubernetesResourceStateEvent)
}

func NewStore

func NewStore(fs filestore.Store, c cache.Cache, logger *zap.Logger) Store

Jump to

Keyboard shortcuts

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