v1alpha1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorkspaceClusterLister added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

type WorkspaceTypeClusterListerExpansion interface{}

WorkspaceTypeClusterListerExpansion allows custom methods to be added to WorkspaceTypeClusterLister.

type WorkspaceTypeLister added in v0.11.0

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 added in v0.11.0

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