Documentation ¶
Index ¶
- Constants
- func NewCache(handler commoncache.CacheHandler) commonstore.Store
- func NewSnapshot(handler commoncache.CacheHandler) commonstore.Store
- type PodGroupStore
- func (s *PodGroupStore) AddPodGroup(podGroup *schedulingv1a1.PodGroup) error
- func (s *PodGroupStore) DeletePodGroup(podGroup *schedulingv1a1.PodGroup) error
- func (s *PodGroupStore) GetPodGroupInfo(podGroupName string) (*schedulingv1a1.PodGroup, error)
- func (c *PodGroupStore) Name() commonstore.StoreName
- func (s *PodGroupStore) UpdatePodGroup(oldPodGroup, newPodGroup *schedulingv1a1.PodGroup) error
- func (s *PodGroupStore) UpdateSnapshot(store commonstore.Store) error
- type StoreHandle
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 (c *PodGroupStore) Name() commonstore.StoreName
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)
}
Click to show internal directories.
Click to hide internal directories.