Documentation ¶
Index ¶
- type Relationship
- type SummaryCache
- func (s *SummaryCache) Add(obj runtime.Object)
- func (s *SummaryCache) Change(newObj, oldObj runtime.Object)
- func (s *SummaryCache) OnAdd(_ runtimeschema.GroupVersionKind, key string, obj runtime.Object) error
- func (s *SummaryCache) OnChange(_ runtimeschema.GroupVersionKind, key string, obj, oldObj runtime.Object) error
- func (s *SummaryCache) OnInboundRelationshipChange(ctx context.Context, schema *types.APISchema, namespace string) <-chan *summary.Relationship
- func (s *SummaryCache) OnRemove(_ runtimeschema.GroupVersionKind, key string, obj runtime.Object) error
- func (s *SummaryCache) Remove(obj runtime.Object)
- func (s *SummaryCache) Start(ctx context.Context)
- func (s *SummaryCache) SummaryAndRelationship(obj runtime.Object) (*summary.SummarizedObject, []Relationship)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Relationship ¶
type Relationship struct { ToID string `json:"toId,omitempty"` ToType string `json:"toType,omitempty"` ToNamespace string `json:"toNamespace,omitempty"` FromID string `json:"fromId,omitempty"` FromType string `json:"fromType,omitempty"` Rel string `json:"rel,omitempty"` Selector string `json:"selector,omitempty"` State string `json:"state,omitempty"` Message string `json:"message,omitempty"` Error bool `json:"error,omitempty"` Transitioning bool `json:"transitioning,omitempty"` }
type SummaryCache ¶
func New ¶
func New(schemas *schema.Collection, clusterCache clustercache.ClusterCache) *SummaryCache
func (*SummaryCache) Add ¶
func (s *SummaryCache) Add(obj runtime.Object)
func (*SummaryCache) Change ¶
func (s *SummaryCache) Change(newObj, oldObj runtime.Object)
func (*SummaryCache) OnAdd ¶
func (s *SummaryCache) OnAdd(_ runtimeschema.GroupVersionKind, key string, obj runtime.Object) error
func (*SummaryCache) OnChange ¶
func (s *SummaryCache) OnChange(_ runtimeschema.GroupVersionKind, key string, obj, oldObj runtime.Object) error
func (*SummaryCache) OnInboundRelationshipChange ¶
func (s *SummaryCache) OnInboundRelationshipChange(ctx context.Context, schema *types.APISchema, namespace string) <-chan *summary.Relationship
func (*SummaryCache) OnRemove ¶
func (s *SummaryCache) OnRemove(_ runtimeschema.GroupVersionKind, key string, obj runtime.Object) error
func (*SummaryCache) Remove ¶
func (s *SummaryCache) Remove(obj runtime.Object)
func (*SummaryCache) Start ¶
func (s *SummaryCache) Start(ctx context.Context)
func (*SummaryCache) SummaryAndRelationship ¶
func (s *SummaryCache) SummaryAndRelationship(obj runtime.Object) (*summary.SummarizedObject, []Relationship)
Click to show internal directories.
Click to hide internal directories.