v1alpha1

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomizerClusterLister

func NewCustomizerClusterLister(indexer cache.Indexer) *customizerClusterLister

NewCustomizerClusterLister returns a new CustomizerClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewCustomizerLister

func NewCustomizerLister(indexer cache.Indexer) *customizerScopedLister

NewCustomizerLister returns a new CustomizerLister. We assume that the indexer: - is fed by a workspace-scoped LIST+WATCH - uses cache.MetaNamespaceKeyFunc as the key function - has the cache.NamespaceIndex as an index

func NewEdgePlacementClusterLister

func NewEdgePlacementClusterLister(indexer cache.Indexer) *edgePlacementClusterLister

NewEdgePlacementClusterLister returns a new EdgePlacementClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewEdgePlacementLister

func NewEdgePlacementLister(indexer cache.Indexer) *edgePlacementScopedLister

NewEdgePlacementLister returns a new EdgePlacementLister. We assume that the indexer: - is fed by a workspace-scoped LIST+WATCH - uses cache.MetaNamespaceKeyFunc as the key function

func NewEdgeSyncConfigClusterLister

func NewEdgeSyncConfigClusterLister(indexer cache.Indexer) *edgeSyncConfigClusterLister

NewEdgeSyncConfigClusterLister returns a new EdgeSyncConfigClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewEdgeSyncConfigLister

func NewEdgeSyncConfigLister(indexer cache.Indexer) *edgeSyncConfigScopedLister

NewEdgeSyncConfigLister returns a new EdgeSyncConfigLister. We assume that the indexer: - is fed by a workspace-scoped LIST+WATCH - uses cache.MetaNamespaceKeyFunc as the key function

func NewSinglePlacementSliceClusterLister

func NewSinglePlacementSliceClusterLister(indexer cache.Indexer) *singlePlacementSliceClusterLister

NewSinglePlacementSliceClusterLister returns a new SinglePlacementSliceClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewSinglePlacementSliceLister

func NewSinglePlacementSliceLister(indexer cache.Indexer) *singlePlacementSliceScopedLister

NewSinglePlacementSliceLister returns a new SinglePlacementSliceLister. We assume that the indexer: - is fed by a workspace-scoped LIST+WATCH - uses cache.MetaNamespaceKeyFunc as the key function

func NewSyncerConfigClusterLister

func NewSyncerConfigClusterLister(indexer cache.Indexer) *syncerConfigClusterLister

NewSyncerConfigClusterLister returns a new SyncerConfigClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewSyncerConfigLister

func NewSyncerConfigLister(indexer cache.Indexer) *syncerConfigScopedLister

NewSyncerConfigLister returns a new SyncerConfigLister. We assume that the indexer: - is fed by a workspace-scoped LIST+WATCH - uses cache.MetaNamespaceKeyFunc as the key function

Types

type CustomizerClusterLister

type CustomizerClusterLister interface {
	// List lists all Customizers in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.Customizer, err error)
	// Cluster returns a lister that can list and get Customizers in one workspace.
	Cluster(clusterName logicalcluster.Name) CustomizerLister
	CustomizerClusterListerExpansion
}

CustomizerClusterLister can list Customizers across all workspaces, or scope down to a CustomizerLister for one workspace. All objects returned here must be treated as read-only.

type CustomizerClusterListerExpansion

type CustomizerClusterListerExpansion interface{}

CustomizerClusterListerExpansion allows custom methods to be added to CustomizerClusterLister.

type CustomizerLister

type CustomizerLister interface {
	// List lists all Customizers in the workspace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.Customizer, err error)
	// Customizers returns a lister that can list and get Customizers in one workspace and namespace.
	Customizers(namespace string) CustomizerNamespaceLister
	CustomizerListerExpansion
}

CustomizerLister can list Customizers across all namespaces, or scope down to a CustomizerNamespaceLister for one namespace. All objects returned here must be treated as read-only.

type CustomizerListerExpansion

type CustomizerListerExpansion interface{}

CustomizerListerExpansion allows custom methods to be added to CustomizerLister.

type CustomizerNamespaceLister

type CustomizerNamespaceLister interface {
	// List lists all Customizers in the workspace and namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.Customizer, err error)
	// Get retrieves the Customizer from the indexer for a given workspace, namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*edgev1alpha1.Customizer, error)
	CustomizerNamespaceListerExpansion
}

customizerNamespaceLister helps list and get Customizers. All objects returned here must be treated as read-only.

type CustomizerNamespaceListerExpansion

type CustomizerNamespaceListerExpansion interface{}

CustomizerNamespaceListerExpansion allows custom methods to be added to CustomizerNamespaceLister.

type EdgePlacementClusterLister

type EdgePlacementClusterLister interface {
	// List lists all EdgePlacements in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.EdgePlacement, err error)
	// Cluster returns a lister that can list and get EdgePlacements in one workspace.
	Cluster(clusterName logicalcluster.Name) EdgePlacementLister
	EdgePlacementClusterListerExpansion
}

EdgePlacementClusterLister can list EdgePlacements across all workspaces, or scope down to a EdgePlacementLister for one workspace. All objects returned here must be treated as read-only.

type EdgePlacementClusterListerExpansion

type EdgePlacementClusterListerExpansion interface{}

EdgePlacementClusterListerExpansion allows custom methods to be added to EdgePlacementClusterLister.

type EdgePlacementLister

type EdgePlacementLister interface {
	// List lists all EdgePlacements in the workspace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.EdgePlacement, err error)
	// Get retrieves the EdgePlacement from the indexer for a given workspace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*edgev1alpha1.EdgePlacement, error)
	EdgePlacementListerExpansion
}

EdgePlacementLister can list all EdgePlacements, or get one in particular. All objects returned here must be treated as read-only.

type EdgePlacementListerExpansion

type EdgePlacementListerExpansion interface{}

EdgePlacementListerExpansion allows custom methods to be added to EdgePlacementLister.

type EdgeSyncConfigClusterLister

type EdgeSyncConfigClusterLister interface {
	// List lists all EdgeSyncConfigs in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.EdgeSyncConfig, err error)
	// Cluster returns a lister that can list and get EdgeSyncConfigs in one workspace.
	Cluster(clusterName logicalcluster.Name) EdgeSyncConfigLister
	EdgeSyncConfigClusterListerExpansion
}

EdgeSyncConfigClusterLister can list EdgeSyncConfigs across all workspaces, or scope down to a EdgeSyncConfigLister for one workspace. All objects returned here must be treated as read-only.

type EdgeSyncConfigClusterListerExpansion

type EdgeSyncConfigClusterListerExpansion interface{}

EdgeSyncConfigClusterListerExpansion allows custom methods to be added to EdgeSyncConfigClusterLister.

type EdgeSyncConfigLister

type EdgeSyncConfigLister interface {
	// List lists all EdgeSyncConfigs in the workspace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.EdgeSyncConfig, err error)
	// Get retrieves the EdgeSyncConfig from the indexer for a given workspace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*edgev1alpha1.EdgeSyncConfig, error)
	EdgeSyncConfigListerExpansion
}

EdgeSyncConfigLister can list all EdgeSyncConfigs, or get one in particular. All objects returned here must be treated as read-only.

type EdgeSyncConfigListerExpansion

type EdgeSyncConfigListerExpansion interface{}

EdgeSyncConfigListerExpansion allows custom methods to be added to EdgeSyncConfigLister.

type SinglePlacementSliceClusterLister

type SinglePlacementSliceClusterLister interface {
	// List lists all SinglePlacementSlices in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.SinglePlacementSlice, err error)
	// Cluster returns a lister that can list and get SinglePlacementSlices in one workspace.
	Cluster(clusterName logicalcluster.Name) SinglePlacementSliceLister
	SinglePlacementSliceClusterListerExpansion
}

SinglePlacementSliceClusterLister can list SinglePlacementSlices across all workspaces, or scope down to a SinglePlacementSliceLister for one workspace. All objects returned here must be treated as read-only.

type SinglePlacementSliceClusterListerExpansion

type SinglePlacementSliceClusterListerExpansion interface{}

SinglePlacementSliceClusterListerExpansion allows custom methods to be added to SinglePlacementSliceClusterLister.

type SinglePlacementSliceLister

type SinglePlacementSliceLister interface {
	// List lists all SinglePlacementSlices in the workspace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.SinglePlacementSlice, err error)
	// Get retrieves the SinglePlacementSlice from the indexer for a given workspace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*edgev1alpha1.SinglePlacementSlice, error)
	SinglePlacementSliceListerExpansion
}

SinglePlacementSliceLister can list all SinglePlacementSlices, or get one in particular. All objects returned here must be treated as read-only.

type SinglePlacementSliceListerExpansion

type SinglePlacementSliceListerExpansion interface{}

SinglePlacementSliceListerExpansion allows custom methods to be added to SinglePlacementSliceLister.

type SyncerConfigClusterLister

type SyncerConfigClusterLister interface {
	// List lists all SyncerConfigs in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.SyncerConfig, err error)
	// Cluster returns a lister that can list and get SyncerConfigs in one workspace.
	Cluster(clusterName logicalcluster.Name) SyncerConfigLister
	SyncerConfigClusterListerExpansion
}

SyncerConfigClusterLister can list SyncerConfigs across all workspaces, or scope down to a SyncerConfigLister for one workspace. All objects returned here must be treated as read-only.

type SyncerConfigClusterListerExpansion

type SyncerConfigClusterListerExpansion interface{}

SyncerConfigClusterListerExpansion allows custom methods to be added to SyncerConfigClusterLister.

type SyncerConfigLister

type SyncerConfigLister interface {
	// List lists all SyncerConfigs in the workspace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*edgev1alpha1.SyncerConfig, err error)
	// Get retrieves the SyncerConfig from the indexer for a given workspace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*edgev1alpha1.SyncerConfig, error)
	SyncerConfigListerExpansion
}

SyncerConfigLister can list all SyncerConfigs, or get one in particular. All objects returned here must be treated as read-only.

type SyncerConfigListerExpansion

type SyncerConfigListerExpansion interface{}

SyncerConfigListerExpansion allows custom methods to be added to SyncerConfigLister.

Jump to

Keyboard shortcuts

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