Documentation
¶
Index ¶
- func ClusterFromContext(ctx context.Context) logicalcluster.Name
- func WithClusterName(ctx context.Context, cluster logicalcluster.Name) context.Context
- func WithWorkspacePath(ctx context.Context, path logicalcluster.Path) context.Context
- func WorkspacePathFromContext(ctx context.Context) logicalcluster.Path
- type ManifestsSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterFromContext ¶
func ClusterFromContext(ctx context.Context) logicalcluster.Name
func WithClusterName ¶
func WithWorkspacePath ¶
func WorkspacePathFromContext ¶
func WorkspacePathFromContext(ctx context.Context) logicalcluster.Path
Types ¶
type ManifestsSource ¶
type ManifestsSource interface {
Manifests(cluster *kcpcorev1alpha1.LogicalCluster) ([]*unstructured.Unstructured, error)
}
Click to show internal directories.
Click to hide internal directories.