Documentation ¶
Index ¶
- func Add(mgr manager.Manager, interval int) error
- func PrintMemUsage(title string)
- type AppSubClusterStatus
- type AppSubClusterStatusSorter
- type AppSubClustersStatus
- type ClusterSorter
- type ReconcileAppSubSummary
- func (r *ReconcileAppSubSummary) RefreshManagedClusterViews(appSubClusterStatusMap map[string]AppSubClustersStatus)
- func (r *ReconcileAppSubSummary) Start(ctx context.Context) error
- func (r *ReconcileAppSubSummary) UpdateAppSubMapsPerCluster(appsubReportPerCluster appsubReportV1alpha1.SubscriptionReport, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintMemUsage ¶
func PrintMemUsage(title string)
Types ¶
type AppSubClusterStatus ¶
type AppSubClusterStatusSorter ¶ added in v0.7.0
type AppSubClusterStatusSorter []AppSubClusterStatus
AppSubClusterStatus sorts AppSubClusterStatus by Cluster name.
func (AppSubClusterStatusSorter) Len ¶ added in v0.7.0
func (a AppSubClusterStatusSorter) Len() int
func (AppSubClusterStatusSorter) Less ¶ added in v0.7.0
func (a AppSubClusterStatusSorter) Less(i, j int) bool
func (AppSubClusterStatusSorter) Swap ¶ added in v0.7.0
func (a AppSubClusterStatusSorter) Swap(i, j int)
type AppSubClustersStatus ¶
type AppSubClustersStatus struct { Clusters []AppSubClusterStatus Deployed int Failed int PropagationFailed int }
appsub cluster statuses per appsub.
type ClusterSorter ¶
type ClusterSorter []*appsubReportV1alpha1.SubscriptionReportResult
ClusterSorter sorts appsubreport results by source name.
func (ClusterSorter) Len ¶
func (a ClusterSorter) Len() int
func (ClusterSorter) Less ¶
func (a ClusterSorter) Less(i, j int) bool
func (ClusterSorter) Swap ¶
func (a ClusterSorter) Swap(i, j int)
type ReconcileAppSubSummary ¶
ReconcileAppSubStatus reconciles a AppSubStatus object.
func (*ReconcileAppSubSummary) RefreshManagedClusterViews ¶ added in v0.7.0
func (r *ReconcileAppSubSummary) RefreshManagedClusterViews( appSubClusterStatusMap map[string]AppSubClustersStatus)
func (*ReconcileAppSubSummary) Start ¶
func (r *ReconcileAppSubSummary) Start(ctx context.Context) error
func (*ReconcileAppSubSummary) UpdateAppSubMapsPerCluster ¶
func (r *ReconcileAppSubSummary) UpdateAppSubMapsPerCluster(appsubReportPerCluster appsubReportV1alpha1.SubscriptionReport, appSubClusterStatusMap map[string]AppSubClustersStatus)
Click to show internal directories.
Click to hide internal directories.