Documentation
¶
Index ¶
- type AlreadyBound
- type Binder
- type OwnerIdent
- type Tracker
- func (trk *Tracker) BindClaim(lh logr.Logger, claimUID k8stypes.UID, podSandboxID string)
- func (trk *Tracker) CleanupPod(lh logr.Logger, podSandboxID string) []k8stypes.UID
- func (trk *Tracker) CountClaims() int
- func (trk *Tracker) CountPods() int
- func (trk *Tracker) GetAllocationsForClaim(claimUID k8stypes.UID) (map[string]types.Allocation, bool)
- func (trk *Tracker) RegisterClaim(claimUID k8stypes.UID, claimAllocs map[string]types.Allocation)
- func (trk *Tracker) UnregisterClaim(claimUID k8stypes.UID)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlreadyBound ¶
type AlreadyBound struct {
ClaimUID k8stypes.UID
Owner OwnerIdent
}
func (AlreadyBound) Error ¶
func (ab AlreadyBound) Error() string
type Binder ¶
type Binder struct {
// contains filtered or unexported fields
}
type OwnerIdent ¶
func (OwnerIdent) Equal ¶
func (oi OwnerIdent) Equal(x OwnerIdent) bool
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
func NewTracker ¶
func NewTracker() *Tracker
func (*Tracker) CleanupPod ¶
func (*Tracker) CountClaims ¶
func (*Tracker) GetAllocationsForClaim ¶
func (*Tracker) RegisterClaim ¶
func (*Tracker) UnregisterClaim ¶
Click to show internal directories.
Click to hide internal directories.