Documentation
¶
Index ¶
- Variables
- type EpClient
- type K8sClient
- type NodeClient
- type ObjStore
- func (s *ObjStore) Add(obj interface{}) error
- func (s *ObjStore) Delete(obj interface{}) error
- func (s *ObjStore) Get(obj interface{}) (item interface{}, exists bool, err error)
- func (s *ObjStore) GetByKey(key string) (item interface{}, exists bool, err error)
- func (s *ObjStore) List() []interface{}
- func (s *ObjStore) ListKeys() []string
- func (s *ObjStore) Refreshed() bool
- func (s *ObjStore) Replace(list []interface{}, _ string) error
- func (s *ObjStore) Resync() error
- func (s *ObjStore) Update(obj interface{}) error
- type PodClient
- type ReplicaSetClient
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var Get func() *K8sClient
Functions ¶
This section is empty.
Types ¶
type K8sClient ¶
type K8sClient struct { sync.Mutex ClientSet *kubernetes.Clientset Ep EpClient Pod PodClient Node NodeClient ReplicaSet ReplicaSetClient // contains filtered or unexported fields }
type NodeClient ¶
type ObjStore ¶
func NewObjStore ¶
func (*ObjStore) List ¶
func (s *ObjStore) List() []interface{}
List implements the List method of the store interface.
func (*ObjStore) Refreshed ¶
Track whether the underlying data store is refreshed or not. Calling this func itself will reset the state to false.
func (*ObjStore) Replace ¶
Replace will delete the contents of the store, using instead the given list.
type ReplicaSetClient ¶
Click to show internal directories.
Click to hide internal directories.