appsubsummary

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 18 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 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) 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