phonehome

package
v0.0.0-...-c55d01b Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterUUID

func ClusterUUID(reg hzclient.ClientRegistry, hzName, hzNamespace string) (string, bool)

func PhoneHome

func PhoneHome(cl client.Client, opInfo *OperatorInfo)

func Start

func Start(cl client.Client, opInfo *OperatorInfo)

Types

type AdvancedNetwork

type AdvancedNetwork struct {
	WANEndpointCount int `json:"wec"`
}

type BackupAndRestore

type BackupAndRestore struct {
	LocalBackupCount    int `json:"lb"`
	ExternalBackupCount int `json:"eb"`
	PvcCount            int `json:"pvc"`
	HostPathCount       int `json:"hpc"`
	RestoreEnabledCount int `json:"re"`
	GoogleStorage       int `json:"gs"`
	S3                  int `json:"s3"`
	AzureBlobStorage    int `json:"abs"`
}

type CPSubsystem

type CPSubsystem struct {
	Count int `json:"c"`
}

type Cache

type Cache struct {
	Count             int `json:"c"`
	PersistenceCount  int `json:"pc"`
	NativeMemoryCount int `json:"nmc"`
}

type ExposeExternally

type ExposeExternally struct {
	Unisocket                int `json:"u"`
	Smart                    int `json:"s"`
	DiscoveryLoadBalancer    int `json:"dlb"`
	DiscoveryNodePort        int `json:"dnp"`
	MemberNodePortExternalIP int `json:"mnpei"`
	MemberNodePortNodeName   int `json:"mnpnn"`
	MemberLoadBalancer       int `json:"mlb"`
}

type JVMConfigUsage

type JVMConfigUsage struct {
	Count           int             `json:"c"`
	AdvancedNetwork AdvancedNetwork `json:"an"`
}

type Jet

type Jet struct {
	Count int `json:"c"`
}

type JetEngine

type JetEngine struct {
	EnabledCount    int `json:"ec"`
	LosslessRestart int `json:"lr"`
}

type Map

type Map struct {
	Count             int `json:"c"`
	PersistenceCount  int `json:"pc"`
	MapStoreCount     int `json:"msc"`
	NativeMemoryCount int `json:"nmc"`
	NearCacheCount    int `json:"ncc"`
}

type McExternalConnectivity

type McExternalConnectivity struct {
	ServiceTypeClusterIP    int `json:"stci"`
	ServiceTypeNodePort     int `json:"stnp"`
	ServiceTypeLoadBalancer int `json:"stlb"`
	IngressEnabledCount     int `json:"iec"`
	RouteEnabledCount       int `json:"rec"`
}

type OperatorInfo

type OperatorInfo struct {
	UID                  types.UID
	PardotID             string
	Version              string
	CreatedAt            time.Time
	K8sDistribution      string
	K8sVersion           string
	Trigger              chan struct{}
	ClientRegistry       hzclient.ClientRegistry
	WatchedNamespaceType util.WatchedNsType
}

type PhoneHomeData

type PhoneHomeData struct {
	OperatorID                    types.UID              `json:"oid"`
	PardotID                      string                 `json:"p"`
	Version                       string                 `json:"v"`
	Uptime                        int64                  `json:"u"` // In milliseconds
	K8sDistribution               string                 `json:"kd"`
	K8sVersion                    string                 `json:"kv"`
	WatchedNamespaceType          util.WatchedNsType     `json:"wnt"`
	CreatedClusterCount           int                    `json:"ccc"`
	CreatedEnterpriseClusterCount int                    `json:"cecc"`
	CreatedMCcount                int                    `json:"cmcc"`
	CreatedMemberCount            int                    `json:"cmc"`
	ClusterUUIDs                  []string               `json:"cuids"`
	ExposeExternally              ExposeExternally       `json:"xe"`
	Map                           Map                    `json:"m"`
	Cache                         Cache                  `json:"c"`
	Jet                           Jet                    `json:"jet"`
	WanReplicationCount           int                    `json:"wrc"`
	WanSyncCount                  int                    `json:"wsc"`
	BackupAndRestore              BackupAndRestore       `json:"br"`
	UserCodeDeployment            UserCodeDeployment     `json:"ucd"`
	McExternalConnectivity        McExternalConnectivity `json:"mcec"`
	ExecutorServiceCount          int                    `json:"esc"`
	MultiMapCount                 int                    `json:"mmc"`
	ReplicatedMapCount            int                    `json:"rmc"`
	CronHotBackupCount            int                    `json:"chbc"`
	TopicCount                    int                    `json:"tc"`
	HighAvailabilityMode          []string               `json:"ha"`
	Resources                     []Resources            `json:"res"`
	NativeMemoryCount             int                    `json:"nmc"`
	JVMConfigUsage                JVMConfigUsage         `json:"jcu"`
	AdvancedNetwork               AdvancedNetwork        `json:"an"`
	JetEngine                     JetEngine              `json:"je"`
	TLS                           TLS                    `json:"t"`
	SerializationCount            int                    `json:"serc"`
	CustomConfigCount             int                    `json:"ccon"`
	JetJobSnapshotCount           int                    `json:"jjsc"`
	SQLCount                      int                    `json:"sc"`
	TieredStorage                 TieredStorage          `json:"ts"`
	CPSubsystem                   CPSubsystem            `json:"cp"`
}

type Resources

type Resources struct {
	LimitMemory int64 `json:"lmem"`
	LimitCPU    int64 `json:"lcpu"`
}

type TLS

type TLS struct {
	Count     int `json:"c"`
	MTLSCount int `json:"mc"`
}

type TieredStorage

type TieredStorage struct {
	MapCount int `json:"mc"`
}

type UserCodeDeployment

type UserCodeDeployment struct {
	ClientEnabled int `json:"ce"`
	FromBucket    int `json:"fb"`
	FromConfigMap int `json:"fcm"`
	FromURL       int `json:"fu"`
}

Jump to

Keyboard shortcuts

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