Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidQuery = errors.New("kubernetes changes: invalid query") ErrStoreLimit = errors.New("kubernetes changes: stored snapshot exceeds limit") )
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct {
ID string `json:"id"`
Cluster string `json:"cluster"`
Kind string `json:"kind"`
Namespace string `json:"namespace,omitempty"`
Name string `json:"name"`
UID string `json:"uid"`
Type Type `json:"type"`
Fields []FieldChange `json:"fields,omitempty"`
At time.Time `json:"at"`
Service string `json:"service,omitempty"`
}
type FieldChange ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Append ¶
Append adds projected changes and evicts only the oldest records as required by bounds.
Click to show internal directories.
Click to hide internal directories.