Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallbackTarget ¶ added in v1.4.0
type CallbackTarget struct {
Pods []*PodMeta
HostApplications []slov1alpha1.HostApplicationSpec
}
func (*CallbackTarget) String ¶ added in v1.4.0
func (t *CallbackTarget) String() string
type PodMeta ¶
func (*PodMeta) IsRunningOrPending ¶ added in v1.4.0
type RegisterType ¶ added in v0.5.0
type RegisterType int64
const ( RegisterTypeNodeSLOSpec RegisterType = iota RegisterTypeAllPods RegisterTypeNodeTopology RegisterTypeNodeMetadata )
func (RegisterType) String ¶ added in v0.5.0
func (r RegisterType) String() string
type StatesInformer ¶
type StatesInformer interface {
Run(stopCh <-chan struct{}) error
HasSynced() bool
GetNode() *corev1.Node
GetNodeSLO() *slov1alpha1.NodeSLO
GetNodeMetricSpec() *slov1alpha1.NodeMetricSpec
GetAllPods() []*PodMeta
GetNodeTopo() *topov1alpha1.NodeResourceTopology
GetVolumeName(pvcNamespace, pvcName string) string
RegisterCallbacks(objType RegisterType, name, description string, callbackFn UpdateCbFn)
}
type UpdateCbFn ¶ added in v0.4.0
type UpdateCbFn func(t RegisterType, obj interface{}, target *CallbackTarget)
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_impl is a generated GoMock package.
|
Package mock_impl is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.