Documentation ¶
Index ¶
- Constants
- func AddClusterHardToUsed(used *v1.ClusterUsed, delta v1.ClusterHard)
- func FilterChartGroup(ctx context.Context, chartGroup *business.ChartGroup) error
- func FilterImageNamespace(ctx context.Context, imageNamespace *business.ImageNamespace) error
- func FilterNamespace(ctx context.Context, namespace *business.Namespace) error
- func FilterPlatform(ctx context.Context, platform *business.Platform) error
- func FilterProject(ctx context.Context, project *business.Project) error
- func SubClusterHardFromUsed(used *v1.ClusterUsed, needed v1.ClusterHard)
Constants ¶
View Source
const ( // LabelProjectName is the label name for project LabelProjectName = "tkestack.io/projectName" // LabelNamespaceName is the label name for namespace LabelNamespaceName = "tkestack.io/namespaceName" )
Variables ¶
This section is empty.
Functions ¶
func AddClusterHardToUsed ¶
func AddClusterHardToUsed(used *v1.ClusterUsed, delta v1.ClusterHard)
AddClusterHardToUsed is used to add Hard to Used
func FilterChartGroup ¶
func FilterChartGroup(ctx context.Context, chartGroup *business.ChartGroup) error
FilterChartGroup is used to filter chartGroups that do not belong to the tenant.
func FilterImageNamespace ¶
func FilterImageNamespace(ctx context.Context, imageNamespace *business.ImageNamespace) error
FilterImageNamespace is used to filter imageNamespaces that do not belong to the tenant.
func FilterNamespace ¶
FilterNamespace is used to filter namespaces that do not belong to the tenant.
func FilterPlatform ¶
FilterPlatform is used to filter platforms that do not belong to the tenant.
func FilterProject ¶
FilterProject is used to filter projects that do not belong to the tenant.
func SubClusterHardFromUsed ¶
func SubClusterHardFromUsed(used *v1.ClusterUsed, needed v1.ClusterHard)
SubClusterHardFromUsed is used to sub Hard from Used
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.