listener

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	// contains filtered or unexported fields
}

func NewAsset

func NewAsset(channel chan<- gqlschema.AssetEvent, filter func(entity *v1alpha2.Asset) bool, converter gqlAssetConverter) *Asset

func (*Asset) OnAdd

func (l *Asset) OnAdd(object interface{})

func (*Asset) OnDelete

func (l *Asset) OnDelete(object interface{})

func (*Asset) OnUpdate

func (l *Asset) OnUpdate(oldObject, newObject interface{})

type ClusterAsset

type ClusterAsset struct {
	// contains filtered or unexported fields
}

func NewClusterAsset

func NewClusterAsset(channel chan<- gqlschema.ClusterAssetEvent, filter func(entity *v1alpha2.ClusterAsset) bool, converter gqlClusterAssetConverter) *ClusterAsset

func (*ClusterAsset) OnAdd

func (l *ClusterAsset) OnAdd(object interface{})

func (*ClusterAsset) OnDelete

func (l *ClusterAsset) OnDelete(object interface{})

func (*ClusterAsset) OnUpdate

func (l *ClusterAsset) OnUpdate(oldObject, newObject interface{})

Directories

Path Synopsis
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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