appsubsummary

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, interval int) error

func PrintMemUsage

func PrintMemUsage(title string)

Types

type AppSubClusterStatus

type AppSubClusterStatus struct {
	Cluster string
	Phase   string
}

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 (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

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

type ReconcileAppSubSummary struct {
	client.Client
	Interval int
}

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 (*ReconcileAppSubSummary) UpdateAppSubMapsPerCluster

func (r *ReconcileAppSubSummary) UpdateAppSubMapsPerCluster(appsubReportPerCluster appsubReportV1alpha1.SubscriptionReport,
	appSubClusterStatusMap map[string]AppSubClustersStatus)

Jump to

Keyboard shortcuts

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