podgroupstore

package
v0.0.0-...-6111fc0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Name commonstore.StoreName = "PodGroupStore"

Variables

This section is empty.

Functions

func NewCache

func NewCache(handler commoncache.CacheHandler) commonstore.Store

func NewSnapshot

func NewSnapshot(handler commoncache.CacheHandler) commonstore.Store

Types

type PodGroupStore

type PodGroupStore struct {
	commonstore.BaseStore
	// contains filtered or unexported fields
}

func (*PodGroupStore) AddPodGroup

func (s *PodGroupStore) AddPodGroup(podGroup *schedulingv1a1.PodGroup) error

func (*PodGroupStore) DeletePodGroup

func (s *PodGroupStore) DeletePodGroup(podGroup *schedulingv1a1.PodGroup) error

func (*PodGroupStore) GetPodGroupInfo

func (s *PodGroupStore) GetPodGroupInfo(podGroupName string) (*schedulingv1a1.PodGroup, error)

func (*PodGroupStore) Name

func (*PodGroupStore) UpdatePodGroup

func (s *PodGroupStore) UpdatePodGroup(oldPodGroup, newPodGroup *schedulingv1a1.PodGroup) error

func (*PodGroupStore) UpdateSnapshot

func (s *PodGroupStore) UpdateSnapshot(store commonstore.Store) error

type StoreHandle

type StoreHandle interface {
	GetPodGroupInfo(podGroupName string) (*schedulingv1a1.PodGroup, error)
}

Jump to

Keyboard shortcuts

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