v1alpha1

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorkspaceClusterLister

func NewWorkspaceClusterLister(indexer cache.Indexer) *workspaceClusterLister

NewWorkspaceClusterLister returns a new WorkspaceClusterLister. 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 NewWorkspaceLister

func NewWorkspaceLister(indexer cache.Indexer) *workspaceScopedLister

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

func NewWorkspaceTypeClusterLister

func NewWorkspaceTypeClusterLister(indexer cache.Indexer) *workspaceTypeClusterLister

NewWorkspaceTypeClusterLister returns a new WorkspaceTypeClusterLister. 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 NewWorkspaceTypeLister

func NewWorkspaceTypeLister(indexer cache.Indexer) *workspaceTypeScopedLister

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

Types

type WorkspaceClusterLister

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

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

type WorkspaceClusterListerExpansion

type WorkspaceClusterListerExpansion interface{}

WorkspaceClusterListerExpansion allows custom methods to be added to WorkspaceClusterLister.

type WorkspaceLister

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

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

type WorkspaceListerExpansion

type WorkspaceListerExpansion interface{}

WorkspaceListerExpansion allows custom methods to be added to WorkspaceLister.

type WorkspaceTypeClusterLister

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

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

type WorkspaceTypeClusterListerExpansion

type WorkspaceTypeClusterListerExpansion interface{}

WorkspaceTypeClusterListerExpansion allows custom methods to be added to WorkspaceTypeClusterLister.

type WorkspaceTypeLister

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

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

type WorkspaceTypeListerExpansion

type WorkspaceTypeListerExpansion interface{}

WorkspaceTypeListerExpansion allows custom methods to be added to WorkspaceTypeLister.

Jump to

Keyboard shortcuts

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