cache

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDomain

func NewDomain(dom kubevirt.VirDomain) (*kubevirt.Domain, error)

func NewDomainCache

func NewDomainCache(c kubevirt.Connection) (cache.SharedInformer, error)

func NewDomainSpec

func NewDomainSpec(dom kubevirt.VirDomain) (*kubevirt.DomainSpec, error)

func NewDomainWatcher

func NewDomainWatcher(c kubevirt.Connection, events ...int) (watch.Interface, error)

func NewListWatchFromClient

func NewListWatchFromClient(c kubevirt.Connection, events ...int) *cache.ListWatch

NewListWatchFromClient creates a new ListWatch from the specified client, resource, namespace and field selector.

Types

type DomainWatcher

type DomainWatcher struct {
	C chan watch.Event
}

func (*DomainWatcher) ResultChan

func (d *DomainWatcher) ResultChan() <-chan watch.Event

func (*DomainWatcher) Stop

func (d *DomainWatcher) Stop()

Jump to

Keyboard shortcuts

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