ocp

package
v0.0.0-...-e73b65a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db libmodel.DB, provider *api.Provider, secret *core.Secret) libcontainer.Collector

New collector.

Types

type Collector

type Collector struct {
	*libocp.Collector
}

OCP collector.

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.

func (*Namespace) Generic

func (r *Namespace) Generic(e event.GenericEvent) bool

Ignored.

func (*Namespace) Object

func (r *Namespace) Object() runtime.Object

Get the kubernetes object being collected.

func (*Namespace) Reconcile

func (r *Namespace) Reconcile(ctx context.Context) (err error)

Reconcile. Achieve initial consistency.

func (*Namespace) Update

func (r *Namespace) Update(e event.UpdateEvent) bool

Resource updated watch event.

type NetworkAttachmentDefinition

type NetworkAttachmentDefinition struct {
	libocp.BaseCollection
	// contains filtered or unexported fields
}

NetworkAttachmentDefinition

func (*NetworkAttachmentDefinition) Create

Resource created watch event.

func (*NetworkAttachmentDefinition) Delete

Resource deleted watch event.

func (*NetworkAttachmentDefinition) Generic

Ignored.

func (*NetworkAttachmentDefinition) 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

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) Generic

func (r *StorageClass) Generic(e event.GenericEvent) bool

Ignored.

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.

type VM

type VM struct {
	libocp.BaseCollection
	// contains filtered or unexported fields
}

VM

func (*VM) Create

func (r *VM) Create(e event.CreateEvent) bool

Resource created watch event.

func (*VM) Delete

func (r *VM) Delete(e event.DeleteEvent) bool

Resource deleted watch event.

func (*VM) Generic

func (r *VM) Generic(e event.GenericEvent) bool

Ignored.

func (*VM) Object

func (r *VM) Object() runtime.Object

Get the kubernetes object being collected.

func (*VM) Reconcile

func (r *VM) Reconcile(ctx context.Context) (err error)

Reconcile. Achieve initial consistency.

func (*VM) Update

func (r *VM) Update(e event.UpdateEvent) bool

Resource updated watch event.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL