Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentsBuffer ¶
type DeploymentsBuffer struct {
// contains filtered or unexported fields
}
A Ring buffer for Deployments
func NewDeploymentsBuffer ¶
func NewDeploymentsBuffer(size int) *DeploymentsBuffer
Return a new, properly configured circular buffer
func (*DeploymentsBuffer) All ¶
func (b *DeploymentsBuffer) All() []*datatypes.Deployment
Get all the items from the buffer that have a value, return as linear slice
func (*DeploymentsBuffer) GetLast ¶
func (b *DeploymentsBuffer) GetLast() *datatypes.Deployment
func (*DeploymentsBuffer) Insert ¶
func (b *DeploymentsBuffer) Insert(deploy *datatypes.Deployment)
type SvcEventsBuffer ¶
type SvcEventsBuffer struct {
// contains filtered or unexported fields
}
A Ring buffer for SvcEvents
func NewSvcEventsBuffer ¶
func NewSvcEventsBuffer(size int) *SvcEventsBuffer
Return a new, properly configured circular buffer
func (*SvcEventsBuffer) All ¶
func (b *SvcEventsBuffer) All() []datatypes.Notification
Get all the items from the buffer that have a value, return as linear slice
func (*SvcEventsBuffer) AllRaw ¶
func (b *SvcEventsBuffer) AllRaw() []catalog.StateChangedEvent
func (*SvcEventsBuffer) Insert ¶
func (b *SvcEventsBuffer) Insert(evt catalog.StateChangedEvent)
Click to show internal directories.
Click to hide internal directories.