Help us shape the future of Go! Take the 2026 Go Developer Survey

store

package
v4.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteStore

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

SQLiteStore is a sqlite-based store.

func NewSQLiteStore

func NewSQLiteStore(instanceService instanceid.Service) (*SQLiteStore, error)

func (*SQLiteStore) Add

func (s *SQLiteStore) Add(obj interface{}) error

func (*SQLiteStore) CountWorkflows

func (s *SQLiteStore) CountWorkflows(ctx context.Context, namespace, nameFilter, createdAfter, finishedBefore string, listOptions metav1.ListOptions) (int64, error)

func (*SQLiteStore) Delete

func (s *SQLiteStore) Delete(obj interface{}) error

func (*SQLiteStore) Get

func (s *SQLiteStore) Get(obj interface{}) (item interface{}, exists bool, err error)

func (*SQLiteStore) GetByKey

func (s *SQLiteStore) GetByKey(key string) (item interface{}, exists bool, err error)

func (*SQLiteStore) List

func (s *SQLiteStore) List() []interface{}

func (*SQLiteStore) ListKeys

func (s *SQLiteStore) ListKeys() []string

func (*SQLiteStore) ListWorkflows

func (s *SQLiteStore) ListWorkflows(ctx context.Context, namespace, nameFilter, createdAfter, finishedBefore string, listOptions metav1.ListOptions) (*wfv1.WorkflowList, error)

func (*SQLiteStore) Replace

func (s *SQLiteStore) Replace(list []interface{}, resourceVersion string) error

func (*SQLiteStore) Resync

func (s *SQLiteStore) Resync() error

func (*SQLiteStore) Update

func (s *SQLiteStore) Update(obj interface{}) error

type WorkflowLister

type WorkflowLister interface {
	ListWorkflows(ctx context.Context, namespace, nameFilter, createdAfter, finishedBefore string, listOptions metav1.ListOptions) (*wfv1.WorkflowList, error)
	CountWorkflows(ctx context.Context, namespace, nameFilter, createdAfter, finishedBefore string, listOptions metav1.ListOptions) (int64, error)
}

func NewKubeLister

func NewKubeLister(wfClient versioned.Interface) WorkflowLister

type WorkflowStore

type WorkflowStore interface {
	cache.Store
}

Jump to

Keyboard shortcuts

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