v1beta1

package
v0.2.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChainInformer

func NewChainInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewChainInformer constructs a new informer for Chain type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewChargeRequestInformer

func NewChargeRequestInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewChargeRequestInformer constructs a new informer for ChargeRequest type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredChainInformer

func NewFilteredChainInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredChainInformer constructs a new informer for Chain type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredChargeRequestInformer

func NewFilteredChargeRequestInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredChargeRequestInformer constructs a new informer for ChargeRequest type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredMinerInformer

func NewFilteredMinerInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredMinerInformer constructs a new informer for Miner type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredMinerSetInformer

func NewFilteredMinerSetInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredMinerSetInformer constructs a new informer for MinerSet type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewMinerInformer

func NewMinerInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewMinerInformer constructs a new informer for Miner type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewMinerSetInformer

func NewMinerSetInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewMinerSetInformer constructs a new informer for MinerSet type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

Types

type ChainInformer

type ChainInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.ChainLister
}

ChainInformer provides access to a shared informer and lister for Chains.

type ChargeRequestInformer

type ChargeRequestInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.ChargeRequestLister
}

ChargeRequestInformer provides access to a shared informer and lister for ChargeRequests.

type Interface

type Interface interface {
	// Chains returns a ChainInformer.
	Chains() ChainInformer
	// ChargeRequests returns a ChargeRequestInformer.
	ChargeRequests() ChargeRequestInformer
	// Miners returns a MinerInformer.
	Miners() MinerInformer
	// MinerSets returns a MinerSetInformer.
	MinerSets() MinerSetInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type MinerInformer

type MinerInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.MinerLister
}

MinerInformer provides access to a shared informer and lister for Miners.

type MinerSetInformer

type MinerSetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.MinerSetLister
}

MinerSetInformer provides access to a shared informer and lister for MinerSets.

Jump to

Keyboard shortcuts

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