Documentation
¶
Index ¶
- func New(db libmodel.DB, provider *api.Provider, secret *core.Secret) libcontainer.Collector
- type Collector
- type Namespace
- func (r *Namespace) Create(e event.CreateEvent) bool
- func (r *Namespace) Delete(e event.DeleteEvent) bool
- func (r *Namespace) Generic(e event.GenericEvent) bool
- func (r *Namespace) Object() runtime.Object
- func (r *Namespace) Reconcile(ctx context.Context) (err error)
- func (r *Namespace) Update(e event.UpdateEvent) bool
- type NetworkAttachmentDefinition
- func (r *NetworkAttachmentDefinition) Create(e event.CreateEvent) bool
- func (r *NetworkAttachmentDefinition) Delete(e event.DeleteEvent) bool
- func (r *NetworkAttachmentDefinition) Generic(e event.GenericEvent) bool
- func (r *NetworkAttachmentDefinition) Object() runtime.Object
- func (r *NetworkAttachmentDefinition) Reconcile(ctx context.Context) (err error)
- func (r *NetworkAttachmentDefinition) Update(e event.UpdateEvent) bool
- type StorageClass
- func (r *StorageClass) Create(e event.CreateEvent) bool
- func (r *StorageClass) Delete(e event.DeleteEvent) bool
- func (r *StorageClass) Generic(e event.GenericEvent) bool
- func (r *StorageClass) Object() runtime.Object
- func (r *StorageClass) Reconcile(ctx context.Context) (err error)
- func (r *StorageClass) Update(e event.UpdateEvent) bool
- type VM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Namespace ¶
type Namespace struct { libocp.BaseCollection // contains filtered or unexported fields }
Namespace
func (*Namespace) Create ¶
func (r *Namespace) Create(e event.CreateEvent) bool
Resource created watch event.
func (*Namespace) Delete ¶
func (r *Namespace) Delete(e event.DeleteEvent) bool
Resource deleted watch event.
type NetworkAttachmentDefinition ¶
type NetworkAttachmentDefinition struct { libocp.BaseCollection // contains filtered or unexported fields }
NetworkAttachmentDefinition
func (*NetworkAttachmentDefinition) Create ¶
func (r *NetworkAttachmentDefinition) Create(e event.CreateEvent) bool
Resource created watch event.
func (*NetworkAttachmentDefinition) Delete ¶
func (r *NetworkAttachmentDefinition) Delete(e event.DeleteEvent) bool
Resource deleted watch event.
func (*NetworkAttachmentDefinition) Generic ¶
func (r *NetworkAttachmentDefinition) Generic(e event.GenericEvent) bool
Ignored.
func (*NetworkAttachmentDefinition) Object ¶
func (r *NetworkAttachmentDefinition) Object() runtime.Object
Get the kubernetes object being collected.
func (*NetworkAttachmentDefinition) Reconcile ¶
func (r *NetworkAttachmentDefinition) Reconcile(ctx context.Context) (err error)
Reconcile. Achieve initial consistency.
func (*NetworkAttachmentDefinition) Update ¶
func (r *NetworkAttachmentDefinition) Update(e event.UpdateEvent) bool
Resource updated watch event.
type StorageClass ¶
type StorageClass struct { libocp.BaseCollection // contains filtered or unexported fields }
StorageClass
func (*StorageClass) Create ¶
func (r *StorageClass) Create(e event.CreateEvent) bool
Resource created watch event.
func (*StorageClass) Delete ¶
func (r *StorageClass) Delete(e event.DeleteEvent) bool
Resource deleted watch event.
func (*StorageClass) Object ¶
func (r *StorageClass) Object() runtime.Object
Get the kubernetes object being collected.
func (*StorageClass) Reconcile ¶
func (r *StorageClass) Reconcile(ctx context.Context) (err error)
Reconcile. Achieve initial consistency.
func (*StorageClass) Update ¶
func (r *StorageClass) Update(e event.UpdateEvent) bool
Resource updated watch event.
Click to show internal directories.
Click to hide internal directories.