Versions in this module Expand all Collapse all v0 v0.59.0 Jun 18, 2026 Changes in this version + var ErrNotFound = errors.New("persistence: not found") + type Key struct + Name string + Namespace string + type MockStore struct + func NewMockStore(ctrl *gomock.Controller) *MockStore + func (m *MockStore) Delete(arg0 context.Context, arg1 Key) error + func (m *MockStore) EXPECT() *MockStoreMockRecorder + func (m *MockStore) List(arg0 context.Context, arg1 string) ([]Key, error) + func (m *MockStore) Load(arg0 context.Context, arg1 Key) (*v20250801preview.ApplicationGraphResponse, error) + func (m *MockStore) Save(arg0 context.Context, arg1 Key, ...) error + type MockStoreDeleteCall struct + func (c *MockStoreDeleteCall) Do(f func(context.Context, Key) error) *MockStoreDeleteCall + func (c *MockStoreDeleteCall) DoAndReturn(f func(context.Context, Key) error) *MockStoreDeleteCall + func (c *MockStoreDeleteCall) Return(arg0 error) *MockStoreDeleteCall + type MockStoreListCall struct + func (c *MockStoreListCall) Do(f func(context.Context, string) ([]Key, error)) *MockStoreListCall + func (c *MockStoreListCall) DoAndReturn(f func(context.Context, string) ([]Key, error)) *MockStoreListCall + func (c *MockStoreListCall) Return(arg0 []Key, arg1 error) *MockStoreListCall + type MockStoreLoadCall struct + func (c *MockStoreLoadCall) Do(...) *MockStoreLoadCall + func (c *MockStoreLoadCall) DoAndReturn(...) *MockStoreLoadCall + func (c *MockStoreLoadCall) Return(arg0 *v20250801preview.ApplicationGraphResponse, arg1 error) *MockStoreLoadCall + type MockStoreMockRecorder struct + func (mr *MockStoreMockRecorder) Delete(arg0, arg1 any) *MockStoreDeleteCall + func (mr *MockStoreMockRecorder) List(arg0, arg1 any) *MockStoreListCall + func (mr *MockStoreMockRecorder) Load(arg0, arg1 any) *MockStoreLoadCall + func (mr *MockStoreMockRecorder) Save(arg0, arg1, arg2, arg3 any) *MockStoreSaveCall + type MockStoreSaveCall struct + func (c *MockStoreSaveCall) Do(...) *MockStoreSaveCall + func (c *MockStoreSaveCall) DoAndReturn(...) *MockStoreSaveCall + func (c *MockStoreSaveCall) Return(arg0 error) *MockStoreSaveCall + type SaveOptions struct + Labels map[string]string + Message string + type Store interface + Delete func(ctx context.Context, key Key) error + List func(ctx context.Context, namespace string) ([]Key, error) + Load func(ctx context.Context, key Key) (*corerpv20250801preview.ApplicationGraphResponse, error) + Save func(ctx context.Context, key Key, ...) error v0.59.0-rc1 Jun 17, 2026