state

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterState

type ClusterState struct {
	Name  string `json:"name"`
	Phase string `json:"phase"`

	ImageHub string `json:"imageHub,omitempty"`

	Registry string `json:"registry,omitempty"`
	Network  string `json:"network,omitempty"` // network id

	ControlPlaneLB  string `json:"controlPlaneLB,omitempty"`
	MultiInnerLB    string `json:"multiInnerLB,omitempty"`
	KubeLB          string `json:"kubeLB,omitempty"`          // kube-mesh LB IP
	MetaTelemetryLB string `json:"metaTelemetryLB,omitempty"` // todo rename to VPCLB
	MetaProxyHost   string `json:"metaProxyHost,omitempty"`   // TODO: refactor name
	MetaProxyEniLB  string `json:"metaProxyEniLB,omitempty"`
	KubeIP          string `json:"kubeIP,omitempty"`   // endpoint ip of svc kubernetes, like 169.X.X.X
	KubePort        int32  `json:"kubePort,omitempty"` // endpoint port of svc kubernetes

	TracingReportAddress string `json:"tracing_report_address,omitempty"`

	MornitorReportAddress string `json:"mornitor_report_address,omitempty"`

	// sensitive information
	Token        string `json:"token"`
	CaCert       string `json:"cacert"`
	CaKey        string `json:"cakey"`
	CertChain    string `json:"certchain"`
	TkeClusterCA string `json:"-"`
}

type MeshState

type MeshState struct {
	Clusters []*ClusterState `json:"clusters"`

	IstiodMetaLB  string `json:"istiod_meta_lb,omitempty"`
	APIServerLB   string `json:"api_server_lb,omitempty"`
	APIServerIP   string `json:"api_server_ip,omitempty"`
	APIServerPort int    `json:"api_server_port,omitempty"`

	// CA
	RootCert string `json:"rootcert"`
	RootKey  string `json:"rootkey"`
}

Jump to

Keyboard shortcuts

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