managerfactory

package
v3.4.8 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterClientAccess

type ClusterClientAccess interface {
	Config(ctx context.Context) (*rest.Config, error)
	// FIXME(ThomasK33): This is a workaround for the direct connection issue for the
	// remote workload vcluster pro feature. This function should be removed as
	// soon as remote control plane feature is refactored.
	ConfigSkippingDirectConnection(ctx context.Context) (*rest.Config, error)
	UncachedClient(ctx context.Context) (client.Client, error)
}

ClusterClientAccess holds the functions for cluster access

type ManagementClientAccess

type ManagementClientAccess interface {
	Config() *rest.Config
	UncachedClient() client.Client
	CachedClient() client.Client
	Cache() cache.Cache
}

ManagementClientAccess holds the functions for management access

type SharedManagerFactory

type SharedManagerFactory interface {
	Cluster(cluster string) ClusterClientAccess
	Management() ManagementClientAccess
}

SharedManagerFactory is the interface for retrieving managers

Jump to

Keyboard shortcuts

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